135 return fl; |
135 return fl; |
136 } |
136 } |
137 // end remove |
137 // end remove |
138 |
138 |
139 HttpListener *listener = malloc(sizeof(HttpListener)); |
139 HttpListener *listener = malloc(sizeof(HttpListener)); |
|
140 listener->cfg = conf->cfg; |
140 listener->name = conf->name; |
141 listener->name = conf->name; |
141 listener->default_vs.vs_name = conf->vs.ptr; |
142 listener->default_vs.vs_name = conf->vs.ptr; |
142 if(conf->threadpool.ptr != NULL) { |
143 if(conf->threadpool.ptr != NULL) { |
143 listener->threadpool = get_threadpool(conf->threadpool); |
144 listener->threadpool = get_threadpool(conf->threadpool); |
144 } |
145 } |