Go to file
Jan Vidar Krey cff10910ad Issue 72: Improve ghost user detection
uhub has the ability to disconnect a 'ghost' user, e.g. if a user
reconnects then uhub will kick the existing user if it is still there.
However, this could also be triggered abusively by having two "tabs" or windows
connect at the same time from the same client. The process of connecting a new
client is rather expensive because it triggers a lot of updates on all connections.

With this change, uhub will only attempt to disconnect the existing client if
it is marked with the "flag_choke" flag, which indicates that messages must be
dropped simply because the client is not accepting data fast enough. This will
cause the new connection to fail because the user is already logged in.

This can be further improved by adding a timestamp for when the connection
previously was provable working. Which is possibly a better and more reliable
way of detecting ghost users.
2019-12-01 13:16:28 +01:00
admin Secure URLs: http --> https (part 1) 2019-04-23 15:59:03 +02:00
autotest Rename the test binary to autotest-bin, to avoid naming conflicts for the reserved 'test' target. 2018-02-19 11:59:34 +01:00
cmake/Modules Fix spelling errors 2019-02-25 19:46:24 +01:00
debian Secure URLs: http --> https (part 2) 2019-04-23 15:59:03 +02:00
doc Secure URLs: http --> https (part 1) 2019-04-23 15:59:03 +02:00
src Issue 72: Improve ghost user detection 2019-12-01 13:16:28 +01:00
thirdparty Added sqlite as a git submodule. 2011-12-28 18:08:11 +01:00
tools Fixed usage of FlexHub regimport tool 2014-11-24 16:24:50 +01:00
.gitignore cmake: fix build out of source tree 2019-02-25 19:50:56 +01:00
.gitmodules Use secure URL of git submodule in .gitmodules 2019-01-14 12:48:00 +01:00
.travis.yml Merge branch 'alpn_static' of git://github.com/direct-connect/uhub into direct-connect-alpn_static 2019-03-31 19:27:50 +02:00
AUTHORS Added mod_chat_history_sqlite and mod_chat_is_privileged. 2013-03-23 22:47:32 +01:00
BUGS Update issue url (#48) 2018-11-18 20:30:23 +01:00
CMakeLists.txt cmake: fix build out of source tree 2019-02-25 19:50:56 +01:00
COPYING First git commit. 2009-02-19 17:14:09 +01:00
COPYING.OpenSSL Fix bug #183 - Added proper OpenSSL license exception for the GPL. 2012-04-22 22:23:11 +02:00
ChangeLog Fix spelling errors 2019-02-25 19:46:24 +01:00
Dockerfile Add Dockerfile 2019-01-02 10:42:40 +01:00
README Update link in README. 2019-04-23 15:59:03 +02:00
TODO Add TODO file. Some modify example uhub.conf 2010-01-14 09:46:55 +03:00

README

Welcome and thanks for downloading uHub, a high performance ADC p2p hub.

For the official documentation, bugs and other information, please visit:
https://www.uhub.org/

For a list of compatible ADC clients, see:
https://en.wikipedia.org/wiki/Comparison_of_ADC_software#Client_software