src/server/daemon/httprequest.c

changeset 161
aadda87bad1b
parent 154
6394ce09889a
child 162
b169992137a8
equal deleted inserted replaced
160:389bd0e1ffa9 161:aadda87bad1b
87 return S("/"); 87 return S("/");
88 } 88 }
89 89
90 int handle_request(HTTPRequest *request, threadpool_t *thrpool) { 90 int handle_request(HTTPRequest *request, threadpool_t *thrpool) {
91 // handle nsapi request 91 // handle nsapi request
92 92
93 // create pool 93 // create pool
94 pool_handle_t *pool = pool_create(); 94 pool_handle_t *pool = pool_create();
95 95
96 // create nsapi data structures 96 // create nsapi data structures
97 NSAPISession *sn = pool_malloc(pool, sizeof(NSAPISession)); 97 NSAPISession *sn = pool_malloc(pool, sizeof(NSAPISession));

mercurial