]> git.kaiwu.me - nginx.git/commit
Refactored ngx_quic_close_connection().
authorVladimir Homutov <vl@nginx.com>
Thu, 23 Apr 2020 08:15:44 +0000 (11:15 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 23 Apr 2020 08:15:44 +0000 (11:15 +0300)
commitc8edca31379455d4b2f7b6feae6536c3bd30a4de
tree556b8e5b7abc4ac0bb2968999f49e85d278e4da9
parent37b95d545c396df2c4c7ef61a31d18e62288a019
Refactored ngx_quic_close_connection().

The function is split into three:
    ngx_quic_close_connection() itself cleans up all core nginx things
    ngx_quic_close_quic()  deals with everything inside c->quic
    ngx_quic_close_streams() deals with streams cleanup

The quic and streams cleanup functions may return NGX_AGAIN, thus signalling
that cleanup is not ready yet, and the close cannot continue to next step.
src/event/ngx_event_quic.c