Loading modules/http2/h2_mplx.h +2 −2 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ apr_uint32_t h2_mplx_shutdown(h2_mplx *m); * Notifies mplx that a stream has finished processing. * * @param m the mplx itself * @param stream_id the id of the stream being done * @param stream the id of the stream being done * @param rst_error if != 0, the stream was reset with the error given * */ Loading @@ -188,7 +188,7 @@ apr_status_t h2_mplx_out_trywait(h2_mplx *m, apr_interval_time_t timeout, * Process a stream request. * * @param m the multiplexer * @param stream_id the identifier of the stream * @param stream the identifier of the stream * @param r the request to be processed * @param cmp the stream priority compare function * @param ctx context data for the compare function Loading modules/http2/h2_push.h +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ apr_array_header_t *h2_push_collect(apr_pool_t *p, /** * Create a new push diary for the given maximum number of entries. * * @oaram p the pool to use * @param p the pool to use * @param N the max number of entries, rounded up to 2^x * @return the created diary, might be NULL of max_entries is 0 */ Loading modules/http2/h2_stream.h +3 −3 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ void h2_stream_cleanup(h2_stream *stream); * destruction to take the pool with it. * * @param stream the stream to detach the pool from * @param the detached memmory pool or NULL if stream no longer has one * @result the detached memory pool or NULL if stream no longer has one */ apr_pool_t *h2_stream_detach_pool(h2_stream *stream); Loading Loading @@ -153,7 +153,7 @@ apr_status_t h2_stream_write_data(h2_stream *stream, * @param stream the stream to reset * @param error_code the HTTP/2 error code */ void h2_stream_rst(h2_stream *streamm, int error_code); void h2_stream_rst(h2_stream *stream, int error_code); /** * Schedule the stream for execution. All header information must be Loading Loading @@ -182,7 +182,7 @@ struct h2_response *h2_stream_get_response(h2_stream *stream); * the stream response has been collected. * * @param stream the stream to set the response for * @param resonse the response data for the stream * @param response the response data for the stream * @param bb bucket brigade with output data for the stream. Optional, * may be incomplete. */ Loading modules/http2/h2_util.h +6 −6 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void *h2_ihash_get(h2_ihash_t *ih, int id); * @param ih the hash to iterate over * @param fn the function to invoke on each member * @param ctx user supplied data passed into each iteration call * @param 0 if one iteration returned 0, otherwise != 0 * @return 0 if one iteration returned 0, otherwise != 0 */ int h2_ihash_iter(h2_ihash_t *ih, h2_ihash_iter_t *fn, void *ctx); Loading Loading @@ -148,7 +148,7 @@ int h2_iq_count(h2_iqueue *q); * @param cmp the comparator for sorting * @param ctx user data for comparator */ void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx); void h2_iq_add(h2_iqueue *q, int sid, h2_iq_cmp *cmp, void *ctx); /** * Remove the stream id from the queue. Return != 0 iff task Loading @@ -157,7 +157,7 @@ void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx); * @param sid the stream id to remove * @return != 0 iff task was found in queue */ int h2_iq_remove(h2_iqueue *q, int i); int h2_iq_remove(h2_iqueue *q, int sid); /** * Remove all entries in the queue. Loading Loading @@ -374,12 +374,12 @@ apr_size_t h2_util_bb_print(char *buffer, apr_size_t bmax, * Logs the bucket brigade (which bucket types with what length) * to the log at the given level. * @param c the connection to log for * @param stream_id the stream identifier this brigade belongs to * @param sid the stream identifier this brigade belongs to * @param level the log level (as in APLOG_*) * @param tag a short message text about the context * @param bb the brigade to log */ #define h2_util_bb_log(c, i, level, tag, bb) \ #define h2_util_bb_log(c, sid, level, tag, bb) \ do { \ char buffer[4 * 1024]; \ const char *line = "(null)"; \ Loading Loading
modules/http2/h2_mplx.h +2 −2 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ apr_uint32_t h2_mplx_shutdown(h2_mplx *m); * Notifies mplx that a stream has finished processing. * * @param m the mplx itself * @param stream_id the id of the stream being done * @param stream the id of the stream being done * @param rst_error if != 0, the stream was reset with the error given * */ Loading @@ -188,7 +188,7 @@ apr_status_t h2_mplx_out_trywait(h2_mplx *m, apr_interval_time_t timeout, * Process a stream request. * * @param m the multiplexer * @param stream_id the identifier of the stream * @param stream the identifier of the stream * @param r the request to be processed * @param cmp the stream priority compare function * @param ctx context data for the compare function Loading
modules/http2/h2_push.h +1 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ apr_array_header_t *h2_push_collect(apr_pool_t *p, /** * Create a new push diary for the given maximum number of entries. * * @oaram p the pool to use * @param p the pool to use * @param N the max number of entries, rounded up to 2^x * @return the created diary, might be NULL of max_entries is 0 */ Loading
modules/http2/h2_stream.h +3 −3 Original line number Diff line number Diff line Loading @@ -103,7 +103,7 @@ void h2_stream_cleanup(h2_stream *stream); * destruction to take the pool with it. * * @param stream the stream to detach the pool from * @param the detached memmory pool or NULL if stream no longer has one * @result the detached memory pool or NULL if stream no longer has one */ apr_pool_t *h2_stream_detach_pool(h2_stream *stream); Loading Loading @@ -153,7 +153,7 @@ apr_status_t h2_stream_write_data(h2_stream *stream, * @param stream the stream to reset * @param error_code the HTTP/2 error code */ void h2_stream_rst(h2_stream *streamm, int error_code); void h2_stream_rst(h2_stream *stream, int error_code); /** * Schedule the stream for execution. All header information must be Loading Loading @@ -182,7 +182,7 @@ struct h2_response *h2_stream_get_response(h2_stream *stream); * the stream response has been collected. * * @param stream the stream to set the response for * @param resonse the response data for the stream * @param response the response data for the stream * @param bb bucket brigade with output data for the stream. Optional, * may be incomplete. */ Loading
modules/http2/h2_util.h +6 −6 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void *h2_ihash_get(h2_ihash_t *ih, int id); * @param ih the hash to iterate over * @param fn the function to invoke on each member * @param ctx user supplied data passed into each iteration call * @param 0 if one iteration returned 0, otherwise != 0 * @return 0 if one iteration returned 0, otherwise != 0 */ int h2_ihash_iter(h2_ihash_t *ih, h2_ihash_iter_t *fn, void *ctx); Loading Loading @@ -148,7 +148,7 @@ int h2_iq_count(h2_iqueue *q); * @param cmp the comparator for sorting * @param ctx user data for comparator */ void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx); void h2_iq_add(h2_iqueue *q, int sid, h2_iq_cmp *cmp, void *ctx); /** * Remove the stream id from the queue. Return != 0 iff task Loading @@ -157,7 +157,7 @@ void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx); * @param sid the stream id to remove * @return != 0 iff task was found in queue */ int h2_iq_remove(h2_iqueue *q, int i); int h2_iq_remove(h2_iqueue *q, int sid); /** * Remove all entries in the queue. Loading Loading @@ -374,12 +374,12 @@ apr_size_t h2_util_bb_print(char *buffer, apr_size_t bmax, * Logs the bucket brigade (which bucket types with what length) * to the log at the given level. * @param c the connection to log for * @param stream_id the stream identifier this brigade belongs to * @param sid the stream identifier this brigade belongs to * @param level the log level (as in APLOG_*) * @param tag a short message text about the context * @param bb the brigade to log */ #define h2_util_bb_log(c, i, level, tag, bb) \ #define h2_util_bb_log(c, sid, level, tag, bb) \ do { \ char buffer[4 * 1024]; \ const char *line = "(null)"; \ Loading