Commit Graph

5 Commits

Author SHA1 Message Date
psychon
f6716d08c7 CListener: Deny changes to settings after setup
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1972 726aef4b-f618-498e-8847-2d620e286838
2010-05-09 18:27:11 +00:00
cflakes
53aeceb6bc Use a better error message for browsers connecting to IRC only listener ports.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1971 726aef4b-f618-498e-8847-2d620e286838
2010-05-09 17:51:06 +00:00
psychon
084988a307 Add and use CListener::AcceptType
This enum let's one control what kind of connections a listener will allow.
HTTP requests to an IRC-only port and IRC requests to a HTTP-only port will be
booted off.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1960 726aef4b-f618-498e-8847-2d620e286838
2010-05-01 14:33:15 +00:00
psychon
46b70f654d Move the HTTP/IRC switching to CIncomingConnection
This new class waits for the first line from the client and checks if it's an
HTTP request and then passes the connection on to the irc or http code.

Before this, the IRC parser handled this as a special case which wasn't as
nice-looking as this is. :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1925 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 18:20:12 +00:00
psychon
eb44919005 Move CListener and CRealListener into their own files
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1924 726aef4b-f618-498e-8847-2d620e286838
2010-04-15 16:52:30 +00:00