]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
vss: Let the transport specify whether periodic headers are necessary.
[paraslash.git] / dccp_send.c
index 41aaf234da6ce89da2e25ce30871405f663cac38..38e4b7c822e20a209c278a219e28b3121578a305 100644 (file)
@@ -145,6 +145,7 @@ static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)
        dfc->fcp.slices_per_group       = conf.dccp_slices_per_group_arg;
        dfc->fcp.init_fec               = dccp_init_fec;
        dfc->fcp.send_fec               = dccp_send_fec;
+       dfc->fcp.need_periodic_header   = false;
        dfc->fc = vss_add_fec_client(sc, &dfc->fcp);
 }
 
@@ -155,6 +156,7 @@ static int dccp_com_on(__a_unused struct sender_command_data *scd)
 
 static int dccp_com_off(__a_unused struct sender_command_data *scd)
 {
+       dccp_shutdown_clients();
        generic_com_off(dss);
        return 1;
 }