src/worker/wkr_http.h in webroar-0.3.1 vs src/worker/wkr_http.h in webroar-0.4.0
- old
+ new
@@ -17,28 +17,28 @@
* along with WebROaR. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WKR_HTTP_H_
#define WKR_HTTP_H_
-#include <wkr_http_response.h>
+#include <wkr_static.h>
+
typedef struct http_s http_t;
/******* HTTP structure *********/
struct http_s {
void *wkr;
http_req_t *req;
http_resp_t *resp;
- short is_static;
-#ifdef L_DEBUG
+ static_server_t *stat;
+#ifdef L_DEBUG
wr_u_int conn_id;
wr_u_int req_id;
#endif
};
http_t* http_new(void *worker);
-void http_set(http_t*);
void http_free(http_t**);
void http_req_process();
#endif /*WKR_HTTP_H_*/