Lines Matching refs:expires
407 if(co->expires && co->expires < now) { in remove_expired()
422 if(co->expires && co->expires < cookies->next_expiration) in remove_expired()
423 cookies->next_expiration = co->expires; in remove_expired()
734 &co->expires); in Curl_cookie_add()
738 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
742 co->expires = 1; in Curl_cookie_add()
745 if(!co->expires) in Curl_cookie_add()
747 co->expires = 1; in Curl_cookie_add()
748 else if(CURL_OFF_T_MAX - now < co->expires) in Curl_cookie_add()
750 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
752 co->expires += now; in Curl_cookie_add()
758 if(!co->expires && (vlen < sizeof(date))) { in Curl_cookie_add()
768 co->expires = Curl_getdate_capped(date); in Curl_cookie_add()
775 if(co->expires == 0) in Curl_cookie_add()
776 co->expires = 1; in Curl_cookie_add()
777 else if(co->expires < 0) in Curl_cookie_add()
778 co->expires = 0; in Curl_cookie_add()
943 if(curlx_strtoofft(ptr, NULL, 10, &co->expires)) in Curl_cookie_add()
1007 !co->expires) { /* this is a session cookie since it doesn't expire! */ in Curl_cookie_add()
1170 co->domain, co->path, co->expires); in Curl_cookie_add()
1185 if(co->expires && (co->expires < c->next_expiration)) in Curl_cookie_add()
1186 c->next_expiration = co->expires; in Curl_cookie_add()
1365 d->expires = src->expires; in dup_cookie()
1552 if(!curr->expires) { in Curl_cookie_clearsess()
1615 co->expires, in get_netscape_format()