comparison src/event/ngx_event_quic.c @ 8346:4e4485793418 quic

Added MAX_STREAM_DATA stub handler. Currently sending code is ignoring this.
author Vladimir Homutov <vl@nginx.com>
date Mon, 20 Apr 2020 17:18:04 +0300
parents 6481427ca3fc
children d42b50d239f4
comparison
equal deleted inserted replaced
8345:6481427ca3fc 8346:4e4485793418
1288 case NGX_QUIC_FT_NEW_TOKEN: 1288 case NGX_QUIC_FT_NEW_TOKEN:
1289 case NGX_QUIC_FT_RESET_STREAM: 1289 case NGX_QUIC_FT_RESET_STREAM:
1290 case NGX_QUIC_FT_STOP_SENDING: 1290 case NGX_QUIC_FT_STOP_SENDING:
1291 case NGX_QUIC_FT_PATH_CHALLENGE: 1291 case NGX_QUIC_FT_PATH_CHALLENGE:
1292 case NGX_QUIC_FT_PATH_RESPONSE: 1292 case NGX_QUIC_FT_PATH_RESPONSE:
1293 case NGX_QUIC_FT_MAX_STREAM_DATA:
1293 1294
1294 /* TODO: handle */ 1295 /* TODO: handle */
1295 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, 1296 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
1296 "frame handler not implemented"); 1297 "frame handler not implemented");
1297 ack_this = 1; 1298 ack_this = 1;
1298 break; 1299 break;
1299 1300
1300 default: 1301 default:
1302 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
1303 "missing frame handler");
1301 return NGX_ERROR; 1304 return NGX_ERROR;
1302 } 1305 }
1303 } 1306 }
1304 1307
1305 if (p != end) { 1308 if (p != end) {