PR:
Obtained from:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88765
13f79535-47bb-0310-9956-
ffa450edef68
};
#endif
+/* different HTTP versions we need to care about */
+#define HTTP_0_9 0009
+#define HTTP_1_0 1000
+#define HTTP_1_1 1001
+
/* static information about a remote proxy */
struct proxy_remote {
const char *scheme; /* the schemes handled by this proxy, or '*' */
/* if the connection is < HTTP/1.1, or Connection: close,
* we close the socket, otherwise we leave it open for KeepAlive support
*/
- if (close || (r->proto_num < 1001)) {
+ if (close || (r->proto_num < HTTP_1_1)) {
apr_socket_close(sock);
conf->client_socket = NULL;
}