xwords/xwords4/relay
Eric House 2629c07256 Address problem with devids (e.g. GCM): until now when you got a new
devid you tossed your relayID and reregistered.  Which meant any
existing messages meant for your relayID were orphaned, and any open
games didn't know who they belonged to until you reconnected to them
with your new relayID.  So: modify the UDP protocol (though not on
Android yet) to include both relayID and devid with registration, with
one or the other an empty string if not present or not changed from
earlier.  I can't fix existing clients that are dropping their
relayIDs, but when one does a re-connect without a relayID I can look
it up from the existing game record, then reuse it rather than issue a
new one.  Better than nothing -- and that protocol will be obsolete
soon anyway.
2013-09-14 21:06:14 -07:00
..
scripts get postgres port from config; send connname only if present 2013-09-11 07:42:14 -07:00
.gitignore get started with test/cmdline app to query relay's new proxy interface. 2010-09-16 20:13:24 -07:00
addrinfo.cpp tweak logging to match format gdb prints 2013-08-07 21:03:11 -07:00
addrinfo.h cleanup: use constant and add/use isUDP() 2013-08-07 21:31:10 -07:00
cidlock.cpp cleanup 2013-09-05 07:53:47 -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 Address problem with devids (e.g. GCM): until now when you got a new 2013-09-14 21:06:14 -07:00
cref.h change unsigned char to uint8_t (using sed) 2013-08-29 22:55:11 -07:00
crefmgr.cpp recognize already-seen devices. This seems to occasionally fix 2013-07-20 11:44:00 -07:00
crefmgr.h change unsigned char to uint8_t (using sed) 2013-08-29 22:55:11 -07:00
ctrl.cpp add ctrl port command to post UPGRADE message to clients 2013-09-03 06:52:02 -07: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 Address problem with devids (e.g. GCM): until now when you got a new 2013-09-14 21:06:14 -07:00
dbmgr.h Address problem with devids (e.g. GCM): until now when you got a new 2013-09-14 21:06:14 -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 cleanup 2013-09-05 07:53:47 -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 replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07:00
mlock.h up copyright 2009-07-30 12:54:17 +00: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
rq.c rq is hanging, so set timeouts on its blocking sockets 2013-06-26 00:27:55 -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 string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07:00
strwpf.h replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07: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 replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07: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 replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -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 cleanup: use constant and add/use isUDP() 2013-08-07 21:31:10 -07:00
udpqueue.h change unsigned char to uint8_t (using sed) 2013-08-29 22:55:11 -07:00
xwrelay.conf_tmplate move timeout interval into config file; cleanup 2013-08-12 07:41:48 -07:00
xwrelay.cpp Address problem with devids (e.g. GCM): until now when you got a new 2013-09-14 21:06:14 -07:00
xwrelay.css Add an http interface (read-only web console). 2009-02-28 16:15:59 +00:00
xwrelay.h add comment 2013-09-03 06:54:42 -07:00
xwrelay.sh Address problem with devids (e.g. GCM): until now when you got a new 2013-09-14 21:06:14 -07:00
xwrelay_priv.h add ctrl port command to post UPGRADE message to clients 2013-09-03 06:52:02 -07:00