Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[cherokee/webserver] 099128: handler_proxy: Don't set the 'got all' flag when P...

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


noreply at github

Aug 2, 2012, 1:44 PM

Post #1 of 1 (215 views)
Permalink
[cherokee/webserver] 099128: handler_proxy: Don't set the 'got all' flag when P...

Branch: refs/heads/master
Home: https://github.com/cherokee/webserver
Commit: 099128800132c46531f8a4e6fd43c30b0e820e6f
https://github.com/cherokee/webserver/commit/099128800132c46531f8a4e6fd43c30b0e820e6f
Author: Stefan de Konink <stefan [at] konink>
Date: 2012-08-02 (Thu, 02 Aug 2012)

Changed paths:
M cherokee/handler_proxy.c
A qa/TODO

Log Message:
-----------
handler_proxy: Don't set the 'got all' flag when POST data is received

That flag only use is to know if the connection can be re-used. Getting
all the POST data from the client has _nothing_ to do with that, we
must only set it when the response from the backend is complete.

Failure to do this results in the connection trying to be reused when
it's not ready ... In case of failure it's not closed and the next
request might try to use it whatever state its in.

Signed-off-by: Sylvain Munaut <s.munaut [at] whatever-company>



_______________________________________________
Cherokee-commits mailing list
Cherokee-commits [at] lists
http://lists.octality.com/listinfo/cherokee-commits

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.