{"reconnect","auto reconnect after disconnect before EOF",OFFSET(reconnect),AV_OPT_TYPE_INT,{.i64=0},0,1,D},
{"reconnect_at_eof","auto reconnect at EOF",OFFSET(reconnect_at_eof),AV_OPT_TYPE_INT,{.i64=0},0,1,D},
{"reconnect_streamed","auto reconnect streamed / non seekable streams",OFFSET(reconnect_streamed),AV_OPT_TYPE_INT,{.i64=0},0,1,D},
{"reconnect_delay_max","max reconnect delay in seconds after which to give up",OFFSET(reconnect_delay_max),AV_OPT_TYPE_INT,{.i64=120},0,UINT_MAX/1000/1000,D},
{"listen","listen on HTTP",OFFSET(listen),AV_OPT_TYPE_INT,{.i64=0},0,2,D|E},
{"resource","The resource requested by a client",OFFSET(resource),AV_OPT_TYPE_STRING,{.str=NULL},0,0,E},
{"reply_code","The http status code to return to a client",OFFSET(reply_code),AV_OPT_TYPE_INT,{.i64=200},INT_MIN,599,E},
...
...
@@ -1250,6 +1252,10 @@ static int http_read_stream(URLContext *h, uint8_t *buf, int size)