src/http/ngx_http_upstream.c:570: error: Integer Overflow L2
  ([0, `r->main->count` + 3] - 1):unsigned32 by call to `ngx_http_upstream_connect`.

src/http/ngx_http_upstream.c:450:1: Parameter `r->main->count`
448. 
449. 
450. static void
     ^
451. ngx_http_upstream_init_request(ngx_http_request_t *r)
452. {

src/http/ngx_http_upstream.c:570:13: Call
568.             }
569. 
570.             ngx_http_upstream_connect(r, u);
                 ^
571. 
572.             return;

src/http/ngx_http_upstream.c:1091:1: Parameter `r->main->count`
  1089. 
  1090. 
  1091. static void
        ^
  1092. ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
  1093. {

src/http/ngx_http_upstream.c:1234:5: Call
  1232. #endif
  1233. 
  1234.     ngx_http_upstream_send_request(r, u);
            ^
  1235. }
  1236. 

src/http/ngx_http_upstream.c:1376:1: Parameter `r->main->count`
    1374. 
    1375. 
    1376. static void
          ^
    1377. ngx_http_upstream_send_request(ngx_http_request_t *r, ngx_http_upstream_t *u)
    1378. {

src/http/ngx_http_upstream.c:1447:9: Call
    1445.          */
    1446. 
    1447.         ngx_http_upstream_process_header(r, u);
                  ^
    1448.         return;
    1449.     }

src/http/ngx_http_upstream.c:1499:1: Parameter `r->main->count`
      1497. 
      1498. 
      1499. static void
            ^
      1500. ngx_http_upstream_process_header(ngx_http_request_t *r, ngx_http_upstream_t *u)
      1501. {

src/http/ngx_http_upstream.c:1630:13: Call
      1628.         }
      1629. 
      1630.         if (ngx_http_upstream_test_next(r, u) == NGX_OK) {
                        ^
      1631.             return;
      1632.         }

src/http/ngx_http_upstream.c:1686:1: Parameter `r->main->count`
        1684. 
        1685. 
        1686. static ngx_int_t
              ^
        1687. ngx_http_upstream_test_next(ngx_http_request_t *r, ngx_http_upstream_t *u)
        1688. {

src/http/ngx_http_upstream.c:1701:13: Call
        1699. 
        1700.         if (u->peer.tries > 1 && (u->conf->next_upstream & un->mask)) {
        1701.             ngx_http_upstream_next(r, u, un->mask);
                          ^
        1702.             return NGX_OK;
        1703.         }

src/http/ngx_http_upstream.c:2814:1: Parameter `r->main->count`
          2812. 
          2813. 
          2814. static void
                ^
          2815. ngx_http_upstream_next(ngx_http_request_t *r, ngx_http_upstream_t *u,
          2816.     ngx_uint_t ft_type)

src/http/ngx_http_upstream.c:2896:26: Call
          2894.                 if (rc == NGX_OK) {
          2895.                     u->cache_status = NGX_HTTP_CACHE_STALE;
          2896.                     rc = ngx_http_upstream_cache_send(r, u);
                                         ^
          2897.                 }
          2898. 

src/http/ngx_http_upstream.c:803:1: Parameter `r->main->count`
            801. 
            802. 
            803. static ngx_int_t
                 ^
            804. ngx_http_upstream_cache_send(ngx_http_request_t *r, ngx_http_upstream_t *u)
            805. {

src/http/ngx_http_upstream.c:836:13: Call
            834.     if (rc == NGX_OK) {
            835. 
            836.         if (ngx_http_upstream_process_headers(r, u) != NGX_OK) {
                             ^
            837.             return NGX_DONE;
            838.         }

src/http/ngx_http_upstream.c:1847:1: Parameter `r->main->count`
              1845. 
              1846. 
              1847. static ngx_int_t
                    ^
              1848. ngx_http_upstream_process_headers(ngx_http_request_t *r, ngx_http_upstream_t *u)
              1849. {

src/http/ngx_http_upstream.c:1862:9: Call
              1860.         && !(u->conf->ignore_headers & NGX_HTTP_UPSTREAM_IGN_XA_REDIRECT))
              1861.     {
              1862.         ngx_http_upstream_finalize_request(r, u, NGX_DECLINED);
                            ^
              1863. 
              1864.         part = &u->headers_in.headers.part;

src/http/ngx_http_upstream.c:2963:1: Parameter `r->main->count`
                2961. 
                2962. 
                2963. static void
                      ^
                2964. ngx_http_upstream_finalize_request(ngx_http_request_t *r,
                2965.     ngx_http_upstream_t *u, ngx_int_t rc)

src/http/ngx_http_upstream.c:3094:5: Call
                3092.     }
                3093. 
                3094.     ngx_http_finalize_request(r, rc);
                          ^
                3095. }
                3096. 

src/http/ngx_http_request.c:1912:1: Parameter `r->main->count`
                  1910. 
                  1911. 
                  1912. void
                        ^
                  1913. ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
                  1914. {

src/http/ngx_http_request.c:2084:9: Call
                  2082.     }
                  2083. 
                  2084.     if (ngx_http_post_action(r) == NGX_OK) {
                                ^
                  2085.         return;
                  2086.     }

src/http/ngx_http_request.c:2920:1: <LHS trace>
2918. 
2919. 
2920. static ngx_int_t
      ^
2921. ngx_http_post_action(ngx_http_request_t *r)
2922. {

src/http/ngx_http_request.c:2920:1: Parameter `r->main->count`
                    2918. 
                    2919. 
                    2920. static ngx_int_t
                          ^
                    2921. ngx_http_post_action(ngx_http_request_t *r)
                    2922. {

src/http/ngx_http_request.c:2938:5: Binary operation: ([0, r->main->count + 3] - 1):unsigned32 by call to `ngx_http_upstream_connect` 
                    2936.                    "post action: \"%V\"", &clcf->post_action);
                    2937. 
                    2938.     r->main->count--;
                              ^
                    2939. 
                    2940.     r->http_version = NGX_HTTP_VERSION_9;
