Age | Commit message (Collapse) | Author |
|
Because we need to wait for the welcome message, when we connect to the
server, before sending the JOIN command, we need to also save the value of
the password to reuse it when we actually send the JOIN command
|
|
|
|
|
|
fix #2882
|
|
ref #2757
|
|
|
|
fix #2576
|
|
|
|
|
|
SocketHandler has been renamed to TCPSocketHandler
SocketHandler is now a simple interface with a few methods, used only by
Poller.
This way we can inherite from the new SocketHandler class, to handle other
types of sockets, and still make them manageable by the poller without any
change in the Poller class.
|
|
|
|
|
|
IRC users and channels are now distinguished by the separator used in the
IID (% or !).
ref #2468
|
|
For now, it tries two TLS ports and then connects to the non-tls port. In
the future we would like the user to be able to configure that.
fix #2435
|
|
fix #2452
|
|
|
|
|
|
It also happens to fix #2517 because this used to create buggy channels
named "auth" and stuf like that.
|
|
|
|
is created
We want to call socket() with the parameters provided by getaddrinfo, so we
can’t addd the fd into the poller immediately. We need to wait the
connection attempt, and then the SocketHandler can call add_socket_handler
itself, if the connection succeeds, or is in progress.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The number of arguments is not always the same
|
|
|
|
|
|
Also remove the duplicate send_self_join methods, user only send_user_join
|
|
CHANMODES and PREFIX only
|
|
|
|
|
|
|