aboutsummaryrefslogtreecommitdiff
path: root/src/IRCSocket.py
Commit message (Expand)AuthorAgeFilesLines
* "send" event on SentLines should be run on the main threadGravatar jesopo2019-06-071-3/+1
* Checking if we should enable write buffer should be in _fill_throttle()Gravatar jesopo2019-06-071-6/+5
* Split read/write/process in to 3 different threadsGravatar jesopo2019-06-061-7/+9
* Give SentLine (and preproc.send events) a new event object, to track events•••related to a line after it is sent Gravatar jesopo2019-06-041-1/+1
* Only return definitely-writen lines from IRCSocket._send, refactor in prep for•••lines that request to be sent 'immediately' Gravatar jesopo2019-06-041-12/+18
* check if we should enable write throttling before writing, clear _recent_sends•••when we turn on throttling and only "turn on" throttling once Gravatar jesopo2019-06-011-3/+6
* Only enable write throttling when _write_buffer is empty•••closes #59 Gravatar jesopo2019-05-311-3/+8
* More explicitly require `throttle_done()` only for `_queued_lines`Gravatar jesopo2019-05-311-0/+2
* Enable TCP keepalivesGravatar jesopo2019-05-271-0/+1
* Store IRCSocket connect_time, show bytes read/write per second in stats.pyGravatar jesopo2019-05-241-1/+3
* Remove mention of `ipv4` - detect address family automaticallyGravatar jesopo2019-05-211-9/+6
* Add a timestamp to recent_sends for EACH line sentGravatar jesopo2019-05-181-1/+1
* Log content of lines that need fallback encodingGravatar jesopo2019-03-061-2/+2
* Specifically only catch UnicodeDecodeError in IRCSocket.readGravatar jesopo2019-03-061-2/+2
* add IRCServer.clear_send_buffer() to clear queued linesGravatar jesopo2019-03-051-0/+3
* Rename IRCLine.Line to IRCLine.SentLine, for clarityGravatar jesopo2019-02-241-3/+3
* Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncation•••mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling Gravatar jesopo2019-02-231-5/+4
* Check throttle space when queueing more data not whether there's no queued dataGravatar jesopo2019-02-201-2/+2
* IRCServer should handle ping_sent, not IRCSocketGravatar jesopo2019-02-111-1/+0
* last_read/last_send is now handled by IRCSocket.pyGravatar jesopo2019-02-111-0/+3
* `socket.getpeername()` can return more than 2 values (IRCSocket)Gravatar jesopo2019-02-111-1/+1
* `connected` status is now tracked by IRCSocketsGravatar jesopo2019-02-111-0/+3
* Add `IRCSocket.connected_ip` to hold on to the IP address we connected to (e.g.•••so we know which IP we picked from a round robin DNS) Gravatar jesopo2019-02-111-0/+3
* Shift socket.socket related logic to IRCSocket.pyGravatar jesopo2019-02-111-0/+177