RetroArch/network
Gregor Richards fb3c35dc9f Handle forwarding of netplay state demotions correctly.
Netplay state demotions, i.e. changes from playing to spectating or
disconnected states, could cause chain disconnections of all other
clients. This was due to a bug in when MODE change messages were sent.
Clients rely on the server sending all messages in its own order, and as
a consequence, the server typically holds messages for retransmission
until they can be retransmitted at the correct time. MODE messages were
not held, so could be sent early. When they were sent early, this caused
other clients to panic and disconnect.

A smaller but much stupider secondary bug was also fixed, in which the
first connection could be dropped due simply to writing connections[0]
instead of connections[i] somewhere.
2017-06-06 21:35:09 -04:00
..
httpserver Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
netplay Handle forwarding of netplay state demotions correctly. 2017-06-06 21:35:09 -04:00
net_http_special.c add HTTP POST support 2017-03-05 14:19:34 -05:00
net_http_special.h Header update 2017-01-22 13:40:32 +01:00
net_logger.c Header update 2017-01-22 13:40:32 +01:00