diff options
| author | Vladimir Homutov <vl@nginx.com> | 2020-04-02 14:53:01 +0300 |
|---|---|---|
| committer | Vladimir Homutov <vl@nginx.com> | 2020-04-02 14:53:01 +0300 |
| commit | 932bfe7b360cd5e25491105fcc10809cd6c6645f (patch) | |
| tree | 444641f4ac5f1b6e169ff6c838148ba4f68bdcd3 /src | |
| parent | 9c8a7a52e1346b183b06bf7b86c69084c428580f (diff) | |
| download | nginx-932bfe7b360cd5e25491105fcc10809cd6c6645f.tar.gz nginx-932bfe7b360cd5e25491105fcc10809cd6c6645f.tar.bz2 | |
Fixed excessive push timer firing.
The timer is set when an output frame is generated; there is no need to arm
it after it was fired.
Diffstat (limited to 'src')
| -rw-r--r-- | src/event/ngx_event_quic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 4b50bfe01..3c1097455 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1764,19 +1764,15 @@ static void ngx_quic_push_handler(ngx_event_t *ev) { ngx_connection_t *c; - ngx_quic_connection_t *qc; ngx_log_debug0(NGX_LOG_DEBUG_EVENT, ev->log, 0, "push timer"); c = ev->data; - qc = c->quic; if (ngx_quic_output(c) != NGX_OK) { ngx_quic_close_connection(c); return; } - - ngx_add_timer(&qc->push, qc->tp.max_ack_delay); } |
