Line
Link Here
|
0 |
-- native/common/jk_ajp_common.c (revision 1585987) |
0 |
++ native/common/jk_ajp_common.c (working copy) |
Lines 1482-1488
Link Here
|
1482 |
if ((r->is_chunked && len == 0) || len < 0 || len > maxlen) { |
1482 |
if ((r->is_chunked && len == 0) || len < 0 || len > maxlen) { |
1483 |
len = maxlen; |
1483 |
len = maxlen; |
1484 |
} |
1484 |
} |
1485 |
if ((jk_uint64_t)len > ae->left_bytes_to_send) { |
1485 |
if (ae->left_bytes_to_send > 0 && (jk_uint64_t)len > ae->left_bytes_to_send) { |
1486 |
len = (int)ae->left_bytes_to_send; |
1486 |
len = (int)ae->left_bytes_to_send; |
1487 |
} |
1487 |
} |