Add command queue prepend, prioritize PING/PONG
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 1 Jun 2016 23:00:38 +0000 (19:00 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 5 Sep 2016 17:21:45 +0000 (19:21 +0200)
commit45a0d954542db252ceb62b61243ee5c2253383de
tree400910a5afd27ff9d19ea62fd4b95a3734ed8ff2
parent60ba221ec89296f4b66cbbab8b8d70673b92085a
Add command queue prepend, prioritize PING/PONG

Add optional flag to putRawLine and putCmd to put any given lines or
commands to the front of the queue (prepend instead of append).

Enable queue prepend for sending PINGs and PONG replies.  This fixes
the issue where Quassel will ping-timeout when trying to send huge
messages (e.g. 40 lines at once), or multiple commands.

Unfortunately, some IRC servers don't behave properly so Quassel may
still get disconnected.  Hopefully other servers will get fixed soon.

Add more documentation, of course.  Document all the things!
src/core/corebasichandler.cpp
src/core/corebasichandler.h
src/core/corenetwork.cpp
src/core/corenetwork.h
src/core/coresessioneventprocessor.cpp
src/core/coreuserinputhandler.cpp