mirror of https://git.kore.io/kore.git
Make sure user agent is still set properly.
This commit is contained in:
parent
c3401fe348
commit
6ac15d37cb
|
@ -169,9 +169,6 @@ http_request_new(struct connection *c, const char *host,
|
|||
TAILQ_INIT(&(req->arguments));
|
||||
TAILQ_INIT(&(req->files));
|
||||
|
||||
if (!http_request_header(req, "user-agent", &(req->agent)))
|
||||
req->agent = "unknown";
|
||||
|
||||
#if defined(KORE_USE_TASKS)
|
||||
LIST_INIT(&(req->tasks));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue