Skip to content

Conversation

@fenhl
Copy link

@fenhl fenhl commented Apr 4, 2013

No description provided.

fenhl added 2 commits April 4, 2013 04:09
also fixed minor errors in the readme
This also updates the readme to reflect this.
fenhl and others added 24 commits April 4, 2013 05:27
Messages to a channel are saved in a variable, not to a file.
Because of the missing break statement, the
address family was set to IPv4 though we have
an aaaa record in the dns response.
Before this patch our thread was blocking as long
as the server does not send a message. Now we can
do additional stuff directly in this thread without
waiting for the server.
At some points it does not make sense to send the QUIT signal
before reconnecting.
This commit causes several changes to the internals of this
library. We are now using the python builtin modules "sched"
and "queue" to send and receive data. The connect function
is now blocking until we reach the connect_timeout or the
server sends the end of the motd.

There are two new configuration variables:

* connect_timeout
* reconnect_interval
The previous behavior was an exception because
self.outBuf is None in case of no connection.
With this patch the client is able to detect if the
connection to the server is lost. So he is able to
try to reconnect.

There are two new configuration variables:

* ping_timeout
* ping_interval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants