FreeBSD Bugzilla – Attachment 147282 Details for
Bug 193615
[maintainer] update port: www/libevhtp 8.4-RELEASE breakage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
final patch file looks like this
file_193615.txt (text/plain), 817 bytes, created by
Jingfeng Yan
on 2014-09-13 18:27:49 UTC
(
hide
)
Description:
final patch file looks like this
Filename:
MIME Type:
Creator:
Jingfeng Yan
Created:
2014-09-13 18:27:49 UTC
Size:
817 bytes
patch
obsolete
>--- evhtp.c.orig 2014-03-23 11:50:50.000000000 +0000 >+++ evhtp.c 2014-09-13 12:37:11.000000000 +0000 >@@ -7,6 +7,7 @@ > #include <strings.h> > #include <inttypes.h> > #ifndef WIN32 >+#include <sys/types.h> > #include <sys/socket.h> > #include <netinet/in.h> > #include <netinet/tcp.h> >@@ -2740,7 +2741,14 @@ > > sock = evconnlistener_get_fd(htp->server); > >+#ifdef TCP_DEFER_ACCEPT > setsockopt(sock, IPPROTO_TCP, TCP_DEFER_ACCEPT, &one, (ev_socklen_t)sizeof(one)); >+#elif SO_ACCEPTFILTER >+ struct accept_filter_arg afa; >+ bzero(&afa, sizeof(afa)); >+ strcpy(afa.af_name, "httpready"); >+ setsockopt(sock, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); >+#endif > setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &one, (ev_socklen_t)sizeof(one)); > } > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 193615
:
147279
|
147281
| 147282 |
147283
|
147816