You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2017/10/02 14:39:56 UTC
svn commit: r1810365 - /httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c
Author: jim
Date: Mon Oct 2 14:39:56 2017
New Revision: 1810365
URL: http://svn.apache.org/viewvc?rev=1810365&view=rev
Log:
Final comment-format changes
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c?rev=1810365&r1=1810364&r2=1810365&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_uwsgi.c Mon Oct 2 14:39:56 2017
@@ -297,14 +297,14 @@ static int uwsgi_response(request_rec *r
len = ap_getline(buffer, sizeof(buffer), rp, 1);
if (len <= 0) {
- // oops
+ /* oops */
return HTTP_INTERNAL_SERVER_ERROR;
}
backend->worker->s->read += len;
if (len >= sizeof(buffer) - 1) {
- // oops
+ /* oops */
return HTTP_INTERNAL_SERVER_ERROR;
}
/* Position of http status code */
@@ -315,7 +315,7 @@ static int uwsgi_response(request_rec *r
status_start = 7;
}
else {
- // oops
+ /* oops */
return HTTP_INTERNAL_SERVER_ERROR;
}
status_end = status_start + 3;
@@ -336,10 +336,10 @@ static int uwsgi_response(request_rec *r
}
r->status_line = apr_pstrdup(r->pool, &buffer[status_start]);
- // start parsing headers;
+ /* start parsing headers */
while ((len = ap_getline(buffer, sizeof(buffer), rp, 1)) > 0) {
value = strchr(buffer, ':');
- // invalid header skip
+ /* invalid header skip */
if (!value)
continue;
*value = '\0';
@@ -356,7 +356,7 @@ static int uwsgi_response(request_rec *r
ap_set_content_type(r, apr_pstrdup(r->pool, buf));
}
- // honor ProxyErrorOverride and ErrorDocument
+ /* honor ProxyErrorOverride and ErrorDocument */
#if AP_MODULE_MAGIC_AT_LEAST(20101106,0)
proxy_dir_conf *dconf =
ap_get_module_config(r->per_dir_config, &proxy_module);
@@ -409,11 +409,11 @@ static int uwsgi_response(request_rec *r
ap_proxy_buckets_lifetime_transform(r, bb, pass_bb);
- // found the last brigade?
+ /* found the last brigade? */
if (APR_BUCKET_IS_EOS(APR_BRIGADE_LAST(bb)))
finish = 1;
- // do not pass chunk if it is zero_sized
+ /* do not pass chunk if it is zero_sized */
apr_brigade_length(pass_bb, 0, &readbytes);
if ((readbytes > 0
@@ -457,7 +457,7 @@ static int uwsgi_handler(request_rec *r,
return DECLINED;
}
- // ADD PATH_INFO
+ /* ADD PATH_INFO */
#if AP_MODULE_MAGIC_AT_LEAST(20111130,0)
w_len = strlen(worker->s->name);
#else