These need to be signed longs... cast as needed.
Add CHANGES entry
Submitted by: jim, jailletc36
Reviewed by: jailletc36 (by inspection), ylavic, jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1843467 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.4.36
+ *) mod_proxy_scgi, mod_proxy_uwsgi: improve error handling when sending the
+ body of the response. [Jim Jagielski]
+
*) ab: Add client certificate support. [Graham Leggett]
*) ab: Disable printing temp key for OpenSSL before
in the 2.4.x patch.
+1: kotkov, ylavic, jim
- *) mod_proxy_scgi, mod_proxy_uwsgi: These need to be signed longs otherwise,
- the error handling code can never trigger.
- trunk patch: http://svn.apache.org/r1839303
- http://svn.apache.org/r1843290 (CHANGES entry)
- 2.4.x patch: svn merge -c 1839303,1843290 ^/httpd/httpd/trunk .
- +1: jailletc36 (by inspection), ylavic, jim
-
*) mod_http2: fixing an issue that h2 stream do not properly EOS when
the bucket is missing in the handler response.
trunk patch: http://svn.apache.org/r1843426
* Proxy backend module for the SCGI protocol
* (http://python.ca/scgi/protocol.txt)
*
- * André Malo (nd/perlig.de), August 2007
+ * Andr� Malo (nd/perlig.de), August 2007
*/
#define APR_WANT_MEMFUNC
if (ap_should_client_block(r)) {
char *buf = apr_palloc(r->pool, AP_IOBUFSIZE);
int status;
- apr_size_t readlen;
+ long readlen;
readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);
while (readlen > 0) {
- status = sendall(conn, buf, readlen, r);
+ status = sendall(conn, buf, (apr_size_t)readlen, r);
if (status != OK) {
return HTTP_SERVICE_UNAVAILABLE;
}
if (ap_should_client_block(r)) {
char *buf = apr_palloc(r->pool, AP_IOBUFSIZE);
int status;
- apr_size_t readlen;
+ long readlen;
readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE);
while (readlen > 0) {
- status = uwsgi_send(conn, buf, readlen, r);
+ status = uwsgi_send(conn, buf, (apr_size_t)readlen, r);
if (status != OK) {
return HTTP_SERVICE_UNAVAILABLE;
}