diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2015-04-28 22:06:31 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2015-04-28 22:06:31 +0200 |
commit | 080d5e16db802902200a9ce5b6c40f8f1fdc1f73 (patch) | |
tree | 69845ca856fe6817f103544e88541d80411fe9a8 /modules/lua/lua_request.c | |
parent | cb35beef2a938b80c9e4b5d6a408eca437aa74db (diff) | |
download | apache2-080d5e16db802902200a9ce5b6c40f8f1fdc1f73.tar.gz |
Imported Upstream version 2.4.12
Diffstat (limited to 'modules/lua/lua_request.c')
-rw-r--r-- | modules/lua/lua_request.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/lua/lua_request.c b/modules/lua/lua_request.c index 8b740c22..6dc6b9f5 100644 --- a/modules/lua/lua_request.c +++ b/modules/lua/lua_request.c @@ -2086,13 +2086,13 @@ static int lua_set_cookie(lua_State *L) if (expires > 0) { rv = apr_rfc822_date(cdate, apr_time_from_sec(expires)); if (rv == APR_SUCCESS) { - strexpires = apr_psprintf(r->pool, "Expires=\"%s\";", cdate); + strexpires = apr_psprintf(r->pool, "Expires=%s;", cdate); } } /* Create path segment */ if (path != NULL && strlen(path) > 0) { - strpath = apr_psprintf(r->pool, "Path=\"%s\";", path); + strpath = apr_psprintf(r->pool, "Path=%s;", path); } /* Create domain segment */ @@ -2171,13 +2171,13 @@ static int lua_websocket_greet(lua_State *L) r->read_chunked = 0; ap_rflush(r); ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, - "Websocket: Upgraded from HTTP to Websocket"); + "Websocket: Upgraded from HTTP to Websocket"); lua_pushboolean(L, 1); return 1; } } - ap_log_rerror(APLOG_MARK, APLOG_NOTICE, 0, r, - "Websocket: Upgrade from HTTP to Websocket failed"); + ap_log_rerror(APLOG_MARK, APLOG_NOTICE, 0, r, APLOGNO(02666) + "Websocket: Upgrade from HTTP to Websocket failed"); return 0; } |