Hi,

We are considering to use pound as reverse proxy. During tests, we have encountered the following issue:

- a client does a PUT request, with non-zero content-length
- pound forwards the PUT request and starts to forward the associated content - the server that pound forwards to reads and evaluates the request, without reading the content yet - the server that pound forwards to notices a problem with the request and responds, then closes the connection without ever reading the content associated with the PUT request - pound notices that it can not forward the content (EPIPE), and immediately responds to the client with "500 Internal Server Error"

In other words, on error, the response from the the server that pound forwards to never reaches the client, and the client needs more information than "500 Internal Server Error" to be able to take appropriate action.

The PUT content can be very big (gigabytes), so reading it completely and then responding would take the server considerable time and resources, and would cost much bandwidth.

Would it be possible to have pound attempt to forward the response back to the client after the forward of the content to the server has failed?

Thank you,

Bastiaan Stougie


--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to