Mercurial > urweb
comparison src/c/http.c @ 1945:8b1692660dac
How embarrassing; didn't try compiling before committing
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 28 Dec 2013 06:30:21 -0500 |
parents | 68c8ffc4ae69 |
children | 6b80900ddc66 |
comparison
equal
deleted
inserted
replaced
1944:68c8ffc4ae69 | 1945:8b1692660dac |
---|---|
265 if (should_keepalive) { | 265 if (should_keepalive) { |
266 // In case any other requests are queued up, shift | 266 // In case any other requests are queued up, shift |
267 // unprocessed part of buffer to front. | 267 // unprocessed part of buffer to front. |
268 int kept = back - after; | 268 int kept = back - after; |
269 | 269 |
270 if (/kept == 0) { | 270 if (kept == 0) { |
271 // No pipelining going on here. | 271 // No pipelining going on here. |
272 // We'd might as well try to switch to a different connection, | 272 // We'd might as well try to switch to a different connection, |
273 // while we wait for more input on this one. | 273 // while we wait for more input on this one. |
274 uw_enqueue(sock); | 274 uw_enqueue(sock); |
275 sock = 0; | 275 sock = 0; |