[exim-dev] [Bug 400] Patch for readsocket to shut down sendi…

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 400] Patch for readsocket to shut down sending side of socket
https://bugs.exim.org/show_bug.cgi?id=400

Lena <Lena@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED


--- Comment #3 from Lena <Lena@???> ---
> This patch shuts down the sending side of the network socket after all the data
> has been sent. This is a clear signal to the remote server that it should
> process the data and then close the socket.


Some HTTP servers break connection entirely at such sending side shutdown.
For example tinyurl.com and some other URL shorteners.

> I have tested this with the sqlgrey daemon. I think it is unlikely to cause
> problems for existing configs, but you may want to make it an optional feature
> anyway.


I propose two alternative patches:

1. https://bugs.exim.org/attachment.cgi?id=979
Do not shutdown if port 80.

2. https://bugs.exim.org/attachment.cgi?id=980
Do not shutdown if timeout (third argument of readsocket item) is specified as
a negative number. Absolute value (without the munus) is used as timeout.

--
You are receiving this mail because:
You are the QA Contact for the bug.