src/server/daemon/httprequest.c

changeset 162
b169992137a8
parent 161
aadda87bad1b
child 168
5c752979bfd6
equal deleted inserted replaced
161:aadda87bad1b 162:b169992137a8
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