h2.h (mod_http2-1.15.16) | : | h2.h (mod_http2-1.15.17) | ||
---|---|---|---|---|
skipping to change at line 143 | skipping to change at line 143 | |||
const char *method; /* pseudo header values, see ch. 8.1.2.3 */ | const char *method; /* pseudo header values, see ch. 8.1.2.3 */ | |||
const char *scheme; | const char *scheme; | |||
const char *authority; | const char *authority; | |||
const char *path; | const char *path; | |||
apr_table_t *headers; | apr_table_t *headers; | |||
apr_time_t request_time; | apr_time_t request_time; | |||
unsigned int chunked : 1; /* iff request body needs to be forwarded as chu nked */ | unsigned int chunked : 1; /* iff request body needs to be forwarded as chu nked */ | |||
unsigned int serialize : 1; /* iff this request is written in HTTP/1.1 seria lization */ | unsigned int serialize : 1; /* iff this request is written in HTTP/1.1 seria lization */ | |||
apr_off_t raw_bytes; /* RAW network bytes that generated this request - if known. */ | apr_off_t raw_bytes; /* RAW network bytes that generated this request - if known. */ | |||
int http_status; /* Store a possible HTTP status code that gets | ||||
* defined before creating the dummy HTTP/1.1 | ||||
* request e.g. due to an error already | ||||
* detected. | ||||
*/ | ||||
}; | }; | |||
/* | ||||
* A possible HTTP status code is not defined yet. See the http_status field | ||||
* in struct h2_request above for further explanation. | ||||
*/ | ||||
#define H2_HTTP_STATUS_UNSET (0) | ||||
typedef struct h2_headers h2_headers; | typedef struct h2_headers h2_headers; | |||
struct h2_headers { | struct h2_headers { | |||
int status; | int status; | |||
apr_table_t *headers; | apr_table_t *headers; | |||
apr_table_t *notes; | apr_table_t *notes; | |||
apr_off_t raw_bytes; /* RAW network bytes that generated this request - if known. */ | apr_off_t raw_bytes; /* RAW network bytes that generated this request - if known. */ | |||
}; | }; | |||
typedef apr_status_t h2_io_data_cb(void *ctx, const char *data, apr_off_t len); | typedef apr_status_t h2_io_data_cb(void *ctx, const char *data, apr_off_t len); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added |