https://bugs.exim.org/show_bug.cgi?id=3142

--- Comment #7 from Konstantin <konstantin.pa...@innogames.com> ---
Hey, 

I tested the change on our systems and the 200ms delay still exists. 

I then adjusted the timeouts myself and built the version. I came to the
following result:

Adjust ./src/smtp_in.c:3256 from 200ms to 20ms:

     0.000 write(5, “221 server_name closing ”..., 44) = 44
     0.000 setsockopt(5, SOL_TCP, TCP_CORK, [0], 4) = 0
     0.000 poll([{fd=7, events=POLLIN}], 1, 200) = 0 (timeout)
     0.200 setsockopt(5, SOL_TCP, TCP_CORK, [0], 4) = 0

Adjust ./src/smtp_in.c:3695: from 200ms to 20ms::

      0.000 write(5, “221 server_name ”..., 44) = 44
      0.000 setsockopt(5, SOL_TCP, TCP_CORK, [0], 4) = 0
      0.000 poll([{fd=7, events=POLLIN}], 1, 20) = 0 (timeout)
      0.020 setsockopt(5, SOL_TCP, TCP_CORK, [0], 4) = 0

Changing the poll timeout on that line
(https://github.com/Exim/exim/blob/master/src/src/smtp_in.c#L3695) changes the
delay.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-dev-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to