Home
last modified time | relevance | path

Searched refs:auth_state (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavformat/
Dhttp.c73 HTTPAuthState auth_state; member
156 …{ "auth_type", "HTTP authentication type", OFFSET(auth_state.auth_type), AV_OPT_TYPE_INT, { .i64 =…
184 memcpy(&((HTTPContext *)dest->priv_data)->auth_state, in ff_http_init_auth_state()
185 &((HTTPContext *)src->priv_data)->auth_state, in ff_http_init_auth_state()
313 cur_auth_type = s->auth_state.auth_type; in http_open_cnx()
314 cur_proxy_auth_type = s->auth_state.auth_type; in http_open_cnx()
338 if ((cur_auth_type == HTTP_AUTH_NONE || s->auth_state.stale) && in http_open_cnx()
339 s->auth_state.auth_type != HTTP_AUTH_NONE && attempts < 4) { in http_open_cnx()
362 memset(&s->auth_state, 0, sizeof(s->auth_state)); in http_open_cnx()
727 (http_code != 401 || s->auth_state.auth_type != HTTP_AUTH_NONE) && in check_http_code()
[all …]
Drtsp.h285 HTTPAuthState auth_state; member
Drtsp.c1127 ff_http_auth_handle_header(&rt->auth_state, "WWW-Authenticate", p); in ff_rtsp_parse_line()
1130 ff_http_auth_handle_header(&rt->auth_state, "Authentication-Info", p); in ff_rtsp_parse_line()
1361 char *str = ff_http_auth_create_response(&rt->auth_state, in rtsp_send_cmd_with_content_async()
1419 cur_auth_type = rt->auth_state.auth_type; in ff_rtsp_send_cmd_with_content()
1430 (cur_auth_type == HTTP_AUTH_NONE || rt->auth_state.stale) && in ff_rtsp_send_cmd_with_content()
1431 rt->auth_state.auth_type != HTTP_AUTH_NONE && attempts < 2) in ff_rtsp_send_cmd_with_content()
Drtspdec.c934 rt->auth_state.stale) { in rtsp_read_packet()
945 rt->auth_state.stale = 0; in rtsp_read_packet()