| 1007 | */ |
| 1008 | |
| 1009 | int /* O - Content length */ |
| 1010 | httpGetLength(http_t *http) /* I - HTTP connection */ |
| 1011 | { |
| 1012 | /* |
| 1013 | * Get the read content length and return the 32-bit value. |
| 1014 | */ |
| 1015 | |
| 1016 | if (http) |
| 1017 | { |
| 1018 | httpGetLength2(http); |
| 1019 | |
| 1020 | return (http->_data_remaining); |
| 1021 | } |
| 1022 | else |
| 1023 | return (-1); |
| 1024 | } |
| 1025 | |
| 1026 | |
| 1027 | /* |
nothing calls this directly
no test coverage detected