Quantcast
Channel: ~emersion/soju log
Browsing all 20 articles
Browse latest View live

Introduce downstreamConn.sendTargetBacklog

View Article



Use sendTargetBacklog when re-attaching a channel

No need to attempt to send backlog for all targets in the network.We're only interested in a single channel.

View Article

if true return true else return false

Trivial improvement

View Article

Add irc to ALPN protocols

The new ALPN token has been approved [1]. We can start using it now.[1]: https://mailarchive.ietf.org/arch/msg/tls-reg-review/i8YyT82XUtEgR-oXMG3sbyWYT8E/

View Article

Send correct CHATHISTORY error messages

View Article


Add Network.{URL,GetUsername,GetRealname}

Just a bunch of helpers that can be re-used.

View Article

Extract ISUPPORT CHANMODES/PREFIX to separate functions

View Article

Simplify if block in ISUPPORT handler

View Article


Maintain state for upstream ISUPPORT

View Article


Use upstream ISUPPORT map for NETWORK

View Article

Properly handle all ISUPPORT negations

View Article

Passthrough some ISUPPORT tokens

View Article

Improve ERR_NOSUCHCHANNEL error messages

References: https://todo.sr.ht/~emersion/soju/63

View Article


Correctly set WebSocket read/write deadline

The methods didn't have pointer receivers. Thus the deadline fieldswere only updated for the local variable.Closes: https://todo.sr.ht/~emersion/soju/106

View Article

Add Unix socket listener

Closes: https://todo.sr.ht/~emersion/soju/51

View Article


Send NOTICE to downstream when upstream is disconnected

Closes: https://todo.sr.ht/~emersion/soju/76

View Article

Don't store history for NickServ

Closes: https://todo.sr.ht/~emersion/soju/104

View Article


Don't update downstream caps in upstream RPL_WELCOME handler

Prior to being registered, upstreamConn.handleMessage doesn't runin the user goroutine, it runs in a goroutine specific to thenetwork. Thus we shouldn't access any user data structure...

View Article

Don't add "irc" in ALPN list for WebSocket servers

This is incorrect because HTTP listeners don't handle plain IRCconnections. This also prevents net/http from setting up an HTTP/2server.

View Article

wip: read PROXY header on WebSocket connections

View Article
Browsing all 20 articles
Browse latest View live




Latest Images