79 |
79 |
80 /* |
80 /* |
81 * starts request processing after reading the request header |
81 * starts request processing after reading the request header |
82 * |
82 * |
83 * request: request object |
83 * request: request object |
84 * pool: current thread pool or NULL |
84 * thrpool: current thread pool or NULL |
85 */ |
85 */ |
86 int handle_request(HTTPRequest *request, threadpool_t *pool, EventHandler *ev); |
86 int handle_request(HTTPRequest *request, threadpool_t *thrpool, EventHandler *ev); |
87 |
87 |
|
88 /* |
|
89 * called by handle_request |
|
90 */ |
|
91 int nsapi_start_request( |
|
92 HTTPRequest *request, |
|
93 threadpool_t *thrpool, |
|
94 EventHandler *ev, |
|
95 pool_handle_t *pool); |
88 |
96 |
89 |
97 |
90 void header_add(HeaderArray *hd, cxmutstr name, cxmutstr value); |
98 void header_add(HeaderArray *hd, cxmutstr name, cxmutstr value); |
91 void header_array_free(HeaderArray *hd); |
99 void header_array_free(HeaderArray *hd); |
92 |
100 |