Home
last modified time | relevance | path

Searched refs:cookies (Results 1 – 9 of 9) 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,
990 nxt_array_t *cookies; in nxt_http_cookies_parse() local
993 if (r->cookies != NULL) { in nxt_http_cookies_parse()
994 return r->cookies; in nxt_http_cookies_parse()
998 if (nxt_slow_path(cookies == NULL)) { in nxt_http_cookies_parse()
1011 ret = nxt_http_cookie_parse(cookies, f->value, in nxt_http_cookies_parse()
1019 r->cookies = cookies; in nxt_http_cookies_parse()
1021 return cookies; in nxt_http_cookies_parse()
1026 nxt_http_cookie_parse(nxt_array_t *cookies, u_char *start, const u_char *end) in nxt_http_cookie_parse() argument
1048 nv = nxt_http_cookie(cookies, name, name_length, start, p); in nxt_http_cookie_parse()
[all …]
H A Dnxt_http_variables.c445 nxt_array_t *cookies; in nxt_http_var_cookie() local
457 cookies = nxt_http_cookies_parse(r); in nxt_http_var_cookie()
458 if (nxt_slow_path(cookies == NULL)) { in nxt_http_var_cookie()
462 nv = cookies->elts; in nxt_http_var_cookie()
463 end = nv + cookies->nelts; in nxt_http_var_cookie()
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()
1991 nxt_array_t *cookies; in nxt_http_route_cookies() local
1993 cookies = nxt_http_cookies_parse(r); in nxt_http_route_cookies()
1994 if (nxt_slow_path(cookies == NULL)) { in nxt_http_route_cookies()
1998 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 DCHANGES551 *) Change: matching of cookies in routes made case sensitive.
576 *) Feature: request routing by arguments, headers, and cookies.