modules/proxy/mod_proxy_uwsgi.c:219: error: INTEGER_OVERFLOW_L2
  ([1, 8192] - [1, 8192]):unsigned64 by call to `uwsgi_send`.

modules/proxy/mod_proxy_uwsgi.c:217:19: Call
215.         apr_size_t readlen;
216. 
217.         readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);
                       ^
218.         while (readlen > 0) {
219.             status = uwsgi_send(conn, buf, readlen, r);

modules/http/http_filters.c:1703:9: Assignment
  1701. 
  1702.     if (r->remaining < 0 || (!r->read_chunked && r->remaining == 0)) {
  1703.         return 0;
                ^
  1704.     }
  1705. 

modules/proxy/mod_proxy_uwsgi.c:217:9: Assignment
215.         apr_size_t readlen;
216. 
217.         readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);
             ^
218.         while (readlen > 0) {
219.             status = uwsgi_send(conn, buf, readlen, r);

modules/proxy/mod_proxy_uwsgi.c:219:22: Call
217.         readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);
218.         while (readlen > 0) {
219.             status = uwsgi_send(conn, buf, readlen, r);
                          ^
220.             if (status != OK) {
221.                 return HTTP_SERVICE_UNAVAILABLE;

modules/proxy/mod_proxy_uwsgi.c:101:1: <LHS trace>
 99. 
100. 
101. static int uwsgi_send(proxy_conn_rec * conn, const char *buf,
     ^
102.                       apr_size_t length, request_rec *r)
103. {

modules/proxy/mod_proxy_uwsgi.c:101:1: Parameter `length`
   99. 
  100. 
  101. static int uwsgi_send(proxy_conn_rec * conn, const char *buf,
       ^
  102.                       apr_size_t length, request_rec *r)
  103. {

modules/proxy/mod_proxy_uwsgi.c:101:1: <RHS trace>
 99. 
100. 
101. static int uwsgi_send(proxy_conn_rec * conn, const char *buf,
     ^
102.                       apr_size_t length, request_rec *r)
103. {

modules/proxy/mod_proxy_uwsgi.c:101:1: Parameter `length`
   99. 
  100. 
  101. static int uwsgi_send(proxy_conn_rec * conn, const char *buf,
       ^
  102.                       apr_size_t length, request_rec *r)
  103. {

modules/proxy/mod_proxy_uwsgi.c:108:9: Assignment
  106. 
  107.     while (length > 0) {
  108.         written = length;
               ^
  109.         if ((rv = apr_socket_send(conn->sock, buf, &written)) != APR_SUCCESS) {
  110.             ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10098)

modules/proxy/mod_proxy_uwsgi.c:119:9: Binary operation: ([1, 8192] - [1, 8192]):unsigned64 by call to `uwsgi_send` 
  117.         conn->worker->s->transferred += written;
  118.         buf += written;
  119.         length -= written;
               ^
  120.     }
  121. 

static int uwsgi_send(proxy_conn_rec * conn, const char *buf,
                      apr_size_t length, request_rec *r)
{
    apr_status_t rv;
    apr_size_t written;
    while (length > 0) {
        written = length;
        if ((rv = apr_socket_send(conn->sock, buf, &written)) != APR_SUCCESS) {
            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10098)
                          "sending data to %s:%u failed",
                          conn->hostname, conn->port);
            return HTTP_SERVICE_UNAVAILABLE;
        }
        conn->worker->s->transferred += written;
        buf += written;
        length -= written;
    }
    return OK;
}
['static int uwsgi_send_body(request_rec *r, proxy_conn_rec * conn)\n{\n    if (ap_should_client_block(r)) {\n        char *buf = apr_palloc(r->pool, AP_IOBUFSIZE);\n        int status;\n        apr_size_t readlen;\n        readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);\n        while (readlen > 0) {\n            status = uwsgi_send(conn, buf, readlen, r);\n            if (status != OK) {\n                return HTTP_SERVICE_UNAVAILABLE;\n            }\n            readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);\n        }\n        if (readlen == -1) {\n            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10099)\n                          "receiving request body failed");\n            return HTTP_INTERNAL_SERVER_ERROR;\n        }\n    }\n    return OK;\n}', 'AP_DECLARE(long) ap_get_client_block(request_rec *r, char *buffer,\n                                     apr_size_t bufsiz)\n{\n    apr_status_t rv;\n    apr_bucket_brigade *bb;\n    if (r->remaining < 0 || (!r->read_chunked && r->remaining == 0)) {\n        return 0;\n    }\n    bb = apr_brigade_create(r->pool, r->connection->bucket_alloc);\n    if (bb == NULL) {\n        r->connection->keepalive = AP_CONN_CLOSE;\n        return -1;\n    }\n    rv = ap_get_brigade(r->input_filters, bb, AP_MODE_READBYTES,\n                        APR_BLOCK_READ, bufsiz);\n    if (rv == AP_FILTER_ERROR) {\n        apr_brigade_destroy(bb);\n        return -1;\n    }\n    if (rv != APR_SUCCESS) {\n        apr_bucket *e;\n        apr_brigade_cleanup(bb);\n        e = ap_bucket_error_create(\n                ap_map_http_request_error(rv, HTTP_BAD_REQUEST), NULL, r->pool,\n                r->connection->bucket_alloc);\n        APR_BRIGADE_INSERT_TAIL(bb, e);\n        e = apr_bucket_eos_create(r->connection->bucket_alloc);\n        APR_BRIGADE_INSERT_TAIL(bb, e);\n        rv = ap_pass_brigade(r->output_filters, bb);\n        if (APR_SUCCESS != rv) {\n            ap_log_rerror(APLOG_MARK, APLOG_INFO, rv, r, APLOGNO(02484)\n                          "Error while writing error response");\n        }\n        r->connection->keepalive = AP_CONN_CLOSE;\n        apr_brigade_destroy(bb);\n        return -1;\n    }\n    AP_DEBUG_ASSERT(!APR_BRIGADE_EMPTY(bb));\n    if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb))) {\n        if (r->read_chunked) {\n            r->remaining = -1;\n        }\n        else {\n            r->remaining = 0;\n        }\n    }\n    rv = apr_brigade_flatten(bb, buffer, &bufsiz);\n    if (rv != APR_SUCCESS) {\n        apr_brigade_destroy(bb);\n        return -1;\n    }\n    r->read_length += bufsiz;\n    apr_brigade_destroy(bb);\n    return bufsiz;\n}', 'static int uwsgi_send(proxy_conn_rec * conn, const char *buf,\n                      apr_size_t length, request_rec *r)\n{\n    apr_status_t rv;\n    apr_size_t written;\n    while (length > 0) {\n        written = length;\n        if ((rv = apr_socket_send(conn->sock, buf, &written)) != APR_SUCCESS) {\n            ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10098)\n                          "sending data to %s:%u failed",\n                          conn->hostname, conn->port);\n            return HTTP_SERVICE_UNAVAILABLE;\n        }\n        conn->worker->s->transferred += written;\n        buf += written;\n        length -= written;\n    }\n    return OK;\n}']