comparison src/event/quic/ngx_event_quic_transport.c @ 8702:d4e02b3b734f quic

QUIC: fixed indentation.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 15 Feb 2021 14:54:28 +0300
parents 75603531064a
children d710c457171c
comparison
equal deleted inserted replaced
8701:ba9e34c03968 8702:d4e02b3b734f
490 490
491 } else if (ngx_quic_pkt_hs(pkt->flags)) { 491 } else if (ngx_quic_pkt_hs(pkt->flags)) {
492 pkt->level = ssl_encryption_handshake; 492 pkt->level = ssl_encryption_handshake;
493 493
494 } else { 494 } else {
495 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, 495 ngx_log_error(NGX_LOG_INFO, pkt->log, 0,
496 "quic bad packet type"); 496 "quic bad packet type");
497 return NGX_DECLINED; 497 return NGX_DECLINED;
498 } 498 }
499 499
500 p = ngx_quic_parse_int(p, end, &varint); 500 p = ngx_quic_parse_int(p, end, &varint);
501 if (p == NULL) { 501 if (p == NULL) {
502 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, "quic bad packet length"); 502 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, "quic bad packet length");
736 736
737 p = ngx_quic_parse_int(p, end, &varint); 737 p = ngx_quic_parse_int(p, end, &varint);
738 if (p == NULL) { 738 if (p == NULL) {
739 pkt->error = NGX_QUIC_ERR_FRAME_ENCODING_ERROR; 739 pkt->error = NGX_QUIC_ERR_FRAME_ENCODING_ERROR;
740 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, 740 ngx_log_error(NGX_LOG_INFO, pkt->log, 0,
741 "quic failed to obtain quic frame type"); 741 "quic failed to obtain quic frame type");
742 return NGX_ERROR; 742 return NGX_ERROR;
743 } 743 }
744 744
745 f->type = varint; 745 f->type = varint;
746 746
1634 } 1634 }
1635 1635
1636 p = ngx_quic_parse_int(p, end, &len); 1636 p = ngx_quic_parse_int(p, end, &len);
1637 if (p == NULL) { 1637 if (p == NULL) {
1638 ngx_log_error(NGX_LOG_INFO, log, 0, 1638 ngx_log_error(NGX_LOG_INFO, log, 0,
1639 "quic failed to parse" 1639 "quic failed to parse"
1640 " transport param id:0x%xL length", id); 1640 " transport param id:0x%xL length", id);
1641 return NGX_ERROR; 1641 return NGX_ERROR;
1642 } 1642 }
1643 1643
1644 rc = ngx_quic_parse_transport_param(p, p + len, id, tp); 1644 rc = ngx_quic_parse_transport_param(p, p + len, id, tp);
1645 1645