Mailing List Archive

[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@konink.de>
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@whatever-company.com>



_______________________________________________
Cherokee-commits mailing list
Cherokee-commits@lists.octality.com
http://lists.octality.com/listinfo/cherokee-commits