mirror of https://git.kore.io/kore.git
Make http_status_text() available everywhere
This commit is contained in:
parent
6e6b042388
commit
873c68b515
|
@ -202,6 +202,7 @@ extern u_int16_t http_keepalive_time;
|
||||||
|
|
||||||
void http_init(void);
|
void http_init(void);
|
||||||
void http_process(void);
|
void http_process(void);
|
||||||
|
char *http_status_text(int);
|
||||||
time_t http_date_to_time(char *);
|
time_t http_date_to_time(char *);
|
||||||
void http_request_free(struct http_request *);
|
void http_request_free(struct http_request *);
|
||||||
void http_request_sleep(struct http_request *);
|
void http_request_sleep(struct http_request *);
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "tasks.h"
|
#include "tasks.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char *http_status_text(int);
|
|
||||||
static int http_post_data_recv(struct netbuf *);
|
static int http_post_data_recv(struct netbuf *);
|
||||||
static void http_error_response(struct connection *,
|
static void http_error_response(struct connection *,
|
||||||
struct spdy_stream *, int);
|
struct spdy_stream *, int);
|
||||||
|
@ -1236,7 +1235,7 @@ http_response_normal(struct http_request *req, struct connection *c,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
char *
|
||||||
http_status_text(int status)
|
http_status_text(int status)
|
||||||
{
|
{
|
||||||
char *r;
|
char *r;
|
||||||
|
|
Loading…
Reference in New Issue