FreeRDP/channels
Daniel Bungert 475a44f0e2 Free incompletely initialized dvcs.
If dynamic channels are not completely initialized, the server will
reuse those channel numbers for new channels.
This causes interesting problems when the server asks for a channel
by number, as we can end up with multiple channels with the same number.

Log example of the problem:
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=PNPDR
DBG_DVC drdynvc_process_create_request (265): no listener
DBG_DVC drdynvc_process_receive (341): Cmd=0x1
DBG_DVC drdynvc_process_create_request (249): ChannelId=0 ChannelName=TSMF
DBG_DVC tsmf_on_new_channel_connection (378):
DBG_DVC dvcman_create_channel (415): listener TSMF created new channel 0
DBG_DVC drdynvc_process_create_request (260): channel created
DBG_DVC drdynvc_process_receive (341): Cmd=0x3
DBG_DVC drdynvc_process_data (311): ChannelId=0
Warning dvcman_receive_channel_data (517): ChannelId 0 not ready!

In this log, we received data intended for TSMF, but the channel lookup
found the incompletely initialized PNPDR.
2013-06-11 16:49:27 -04:00
..
audin freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
client xfreerdp: fix initialization when multitouch hardware is not present 2013-05-15 11:39:28 -04:00
cliprdr libfreerdp-client: export and register successfully interface pointer for channel 2013-05-12 21:23:12 -04:00
drdynvc Free incompletely initialized dvcs. 2013-06-11 16:49:27 -04:00
drive freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
echo libfreerdp-utils: purge old STREAM utils 2013-03-21 16:45:25 -04:00
parallel freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
printer channels/printer: fix printer redirection and test with cups-pdf 2013-05-20 15:50:22 -04:00
rail freerdp: make use of stream macros to access members 2013-05-15 12:14:26 -04:00
rdpdr freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
rdpei freerdp: merge with master 2013-06-05 10:31:01 -04:00
rdpsnd channels/rdpsnd: fix potential uninitialized value 2013-05-25 15:49:44 -04:00
sample freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
serial freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
server channels/server: provide error codes to distinguish between not-registered and not-ready state. 2013-05-19 16:46:02 -07:00
smartcard freerdp: purge deprecated stream utils 2013-05-08 17:48:30 -04:00
tsmf channels/tsmf: fix set source video rect 2013-05-29 12:21:54 -04:00
urbdrc Replace printf(...) by fprintf(stderr, ...) 2013-03-28 23:06:34 +01:00
CMakeLists.txt channels: cmake cleanup, USB redirection refactoring 2012-11-20 19:34:52 -05:00