Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 10 of 10) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dwebsocket_request.js305 cookies.forEach(function(cookie) { argument
306 if (!cookie.name || !cookie.value) {
312 cookie.name = cookie.name.replace(controlCharsAndSemicolonRegEx, '');
313 cookie.value = cookie.value.replace(controlCharsAndSemicolonRegEx, '');
340 var cookieParts = [cookie.name + '=' + cookie.value];
344 if(cookie.path){
355 if (cookie.domain) {
370 if (cookie.expires) {
380 if (cookie.maxage) {
395 if (cookie.secure) {
[all …]
/unit/src/
H A Dnxt_app_queue.h51 uint8_t size, uint32_t tracking, int *notify, uint32_t *cookie) in nxt_app_queue_send() argument
67 *cookie = i; in nxt_app_queue_send()
89 nxt_app_queue_cancel(nxt_app_queue_t volatile *q, uint32_t cookie, in nxt_app_queue_cancel() argument
94 qi = (nxt_app_queue_item_t *) &q->items[cookie]; in nxt_app_queue_cancel()
101 nxt_app_queue_recv(nxt_app_queue_t volatile *q, void *p, uint32_t *cookie) in nxt_app_queue_recv() argument
109 *cookie = 0; in nxt_app_queue_recv()
117 *cookie = i; in nxt_app_queue_recv()
H A Dnxt_php_sapi.c55 char *cookie; member
1065 ctx->cookie = nxt_unit_sptr_get(&f->value);
1282 return ctx->cookie;
H A Dnxt_http.h157 nxt_http_field_t *cookie; member
H A Dnxt_unit.c1939 static nxt_str_t cookie = nxt_string("cookie"); in nxt_unit_request_group_dup_fields() local
1971 if (fields[i].name_length == cookie.length in nxt_unit_request_group_dup_fields()
1972 && nxt_unit_memcasecmp(name, cookie.start, in nxt_unit_request_group_dup_fields()
1973 cookie.length) == 0) in nxt_unit_request_group_dup_fields()
6256 uint32_t cookie; in nxt_unit_app_queue_recv() local
6272 rbuf->size = nxt_app_queue_recv(queue, rbuf->buf, &cookie); in nxt_unit_app_queue_recv()
6279 if (nxt_app_queue_cancel(queue, cookie, port_msg->stream)) { in nxt_unit_app_queue_recv()
H A Dnxt_h1proto.c169 offsetof(nxt_http_request_t, cookie) },
H A Dnxt_router.c5658 } else if (field == r->cookie) { in nxt_router_prepare_msg()
/unit/src/java/nginx/unit/
H A DResponse.java154 public void addCookie(Cookie cookie) in addCookie() argument
156 trace("addCookie: " + cookie.getName() + "=" + cookie.getValue()); in addCookie()
166 addCookie_(cookie); in addCookie()
169 private void addCookie_(Cookie cookie) in addCookie_() argument
179 cookie.getValue(), in addCookie_()
180 cookie.getDomain(), in addCookie_()
181 cookie.getPath(), in addCookie_()
182 cookie.getMaxAge(), in addCookie_()
183 cookie.getSecure(), in addCookie_()
189 trace("addSessionIdCookie: " + cookie.getName() + "=" + cookie.getValue()); in addSessionIdCookie()
[all …]
H A DIncludeResponseWrapper.java22 public void addCookie(Cookie cookie) in addCookie() argument
24 trace("addCookie: " + cookie.getName() + "=" + cookie.getValue()); in addCookie()
/unit/test/
H A Dtest_routing.py43 def cookie(self, cookie, status): argument
48 'Cookie': cookie,
1384 self.cookie('foO=bar', 200)
1385 self.cookie('foO=bar;1', 200)
1388 self.cookie('Foo=bar', 404)
1389 self.cookie('foO=Bar', 404)
1390 self.cookie('foO=bar1', 404)
1391 self.cookie('1foO=bar;', 404)
1446 self.cookie('var3=bar', 200)
1448 self.cookie('var1=bar', 404)
[all …]