Home
last modified time | relevance | path

Searched refs:cookies (Results 1 – 8 of 8) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dwebsocket_router_request.js38 this.cookies = webSocketRequest.cookies;
43 WebSocketRouterRequest.prototype.accept = function(origin, cookies) { argument
44 var connection = this.webSocketRequest.accept(this.protocol, origin, cookies);
H A Dwebsocket_request.js181 this.cookies = this.parseCookies(cookieString);
218 var cookies = [];
224 cookies.push({
239 cookies.push({
245 return cookies;
248 WebSocketRequest.prototype.accept = function(acceptedProtocol, allowedOrigin, cookies) { argument
299 if (cookies) {
300 if (!Array.isArray(cookies)) {
305 cookies.forEach(function(cookie) {
/unit/test/java/cookies/
H A Dapp.java18 Cookie[] cookies = request.getCookies(); in doGet() local
19 if (cookies != null) { in doGet()
20 for (Cookie c : cookies) { in doGet()
/unit/src/
H A Dnxt_http_request.c34 static nxt_int_t nxt_http_cookie_parse(nxt_array_t *cookies, u_char *start,
985 nxt_array_t *cookies; in nxt_http_cookies_parse() local
988 if (r->cookies != NULL) { in nxt_http_cookies_parse()
989 return r->cookies; in nxt_http_cookies_parse()
993 if (nxt_slow_path(cookies == NULL)) { in nxt_http_cookies_parse()
1006 ret = nxt_http_cookie_parse(cookies, f->value, in nxt_http_cookies_parse()
1014 r->cookies = cookies; in nxt_http_cookies_parse()
1016 return cookies; in nxt_http_cookies_parse()
1021 nxt_http_cookie_parse(nxt_array_t *cookies, u_char *start, const u_char *end) in nxt_http_cookie_parse() argument
1046 nv = nxt_http_cookie(cookies, name, name_length, start, p); in nxt_http_cookie_parse()
[all …]
H A Dnxt_http_route.c49 nxt_conf_value_t *cookies; member
333 offsetof(nxt_http_route_match_conf_t, cookies),
529 if (mtcf.cookies != NULL) { in nxt_http_route_match_create()
530 table = nxt_http_route_table_create(task, mp, mtcf.cookies, in nxt_http_route_match_create()
1980 nxt_array_t *cookies; in nxt_http_route_cookies() local
1982 cookies = nxt_http_cookies_parse(r); in nxt_http_route_cookies()
1983 if (nxt_slow_path(cookies == NULL)) { in nxt_http_route_cookies()
1987 return nxt_http_route_test_cookie(r, rule, cookies); in nxt_http_route_cookies()
H A Dnxt_http.h153 nxt_array_t *cookies; /* of nxt_http_name_value_t */ member
/unit/src/java/nginx/unit/
H A DRequest.java82 protected CookieCutter cookies = null; field in Request
179 if (cookies == null || cookies.getCookies().length == 0) { in getCookies()
183 return cookies.getCookies(); in getCookies()
190 cookies = new CookieCutter(); in parseCookies()
195 cookies.addCookieField(cookie_headers.nextElement()); in parseCookies()
422 Cookie[] cookies = getCookies(); in parseRequestSessionId() local
423 if (cookies == null) { in parseRequestSessionId()
432 for (Cookie c : cookies) { in parseRequestSessionId()
/unit/
H A DCHANGES512 *) Change: matching of cookies in routes made case sensitive.
537 *) Feature: request routing by arguments, headers, and cookies.