xwords/xwords4/relay
Eric House f06e7bdd98 don't drop duplicate reconnect
When Android client is backgrounded with a game playing (BoardActivity
on top) then brought to front again it fails to reconnect to relay
because it didn't disconnect and the relay thinks it's still there. The
right fix is in making the java code do the right thing (complete
disconnect), but it seems harmless to just honor the reconnect in this
case. Doesn't even cause leaks, per valgrind.
2017-06-06 06:27:58 -07:00
..
scripts improve game query script to filter on connnames and clarify filter param 2016-06-12 18:30:19 -07:00
.gitignore ignore valgrind core files 2013-11-14 21:48:06 -08:00
addrinfo.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
addrinfo.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
cidlock.cpp printf -> catf missed because in ifdef 2013-10-09 20:40:21 -07:00
cidlock.h allow a thread to get a cidlock it already has. 2013-06-17 07:26:54 -07:00
configs.cpp update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
configs.h up copyright 2009-07-30 12:54:17 +00:00
cref.cpp don't drop duplicate reconnect 2017-06-06 06:27:58 -07:00
cref.h signature change: return void instead of always returning true 2014-12-15 15:33:12 -08:00
crefmgr.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
crefmgr.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
ctrl.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
ctrl.h add missing lock(); track and display uptime of daemon child as well as parent 2009-07-31 12:56:04 +00:00
dbmgr.cpp fix compiler warning 2016-01-21 06:25:19 -08:00
dbmgr.h manual bring-over of relay changes for invite support 2015-07-11 08:08:22 -07:00
devid.h update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
devmgr.cpp rename printf -> catf; no other changes 2013-10-09 20:20:45 -07:00
devmgr.h cleanup 2013-09-05 07:53:47 -07:00
http.cpp get rid of mapping of socket->game_connection, which will not work 2013-01-12 16:09:24 -08:00
http.h serve http view from cached data and make cache refresh rate 2009-08-21 12:32:57 +00:00
lstnrmgr.cpp fix compile errors due to stricter compiler post debian upgrade 2013-05-29 06:36:54 -07:00
lstnrmgr.h add second class of socket to be listened on, meant for per-device 2010-08-12 06:42:33 -07:00
Makefile add code to log md5 sums of udp packets sent and received. These match 2014-11-05 21:42:03 -08:00
mlock.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
permid.cpp Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
permid.h Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
querybld.cpp replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
querybld.h a more elegant way of building up params to pass to PQexecParams 2014-04-25 18:45:51 -07:00
rq.c fix compile warning. (Not really tested...it's a test app) 2015-07-01 06:35:47 -07:00
states.cpp update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
states.h update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
strwpf.cpp replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
strwpf.h replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
timermgr.cpp give timers ids so can be tracked in logs 2013-06-22 05:56:27 -07:00
timermgr.h give timers ids so can be tracked in logs 2013-06-22 05:56:27 -07:00
tpool.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
tpool.h rather than invalidating socket in AddrRec when it's closed, add a 2013-06-21 06:05:26 -07:00
udpack.cpp rename printf -> catf; no other changes 2013-10-09 20:20:45 -07:00
udpack.h replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07:00
udpager.cpp change unsigned char to uint8_t (using sed) 2013-08-29 22:55:11 -07:00
udpager.h move timeout interval into config file; cleanup 2013-08-12 07:41:48 -07:00
udpqueue.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
udpqueue.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
xwrelay.conf_tmplate change port to live server's so recovery can be faster 2014-03-12 19:47:14 -07:00
xwrelay.cpp supply missing param 2015-12-08 07:15:26 -08:00
xwrelay.css Add an http interface (read-only web console). 2009-02-28 16:15:59 +00:00
xwrelay.h add and handle new INVITE message types. (This can safely be added to shipping relay.) 2015-07-10 23:25:06 -07:00
xwrelay.sh fix syntax error in table creation sql 2014-01-07 07:17:48 -08:00
xwrelay_priv.h add ctrl port command to post UPGRADE message to clients 2013-09-03 06:52:02 -07:00