alfred
dcf66cb4e2
add socketoptions DELAYACCEPT and HTTPACCEPT which will not allow an accept()
...
until the incoming connection has either data waiting or what looks like a
HTTP request header already in the socketbuffer. This ought to reduce
the context switch time and overhead for processing requests.
The initial idea and code for HTTPACCEPT came from Yahoo engineers and has
been cleaned up and a more lightweight DELAYACCEPT for non-http servers
has been added
Reviewed by: silence on hackers.
2000-06-15 18:18:43 +00:00
..
2000-04-08 14:17:18 +00:00
2000-04-08 14:17:18 +00:00
2000-06-02 09:27:48 +00:00
2000-04-19 14:58:28 +00:00
2000-04-30 18:52:11 +00:00
1999-10-29 18:09:36 +00:00
2000-04-26 20:58:40 +00:00
1999-12-29 05:07:58 +00:00
2000-02-25 11:43:08 +00:00
2000-05-09 21:52:02 +00:00
2000-04-30 18:52:11 +00:00
2000-04-30 18:52:11 +00:00
2000-06-07 04:53:49 +00:00
2000-04-19 14:58:28 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
1999-11-24 01:03:08 +00:00
2000-06-10 01:51:18 +00:00
2000-04-30 18:52:11 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
1999-10-11 15:19:12 +00:00
2000-06-04 04:28:31 +00:00
2000-01-10 08:00:58 +00:00
2000-04-30 18:52:11 +00:00
2000-05-26 02:09:24 +00:00
2000-03-16 08:51:55 +00:00
1999-11-16 16:28:58 +00:00
2000-06-14 18:31:42 +00:00
2000-06-07 18:54:41 +00:00
2000-05-26 02:09:24 +00:00
2000-03-20 14:09:06 +00:00
2000-05-05 09:59:14 +00:00
2000-05-26 02:09:24 +00:00
2000-06-05 18:30:55 +00:00
2000-05-22 17:09:13 +00:00
2000-06-10 19:21:20 +00:00
2000-05-05 09:59:14 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
2000-03-28 07:16:37 +00:00
2000-05-26 02:09:24 +00:00
1999-10-11 15:19:12 +00:00
2000-05-26 02:09:24 +00:00
2000-03-20 14:09:06 +00:00
1999-08-28 01:08:13 +00:00
2000-04-18 15:15:39 +00:00
1999-08-30 21:17:07 +00:00
1999-08-28 01:08:13 +00:00
2000-04-29 15:36:14 +00:00
2000-04-30 18:52:11 +00:00
2000-04-30 18:52:11 +00:00
2000-04-30 18:52:11 +00:00
2000-04-29 13:19:31 +00:00
2000-01-27 01:22:06 +00:00
1999-11-22 14:40:04 +00:00
1999-11-14 13:54:44 +00:00
2000-04-08 14:17:18 +00:00
2000-05-09 21:18:30 +00:00
1999-12-29 05:07:58 +00:00
2000-05-01 20:32:07 +00:00
2000-04-22 15:13:06 +00:00
2000-04-30 18:52:11 +00:00
2000-05-26 02:09:24 +00:00
2000-03-16 08:51:55 +00:00
2000-06-15 09:57:20 +00:00
1999-08-28 01:08:13 +00:00
2000-05-26 02:09:24 +00:00
2000-05-05 09:59:14 +00:00
2000-05-05 09:59:14 +00:00
2000-05-05 09:59:14 +00:00
2000-05-05 09:59:14 +00:00
2000-05-26 02:09:24 +00:00
2000-05-01 10:45:15 +00:00
1999-09-25 18:24:47 +00:00
1999-10-11 15:19:12 +00:00
2000-05-01 13:33:56 +00:00
2000-04-29 11:32:15 +00:00
2000-03-28 07:16:37 +00:00
2000-05-03 00:20:36 +00:00
1999-11-24 01:03:08 +00:00
2000-05-31 21:37:28 +00:00
2000-05-28 15:45:30 +00:00
2000-03-28 07:16:37 +00:00
1999-09-25 18:24:47 +00:00
2000-06-12 18:06:12 +00:00
2000-05-26 02:09:24 +00:00
1999-11-21 19:03:20 +00:00
2000-05-11 22:08:57 +00:00
2000-05-09 08:35:51 +00:00
2000-05-09 08:31:06 +00:00
2000-05-01 11:13:41 +00:00
2000-05-01 13:33:56 +00:00
2000-05-01 13:33:56 +00:00
2000-05-29 22:40:54 +00:00
1999-08-28 01:08:13 +00:00
2000-01-30 10:14:13 +00:00
2000-01-25 09:20:08 +00:00
2000-06-10 07:12:40 +00:00
2000-04-02 00:35:37 +00:00
1999-08-28 01:08:13 +00:00
1999-09-25 18:24:47 +00:00
2000-05-26 02:09:24 +00:00
1999-08-28 01:08:13 +00:00
1999-12-28 06:35:57 +00:00
1999-10-11 15:19:12 +00:00
2000-06-15 18:18:43 +00:00
2000-06-15 18:18:43 +00:00
2000-06-15 18:18:43 +00:00
2000-06-12 18:06:12 +00:00
2000-03-09 15:15:27 +00:00
2000-04-30 18:52:11 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
2000-05-26 02:09:24 +00:00
2000-05-05 09:59:14 +00:00
2000-05-22 17:25:47 +00:00
2000-05-05 09:59:14 +00:00
2000-05-26 02:09:24 +00:00
2000-05-05 09:59:14 +00:00
1999-12-12 16:30:34 +00:00
1999-12-15 23:02:35 +00:00
2000-05-22 17:25:47 +00:00
2000-05-26 02:09:24 +00:00
2000-05-05 09:59:14 +00:00
2000-05-26 02:09:24 +00:00
1999-12-12 16:43:05 +00:00
1999-12-19 06:08:07 +00:00