[web-devel] Connection: handling on Warp

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Tue Jul 19 11:10:15 CEST 2011


Hello,

Current Warp does not handle the Connection: header. 

For HTTP 1.1, RFC says that the connection is closed by an HTTP server
if Connection: is "close" and it is not closed otherwise.

For HTTP 1.0, RFC says that the connection is not closed if
Connection: is "keep-alive" and it is closed otherwise.

Current warp does not close connection, for example, for ResponseFile
even if Connection: is not specified in HTTP 1.0.

ab (ApacheBench) tries to create HTTP 1.0 connections and expects that
the connections are closed by the server side. So, trying to benchmark
Warp with "ab" results in getting stacked.

I would like to add a proper handling of Connection: to Warp. What do
you guys think?

--Kazu



More information about the web-devel mailing list