FEC: ensure that the client loads the FEC framework as soon as possible
@@ -7,7 +7,7 @@ protoop_arg_t connection_state_changed(picoquic_cnx_t *cnx)
{
// We ensure to laod the FEC frameworks and schemes as soon as possible in the connection life
picoquic_state_enum from_state = (picoquic_state_enum) get_cnx(cnx, AK_CNX_INPUT, 0);
- if (from_state == picoquic_state_client_almost_ready || from_state == picoquic_state_server_almost_ready)
+ if (from_state == picoquic_state_client_init || from_state == picoquic_state_server_almost_ready)
get_bpf_state(cnx);
return 0;
}
\ No newline at end of file
