mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Optimise more of the flags within proxy structures.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1026668 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -226,12 +226,12 @@ typedef struct {
|
|||||||
void *forward; /* opaque forward proxy data */
|
void *forward; /* opaque forward proxy data */
|
||||||
apr_uint32_t flags; /* Connection flags */
|
apr_uint32_t flags; /* Connection flags */
|
||||||
apr_port_t port;
|
apr_port_t port;
|
||||||
char is_ssl;
|
int is_ssl:1;
|
||||||
char close; /* Close 'this' connection */
|
int close:1; /* Close 'this' connection */
|
||||||
char need_flush;/* Flag to decide whether we need to flush the
|
int need_flush:1; /* Flag to decide whether we need to flush the
|
||||||
* filter chain or not */
|
* filter chain or not */
|
||||||
#if APR_HAS_THREADS
|
#if APR_HAS_THREADS
|
||||||
char inreslist; /* connection in apr_reslist? */
|
int inreslist:1; /* connection in apr_reslist? */
|
||||||
#endif
|
#endif
|
||||||
int cleaned:1; /* connection cleaned? */
|
int cleaned:1; /* connection cleaned? */
|
||||||
} proxy_conn_rec;
|
} proxy_conn_rec;
|
||||||
@@ -325,7 +325,7 @@ struct proxy_worker {
|
|||||||
apr_port_t port;
|
apr_port_t port;
|
||||||
char keepalive;
|
char keepalive;
|
||||||
char disablereuse;
|
char disablereuse;
|
||||||
int is_address_reusable;
|
int is_address_reusable:1;
|
||||||
proxy_conn_pool *cp; /* Connection pool to use */
|
proxy_conn_pool *cp; /* Connection pool to use */
|
||||||
proxy_worker_stat *s; /* Shared data */
|
proxy_worker_stat *s; /* Shared data */
|
||||||
void *opaque; /* per scheme worker data */
|
void *opaque; /* per scheme worker data */
|
||||||
|
Reference in New Issue
Block a user