osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62891] New: apache don't close connection despite proxy worker ttl is lower than backend keep-alive


https://bz.apache.org/bugzilla/show_bug.cgi?id=62891

            Bug ID: 62891
           Summary: apache don't close connection despite proxy worker ttl
                    is lower than backend keep-alive
           Product: Apache httpd-2
           Version: 2.4.25
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: s.tabacchiera@xxxxxxxxx
  Target Milestone: ---

Created attachment 36250
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36250&action=edit
wireshark capture

Scenario: 

-Apache 2.4.25 on Linux box as reverse proxy.
-ProxyPass /someurl  http://backend/someurl  smax=0 ttl=15
-Backend Keep-Alive timeout is 30".

In the attached wireshark capture, you can see backend closing after 35".
This socket stays in half-close status (CLOSE_WAIT) for the next 43".

Can someone please clarify to me whis this is happening?
Why apache is not closing its side when ttl expires?

Please note that apache is sending "Connection: keep-alive" request header,
while backend is NOT sending the "Connection" response header, so I assume this
is intended as "will keep it open as you requested".

Thanks.
Tabby.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx