]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event: handle lingering close fully in process_lingering_close().
authorYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 14:59:57 +0000 (14:59 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 14:59:57 +0000 (14:59 +0000)
commit2b4d2daa8de64c328ab68bda5cd3f336eebb283e
tree6d11d0f5c97f2d31adc1b48a18c18a42e554d7f4
parentb22f02e388ebae6d129ff3e5af3fa4d4e7cb6fa1
mpm_event: handle lingering close fully in process_lingering_close().

* server/mpm/event/event.c (start_lingering_close_blocking): Axe the function
  and put the code directly in process_lingering_close() on the first call when
  cs->pub.state == CONN_STATE_LINGER, this simplifies lingering close handling
  from process_socket() and event_resume_suspended().

No functional changes.

Follow up to r1891716.
Github: #208

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891717 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/event/event.c