Changes between Version 1 and Version 2 of Ticket #2556, comment 2


Ignore:
Timestamp:
11/01/23 14:16:23 (14 months ago)
Author:
guo.bojun@…

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2556, comment 2

    v1 v2  
    11Unfortunately, the use case is that it is sometimes useful to retain the behavior of setting r->keepalive = 0 in the context of multiplexed connections by sending GOAWAY frames. Vanilla code cannot do this and a 3rd-party module which would do this will then need to access the h2c->goaway member which happens to be the last member in the structure.
     2
     3It would be nice to have a clear layout of the current ngx_http_v2_connection_t in the shipped plus binary so that such modules can be compiled in a compatible way, and further to have a similar function like ngx_http_v3_shutdown() and having an external linkage.