| 28 |
28 |
| 29 #include "proxy.h" |
29 #include "proxy.h" |
| 30 |
30 |
| 31 #include "../util/pblock.h" |
31 #include "../util/pblock.h" |
| 32 |
32 |
| |
33 #include "../proxy/httpclient.h" |
| |
34 |
| 33 int http_reverse_proxy_service(pblock *param, Session *sn, Request *rq) { |
35 int http_reverse_proxy_service(pblock *param, Session *sn, Request *rq) { |
| |
36 EventHandler *ev = sn->ev; |
| |
37 |
| |
38 HttpClient *client = http_client_new(ev); |
| 34 |
39 |
| 35 |
40 |
| 36 |
41 |
| 37 EventHandler *ev = sn->ev; |
42 return REQ_PROCESSING; |
| 38 |
|
| 39 return REQ_ABORTED; |
|
| 40 } |
43 } |