Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dhttp.c78 HTTPAuthState auth_state; member
163 …{ "auth_type", "HTTP authentication type", OFFSET(auth_state.auth_type), AV_OPT_TYPE_INT, { .i64 =…
192 memcpy(&((HTTPContext *)dest->priv_data)->auth_state, in ff_http_init_auth_state()
193 &((HTTPContext *)src->priv_data)->auth_state, in ff_http_init_auth_state()
376 cur_auth_type = s->auth_state.auth_type; in http_open_cnx()
377 cur_proxy_auth_type = s->auth_state.auth_type; in http_open_cnx()
401 if ((cur_auth_type == HTTP_AUTH_NONE || s->auth_state.stale) && in http_open_cnx()
402 s->auth_state.auth_type != HTTP_AUTH_NONE && attempts < 4) { in http_open_cnx()
438 memset(&s->auth_state, 0, sizeof(s->auth_state)); in http_open_cnx()
805 (http_code != 401 || s->auth_state.auth_type != HTTP_AUTH_NONE) && in check_http_code()
[all …]
Drtsp.h283 HTTPAuthState auth_state; member
Drtsp.c1126 ff_http_auth_handle_header(&rt->auth_state, "WWW-Authenticate", p); in ff_rtsp_parse_line()
1129 ff_http_auth_handle_header(&rt->auth_state, "Authentication-Info", p); in ff_rtsp_parse_line()
1368 char *str = ff_http_auth_create_response(&rt->auth_state, in rtsp_send_cmd_with_content_async()
1426 cur_auth_type = rt->auth_state.auth_type; in ff_rtsp_send_cmd_with_content()
1437 (cur_auth_type == HTTP_AUTH_NONE || rt->auth_state.stale) && in ff_rtsp_send_cmd_with_content()
1438 rt->auth_state.auth_type != HTTP_AUTH_NONE && attempts < 2) in ff_rtsp_send_cmd_with_content()
Drtspdec.c943 rt->auth_state.stale) { in rtsp_read_packet()
954 rt->auth_state.stale = 0; in rtsp_read_packet()