aboutsummaryrefslogtreecommitdiff
path: root/src/IRCSocket.py
Commit message (Collapse)AuthorAgeFilesLines
* 'server.conncect_time' -> 'server.connect_time'Gravatar jesopo2019-10-101-1/+1
|
* move socket creation to it's own function, send event just prior to .connectGravatar jesopo2019-07-281-2/+5
|
* add set_throttle(lines, seconds) function to tweak throttle per-serverGravatar jesopo2019-07-231-3/+10
|
* Only fill throttle when buffer is emptyGravatar jesopo2019-07-221-1/+1
|
* threading.Lock() around any access to _write_bufferGravatar jesopo2019-07-041-22/+26
|
* only count "\n"s (not "\r\n") that hit the wire, incase \r\n gets cut in halfGravatar jesopo2019-06-171-1/+1
|
* "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 eventsGravatar jesopo2019-06-041-1/+1
| | | | related to a line after it is sent
* Only return definitely-writen lines from IRCSocket._send, refactor in prep forGravatar jesopo2019-06-041-12/+18
| | | | lines that request to be sent 'immediately'
* check if we should enable write throttling before writing, clear _recent_sendsGravatar jesopo2019-06-011-3/+6
| | | | when we turn on throttling and only "turn on" throttling once
* Only enable write throttling when _write_buffer is emptyGravatar jesopo2019-05-311-3/+8
| | | | closes #59
* 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 truncationGravatar jesopo2019-02-231-5/+4
| | | | | mechanism, don't convert sent line from ParsedLine to text to ParsedLine for line_handler handling
* 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.Gravatar jesopo2019-02-111-0/+3
| | | | so we know which IP we picked from a round robin DNS)
* Shift socket.socket related logic to IRCSocket.pyGravatar jesopo2019-02-111-0/+177