removed redundant comments

This commit is contained in:
hyung-hwan 2015-02-01 04:12:07 +00:00
parent 3f94bd2cd6
commit 0585bf00ae

View File

@ -579,11 +579,9 @@ static int proxy_htrd_peek_peer_output (qse_htrd_t* htrd, qse_htre_t* res)
* Other browsers like firefox and opera didn't have this problem. * Other browsers like firefox and opera didn't have this problem.
* *
* The hack here assumes that the actual response from the peer * The hack here assumes that the actual response from the peer
* contains no message-body(content) either. * contains no message-body(content) either.
*/ */
/* TODO: apply the same trick if the request is HEAD */
/* Force the length to be zero as if Content-Length: 0 is in the /* Force the length to be zero as if Content-Length: 0 is in the
* original peer response */ * original peer response */
proxy->resflags |= PROXY_RES_PEER_LENGTH | PROXY_RES_PEER_LENGTH_FAKE; proxy->resflags |= PROXY_RES_PEER_LENGTH | PROXY_RES_PEER_LENGTH_FAKE;