index
:
~steering
/
bitbot.git
this commit
master
Unnamed repository; edit this file 'description' to name the repository.
steering7253
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
IRCSocket.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
threading.Lock() around any access to _write_buffer
jesopo
2019-07-04
1
-22
/
+26
*
only count "\n"s (not "\r\n") that hit the wire, incase \r\n gets cut in half
jesopo
2019-06-17
1
-1
/
+1
*
"send" event on SentLines should be run on the main thread
jesopo
2019-06-07
1
-3
/
+1
*
Checking if we should enable write buffer should be in _fill_throttle()
jesopo
2019-06-07
1
-6
/
+5
*
Split read/write/process in to 3 different threads
jesopo
2019-06-06
1
-7
/
+9
*
Give SentLine (and preproc.send events) a new event object, to track events
•••
related to a line after it is sent
jesopo
2019-06-04
1
-1
/
+1
*
Only return definitely-writen lines from IRCSocket._send, refactor in prep for
•••
lines that request to be sent 'immediately'
jesopo
2019-06-04
1
-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
jesopo
2019-06-01
1
-3
/
+6
*
Only enable write throttling when _write_buffer is empty
•••
closes #59
jesopo
2019-05-31
1
-3
/
+8
*
More explicitly require `throttle_done()` only for `_queued_lines`
jesopo
2019-05-31
1
-0
/
+2
*
Enable TCP keepalives
jesopo
2019-05-27
1
-0
/
+1
*
Store IRCSocket connect_time, show bytes read/write per second in stats.py
jesopo
2019-05-24
1
-1
/
+3
*
Remove mention of `ipv4` - detect address family automatically
jesopo
2019-05-21
1
-9
/
+6
*
Add a timestamp to recent_sends for EACH line sent
jesopo
2019-05-18
1
-1
/
+1
*
Log content of lines that need fallback encoding
jesopo
2019-03-06
1
-2
/
+2
*
Specifically only catch UnicodeDecodeError in IRCSocket.read
jesopo
2019-03-06
1
-2
/
+2
*
add IRCServer.clear_send_buffer() to clear queued lines
jesopo
2019-03-05
1
-0
/
+3
*
Rename IRCLine.Line to IRCLine.SentLine, for clarity
jesopo
2019-02-24
1
-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
jesopo
2019-02-23
1
-5
/
+4
*
Check throttle space when queueing more data not whether there's no queued data
jesopo
2019-02-20
1
-2
/
+2
*
IRCServer should handle ping_sent, not IRCSocket
jesopo
2019-02-11
1
-1
/
+0
*
last_read/last_send is now handled by IRCSocket.py
jesopo
2019-02-11
1
-0
/
+3
*
`socket.getpeername()` can return more than 2 values (IRCSocket)
jesopo
2019-02-11
1
-1
/
+1
*
`connected` status is now tracked by IRCSockets
jesopo
2019-02-11
1
-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)
jesopo
2019-02-11
1
-0
/
+3
*
Shift socket.socket related logic to IRCSocket.py
jesopo
2019-02-11
1
-0
/
+177