From 23394f444cc73d6b01af5a8109f79c156a26607c Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 13 Dec 2017 13:32:49 +0000 Subject: [PATCH] Use APR type git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818013 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_uwsgi.html | 5 -- docs/manual/mod/mod_proxy_uwsgi.html.en | 110 ------------------------ modules/proxy/mod_proxy_uwsgi.c | 2 +- 3 files changed, 1 insertion(+), 116 deletions(-) delete mode 100644 docs/manual/mod/mod_proxy_uwsgi.html delete mode 100644 docs/manual/mod/mod_proxy_uwsgi.html.en diff --git a/docs/manual/mod/mod_proxy_uwsgi.html b/docs/manual/mod/mod_proxy_uwsgi.html deleted file mode 100644 index ae23c5f091..0000000000 --- a/docs/manual/mod/mod_proxy_uwsgi.html +++ /dev/null @@ -1,5 +0,0 @@ -# GENERATED FROM XML -- DO NOT EDIT - -URI: mod_proxy_uwsgi.html.en -Content-Language: en -Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/mod/mod_proxy_uwsgi.html.en b/docs/manual/mod/mod_proxy_uwsgi.html.en deleted file mode 100644 index 9f3c46796e..0000000000 --- a/docs/manual/mod/mod_proxy_uwsgi.html.en +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -mod_proxy_uwsgi - Apache HTTP Server Version 2.5 - - - - - - - - -
<-
-
-Apache > HTTP Server > Documentation > Version 2.5 > Modules
-
-

Apache Module mod_proxy_uwsgi

-
-

Available Languages:  en 

-
- - - -
Description:UWSGI gateway module for mod_proxy
Status:Extension
Module Identifier:proxy_uwsgi_module
Source File:mod_proxy_uwsgi.c
-

Summary

- -

This module requires the service of mod_proxy. It provides support for the - UWSGI protocol.

- -

Thus, in order to get the ability of handling the UWSGI protocol, - mod_proxy and mod_proxy_uwsgi have to - be present in the server.

- -

Warning

-

Do not enable proxying until you have secured your server. Open proxy - servers are dangerous both to your network and to the Internet at - large.

-
-
-

Topics

-

Directives

-

This module provides no - directives.

-

Bugfix checklist

See also

-
-
top
-
-

Examples

-

Remember, in order to make the following examples work, you have to - enable mod_proxy and mod_proxy_uwsgi.

- -

Simple gateway

ProxyPass "/uwsgi-bin/" "uwsgi://localhost:4000/"
-
- -

The balanced gateway needs mod_proxy_balancer and - at least one load balancer algorithm module, such as - mod_lbmethod_byrequests, in addition to the proxy - modules listed above. mod_lbmethod_byrequests is the - default, and will be used for this example configuration.

- -

Balanced gateway

ProxyPass "/uwsgi-bin/" "balancer://somecluster/"
-<Proxy balancer://somecluster>
-    BalancerMember uwsgi://localhost:4000
-    BalancerMember uwsgi://localhost:4001
-</Proxy>
-
-
-
-
-

Available Languages:  en 

-
top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
-
- \ No newline at end of file diff --git a/modules/proxy/mod_proxy_uwsgi.c b/modules/proxy/mod_proxy_uwsgi.c index 175276aa48..beac669bf2 100644 --- a/modules/proxy/mod_proxy_uwsgi.c +++ b/modules/proxy/mod_proxy_uwsgi.c @@ -136,7 +136,7 @@ static int uwsgi_send_headers(request_rec *r, proxy_conn_rec * conn) int j; apr_size_t headerlen = 4; - uint16_t pktsize, keylen, vallen; + apr_uint16_t pktsize, keylen, vallen; const char *script_name; const char *path_info; const char *auth; -- 2.50.1