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

src/http/ngx_http_upstream.c:422:1: Parameter `r->main->count`
420. 
421. 
422. static void
     ^
423. ngx_http_upstream_init_request(ngx_http_request_t *r)
424. {

src/http/ngx_http_upstream.c:539:13: Call
537.             }
538. 
539.             ngx_http_upstream_connect(r, u);
                 ^
540. 
541.             return;

src/http/ngx_http_upstream.c:1027:1: Parameter `r->main->count`
  1025. 
  1026. 
  1027. static void
        ^
  1028. ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
  1029. {

src/http/ngx_http_upstream.c:1158:5: Call
  1156. #endif
  1157. 
  1158.     ngx_http_upstream_send_request(r, u);
            ^
  1159. }
  1160. 

src/http/ngx_http_upstream.c:1297:1: Parameter `r->main->count`
    1295. 
    1296. 
    1297. static void
          ^
    1298. ngx_http_upstream_send_request(ngx_http_request_t *r, ngx_http_upstream_t *u)
    1299. {

src/http/ngx_http_upstream.c:1368:9: Call
    1366.          */
    1367. 
    1368.         ngx_http_upstream_process_header(r, u);
                  ^
    1369.         return;
    1370.     }

src/http/ngx_http_upstream.c:1420:1: Parameter `r->main->count`
      1418. 
      1419. 
      1420. static void
            ^
      1421. ngx_http_upstream_process_header(ngx_http_request_t *r, ngx_http_upstream_t *u)
      1422. {

src/http/ngx_http_upstream.c:1551:13: Call
      1549.         }
      1550. 
      1551.         if (ngx_http_upstream_test_next(r, u) == NGX_OK) {
                        ^
      1552.             return;
      1553.         }

src/http/ngx_http_upstream.c:1607:1: Parameter `r->main->count`
        1605. 
        1606. 
        1607. static ngx_int_t
              ^
        1608. ngx_http_upstream_test_next(ngx_http_request_t *r, ngx_http_upstream_t *u)
        1609. {

src/http/ngx_http_upstream.c:1622:13: Call
        1620. 
        1621.         if (u->peer.tries > 1 && (u->conf->next_upstream & un->mask)) {
        1622.             ngx_http_upstream_next(r, u, un->mask);
                          ^
        1623.             return NGX_OK;
        1624.         }

src/http/ngx_http_upstream.c:2707:1: Parameter `r->main->count`
          2705. 
          2706. 
          2707. static void
                ^
          2708. ngx_http_upstream_next(ngx_http_request_t *r, ngx_http_upstream_t *u,
          2709.     ngx_uint_t ft_type)

src/http/ngx_http_upstream.c:2764:9: Call
          2762. 
          2763.     if (r->connection->error) {
          2764.         ngx_http_upstream_finalize_request(r, u,
                        ^
          2765.                                            NGX_HTTP_CLIENT_CLOSED_REQUEST);
          2766.         return;

src/http/ngx_http_upstream.c:2846:1: Parameter `r->main->count`
            2844. 
            2845. 
            2846. static void
                  ^
            2847. ngx_http_upstream_finalize_request(ngx_http_request_t *r,
            2848.     ngx_http_upstream_t *u, ngx_int_t rc)

src/http/ngx_http_upstream.c:2950:5: Call
            2948.     }
            2949. 
            2950.     ngx_http_finalize_request(r, rc);
                      ^
            2951. }
            2952. 

src/http/ngx_http_request.c:1831:1: Parameter `r->main->count`
              1829. 
              1830. 
              1831. void
                    ^
              1832. ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
              1833. {

src/http/ngx_http_request.c:1870:13: Call
              1868.         || c->error)
              1869.     {
              1870.         if (ngx_http_post_action(r) == NGX_OK) {
                                ^
              1871.             return;
              1872.         }

src/http/ngx_http_request.c:2809:1: <LHS trace>
2807. 
2808. 
2809. static ngx_int_t
      ^
2810. ngx_http_post_action(ngx_http_request_t *r)
2811. {

src/http/ngx_http_request.c:2809:1: Parameter `r->main->count`
                2807. 
                2808. 
                2809. static ngx_int_t
                      ^
                2810. ngx_http_post_action(ngx_http_request_t *r)
                2811. {

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