Home
last modified time | relevance | path

Searched refs:h2o_req_t (Results 1 – 25 of 59) sorted by relevance

123

/dports/www/h2o-devel/h2o-dcc7134/include/
H A Dh2o.h104 typedef struct st_h2o_req_t h2o_req_t; typedef
1453 void h2o_init_request(h2o_req_t *req, h2o_conn_t *conn, h2o_req_t *src);
1457 void h2o_dispose_request(h2o_req_t *req);
1466 void h2o_process_request(h2o_req_t *req);
1474 void h2o_delegate_request(h2o_req_t *req);
1492 void h2o_replay_request(h2o_req_t *req);
1515 h2o_hostconf_t *h2o_req_setup(h2o_req_t *req);
1730 void h2o_resp_add_date_header(h2o_req_t *req);
1793 void h2o_send_informational(h2o_req_t *req);
1830 void h2o__proxy_process_request(h2o_req_t *req);
[all …]
/dports/www/h2o-devel/h2o-dcc7134/lib/core/
H A Drequest.c37 h2o_req_t *req;
51 h2o_req_t *req;
194 h2o_req_t *req = H2O_STRUCT_FROM_MEMBER(h2o_req_t, _timeout_entry, entry); in deferred_proceed_cb()
215 static void reset_response(h2o_req_t *req) in reset_response()
245 h2o_req_t *req = (void *)data; in on_default_error_callback()
256 void h2o_init_request(h2o_req_t *req, h2o_conn_t *conn, h2o_req_t *src) in h2o_init_request()
325 void h2o_dispose_request(h2o_req_t *req) in h2o_dispose_request()
366 void h2o_process_request(h2o_req_t *req) in h2o_process_request()
378 void h2o_delegate_request(h2o_req_t *req) in h2o_delegate_request()
477 void h2o_replay_request(h2o_req_t *req) in h2o_replay_request()
[all …]
H A Dproxy.c33 h2o_req_t *src_req;
47 static h2o_httpclient_ctx_t *get_client_ctx(h2o_req_t *req) in get_client_ctx()
118 static int req_requires_content_length(h2o_req_t *req) in req_requires_content_length()
135 static void build_request(h2o_req_t *req, h2o_iovec_t *method, h2o_url_t *url, h2o_headers_t *heade… in build_request()
309 static void do_stop(h2o_generator_t *generator, h2o_req_t *req) in do_stop()
342 static void do_proceed(h2o_generator_t *generator, h2o_req_t *req) in do_proceed()
420 h2o_req_t *req = self->src_req; in on_head()
600 h2o_req_t *req = self->src_req; in on_connect()
672 static struct rp_generator_t *proxy_send_prepare(h2o_req_t *req) in proxy_send_prepare()
692 void h2o__proxy_process_request(h2o_req_t *req) in h2o__proxy_process_request()
/dports/www/silicon/silicon-0.1-124-g91ca205/silicon/backends/
H A Dh2o.hh44 typedef h2o_req_t request_type;
79 void send(h2o_req_t* r, const std::string& m) const in send()
89 void serialize2(h2o_req_t* r, const std::string& res) const in serialize2()
94 void serialize2(h2o_req_t* r, const char* res) const in serialize2()
100 auto serialize2(h2o_req_t* r, const T& res) const in serialize2()
107 auto serialize(h2o_req_t* r, const T& res) const in serialize()
116 static int h2o_on_request(h2o_handler_t* self, h2o_req_t* req) in h2o_on_request()
292 auto s = service<h2o_json_service_utils, A, M, h2o_req_t*>(api, middlewares); in h2o_json_serve()
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/
H A Dheaders.c35 h2o_req_t *req;
40 static void on_setup_ostream(h2o_filter_t *_self, h2o_req_t *req, h2o_ostream_t **slot) in on_setup_ostream()
53 static void on_informational(h2o_filter_t *_self, h2o_req_t *req) in on_informational()
88 static int on_req(h2o_handler_t *_handler, h2o_req_t *req) in on_req()
H A Dthrottle_resp.c39 h2o_req_t *req;
76 static void on_send(h2o_ostream_t *_self, h2o_req_t *req, h2o_sendvec_t *inbufs, size_t inbufcnt, h… in on_send()
95 static void on_stop(h2o_ostream_t *_self, h2o_req_t *req) in on_stop()
102 static void on_setup_ostream(h2o_filter_t *self, h2o_req_t *req, h2o_ostream_t **slot) in on_setup_ostream()
H A Dfile.c47 h2o_req_t *req;
127 static int do_pread(h2o_sendvec_t *src, h2o_req_t *req, h2o_iovec_t dst, size_t off) in do_pread()
150 static void sendvec_update_refcnt(h2o_sendvec_t *vec, h2o_req_t *req, int is_incr) in sendvec_update_refcnt()
161 static void do_proceed(h2o_generator_t *_self, h2o_req_t *req) in do_proceed()
186 static void do_multirange_proceed(h2o_generator_t *_self, h2o_req_t *req) in do_multirange_proceed()
304 static void add_headers_unconditional(struct st_h2o_sendfile_generator_t *self, h2o_req_t *req) in add_headers_unconditional()
412 static int send_dir_listing(h2o_req_t *req, const char *path, size_t path_len, int is_get) in send_dir_listing()
573 static int try_dynamic_request(h2o_file_handler_t *self, h2o_req_t *req, char *rpath, size_t rpath_… in try_dynamic_request()
612 static void send_method_not_allowed(h2o_req_t *req) in send_method_not_allowed()
760 static int on_req(h2o_handler_t *_self, h2o_req_t *req) in on_req()
[all …]
H A Derrordoc.c45 static void on_prefilter_setup_stream(h2o_req_prefilter_t *_self, h2o_req_t *req, h2o_ostream_t **s… in on_prefilter_setup_stream()
70 static void on_ostream_send(h2o_ostream_t *self, h2o_req_t *req, h2o_sendvec_t *inbufs, size_t inbu… in on_ostream_send()
75 static int prefilter_is_registered(h2o_req_t *req) in prefilter_is_registered()
84 static void on_filter_setup_ostream(h2o_filter_t *_self, h2o_req_t *req, h2o_ostream_t **slot) in on_filter_setup_ostream()
H A Dreproxy.c24 static void on_send(h2o_ostream_t *self, h2o_req_t *req, h2o_sendvec_t *inbufs, size_t inbufcnt, h2… in on_send()
29 static void on_setup_ostream(h2o_filter_t *self, h2o_req_t *req, h2o_ostream_t **slot) in on_setup_ostream()
H A Dself_trace.c30 h2o_req_t *req;
101 static void do_proceed(h2o_generator_t *_self, h2o_req_t *_req) in do_proceed()
111 static int on_req(h2o_handler_t *handler, h2o_req_t *req) in on_req()
H A Dredirect.c46 static void redirect_internally(h2o_redirect_handler_t *self, h2o_req_t *req, h2o_iovec_t dest) in redirect_internally()
71 static int on_req(h2o_handler_t *_self, h2o_req_t *req) in on_req()
H A Dcompress.c40 static void do_send(h2o_ostream_t *_self, h2o_req_t *req, h2o_sendvec_t *inbufs, size_t inbufcnt, h… in do_send()
55 static void on_setup_ostream(h2o_filter_t *_self, h2o_req_t *req, h2o_ostream_t **slot) in on_setup_ostream()
165 h2o_send_state_t h2o_compress_transform(h2o_compress_context_t *self, h2o_req_t *req, h2o_sendvec_t… in h2o_compress_transform()
H A Dstatus.c49 h2o_req_t *req;
83 h2o_req_t *req; in send_response()
154 static int on_req_json(struct st_h2o_root_status_handler_t *self, h2o_req_t *req, h2o_iovec_t statu… in on_req_json()
199 static int on_req(h2o_handler_t *_self, h2o_req_t *req) in on_req()
H A Dfastcgi.c67 h2o_req_t *req;
181 static void append_address_info(h2o_req_t *req, iovec_vector_t *vecs, const char *addrlabel, size_t… in append_address_info()
216 static void append_params(h2o_req_t *req, iovec_vector_t *vecs, h2o_fastcgi_config_vars_t *config) in append_params()
381 static void build_request(h2o_req_t *req, iovec_vector_t *vecs, unsigned request_id, size_t max_rec… in build_request()
481 h2o_req_t *req = generator->req; in errorclose()
492 static int fill_headers(h2o_req_t *req, struct phr_header *headers, size_t num_headers) in fill_headers()
762 static void do_proceed(h2o_generator_t *_generator, h2o_req_t *req) in do_proceed()
770 static void do_stop(h2o_generator_t *_generator, h2o_req_t *req) in do_stop()
784 static int on_req(h2o_handler_t *_handler, h2o_req_t *req) in on_req()
/dports/www/h2o-devel/h2o-dcc7134/lib/
H A Dprobes_.h84 __attribute__((noinline)) static void h2o_probe_request_header(h2o_req_t *req, uint64_t req_index, … in h2o_probe_request_header()
90 __attribute__((noinline)) static void h2o_probe_response_header(h2o_req_t *req, uint64_t req_index,… in h2o_probe_response_header()
96 static inline void h2o_probe_log_request(h2o_req_t *req, uint64_t req_index) in h2o_probe_log_request()
116 static inline void h2o_probe_log_response(h2o_req_t *req, uint64_t req_index) in h2o_probe_log_response()
H A Dhttp1.c78 h2o_req_t req;
96 static void finalostream_send_informational(h2o_ostream_t *_self, h2o_req_t *req);
101 static int foreach_request(h2o_context_t *ctx, int (*cb)(h2o_req_t *req, void *cbdata), void *cbdat…
560 static void proceed_request(h2o_req_t *req, const char *errstr) in proceed_request()
866 static size_t flatten_headers_estimate_size(h2o_req_t *req, size_t server_name_and_connection_len) in flatten_headers_estimate_size()
878 static size_t flatten_res_headers(char *buf, h2o_req_t *req) in flatten_res_headers()
897 static size_t flatten_headers(char *buf, h2o_req_t *req, const char *connection) in flatten_headers()
922 static int should_use_chunked_encoding(h2o_req_t *req) in should_use_chunked_encoding()
940 static void setup_chunked(struct st_h2o_http1_finalostream_t *self, h2o_req_t *req) in setup_chunked()
1119 static void finalostream_send_informational(h2o_ostream_t *_self, h2o_req_t *req) in finalostream_send_informational()
[all …]
/dports/www/h2o-devel/h2o-dcc7134/include/h2o/
H A Dwebsocket.h50 int h2o_is_websocket_handshake(h2o_req_t *req, const char **client_key);
51 h2o_websocket_conn_t *h2o_upgrade_to_websocket(h2o_req_t *req, const char *client_key, void *user_d…
H A Dhttp2.h43 int h2o_http2_handle_upgrade(h2o_req_t *req, struct timeval connected_at);
/dports/www/h2o-devel/h2o-dcc7134/examples/libh2o/
H A Dsimple.c38 …er_handler(h2o_hostconf_t *hostconf, const char *path, int (*on_req)(h2o_handler_t *, h2o_req_t *)) in register_handler() argument
46 static int chunked_test(h2o_handler_t *self, h2o_req_t *req) in chunked_test()
63 static int reproxy_test(h2o_handler_t *self, h2o_req_t *req) in reproxy_test()
76 static int post_test(h2o_handler_t *self, h2o_req_t *req) in post_test()
/dports/www/h2o-devel/h2o-dcc7134/lib/http2/
H A Dstream.c28 static void finalostream_send(h2o_ostream_t *self, h2o_req_t *req, h2o_sendvec_t *bufs, size_t bufc…
29 static void finalostream_send_informational(h2o_ostream_t *_self, h2o_req_t *req);
36 h2o_http2_stream_t *h2o_http2_stream_open(h2o_http2_conn_t *conn, uint32_t stream_id, h2o_req_t *sr… in h2o_http2_stream_open()
193 static int is_blocking_asset(h2o_req_t *req) in is_blocking_asset()
335 void finalostream_send(h2o_ostream_t *self, h2o_req_t *req, h2o_sendvec_t *bufs, size_t bufcnt, h2o… in finalostream_send()
386 static void finalostream_send_informational(h2o_ostream_t *self, h2o_req_t *req) in finalostream_send_informational()
H A Dconnection.c55 static void proceed_request(h2o_req_t *req, const char *errstr);
861 void proceed_request(h2o_req_t *req, const char *errstr) in proceed_request()
1599 static h2o_iovec_t log_stream_id(h2o_req_t *req) in DEFINE_LOGGER()
1607 static h2o_iovec_t log_priority_received(h2o_req_t *req) in log_priority_received()
1616 static h2o_iovec_t log_priority_received_exclusive(h2o_req_t *req) in log_priority_received_exclusive()
1622 static h2o_iovec_t log_priority_received_parent(h2o_req_t *req) in log_priority_received_parent()
1630 static h2o_iovec_t log_priority_received_weight(h2o_req_t *req) in log_priority_received_weight()
1649 static h2o_iovec_t log_priority_actual(h2o_req_t *req) in log_priority_actual()
1659 static h2o_iovec_t log_priority_actual_parent(h2o_req_t *req) in log_priority_actual_parent()
1668 static h2o_iovec_t log_priority_actual_weight(h2o_req_t *req) in log_priority_actual_weight()
[all …]
/dports/www/h2o-devel/h2o-dcc7134/lib/http3/
H A Dserver.c238 h2o_req_t req;
512 static h2o_iovec_t log_cc_name(h2o_req_t *req) in log_cc_name()
522 static h2o_iovec_t log_delivery_rate(h2o_req_t *req) in log_delivery_rate()
548 static h2o_iovec_t log_cipher(h2o_req_t *req) in log_cipher()
556 static h2o_iovec_t log_cipher_bits(h2o_req_t *req) in log_cipher_bits()
568 static h2o_iovec_t log_session_id(h2o_req_t *_req) in log_session_id()
574 static h2o_iovec_t log_server_name(h2o_req_t *req) in log_server_name()
590 static h2o_iovec_t log_stream_id(h2o_req_t *_req) in log_stream_id()
597 static h2o_iovec_t log_quic_stats(h2o_req_t *req) in log_quic_stats()
649 static h2o_iovec_t log_quic_version(h2o_req_t *_req) in log_quic_version()
[all …]
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/pubseq_gateway/server/
H A Dhttp_server_transport.hpp112 CHttpReply(h2o_req_t * req, CHttpProto<P> * proto, in CHttpReply()
399 static void s_StopCB(h2o_generator_t * _generator, h2o_req_t * req) in s_StopCB()
411 static void s_ProceedCB(h2o_generator_t * _generator, h2o_req_t * req) in s_ProceedCB()
630 h2o_req_t * m_Req;
908 CHttpRequest(h2o_req_t * req) : in CHttpRequest()
971 h2o_req_t * m_Req;
1121 int OnHttpRequest(CHttpGateHandler<P> * rh, h2o_req_t * req, const char * cd_uid) in OnHttpRequest()
1351 static int s_OnHttpRequest(h2o_handler_t * self, h2o_req_t * req) in s_OnHttpRequest()
/dports/www/h2o-devel/h2o-dcc7134/lib/handler/status/
H A Drequests.c36 static int collect_req_status(h2o_req_t *req, void *_cbdata) in collect_req_status()
145 static h2o_iovec_t requests_status_final(void *priv, h2o_globalconf_t *gconf, h2o_req_t *req) in requests_status_final()
/dports/www/h2o-devel/h2o-dcc7134/fuzz/
H A Ddriver_common.h31 …r_handler(h2o_hostconf_t *hostconf, const char *path, int (*on_req)(h2o_handler_t *, h2o_req_t *));

123