jaraco / jaraco/irc

irccat and irccat2 fail pong

Open
#171 2 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
421
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Hey there,
I really like the framework, and especially the numerous examples which give a good understanding of what the limits of it are.

I just stumbled upon the frameworks quality:

> Handles server PONGing transparently.

I haven't checked all four, but at least the examples irccat and irccat2 are written in a way, that apparently blocks this feature.

I tested this on freenode:
`env/bin/python irccat2.py irc.freenode.net beloved_test "#irccattest"`

write something, make sure it works and then don't do anything for about four minutes and eight seconds (maybe a few more). Freenode will kick you for not having responded in quite a while.

Maybe it would be possible to rewrite the examples, that they don't get kicked while their external input function (bash input) stays silent for a while?

Thanks for the read, aiyion.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the irccat and irccat2 example entry points and reproduce the reported idle-session failure using the command shown against an IRC server. Read how each example handles external bash input alongside the IRC connection, then verify that leaving input silent for several minutes no longer causes the server to disconnect while normal input still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.