Comments (3)
I addressed most of this in my fork: https://github.com/goshuirc/irc-go/tree/master/ircevent
- Fixed issue with capability negotiation on reconnection
- Fixed synchronization of nickcurrent, AcknowledgedCaps, etc.
- Fixed callback ID reuse
- Fixed the context cancellation issue by removing support for callback timeouts and concurrent execution of callbacks (my thinking was that it's not safe for callbacks to take macroscopic time anyway --- slow handlers should be moved to separate goroutines, either with
go
or with a queue system) - CTCP support: not fixed (I disabled CTCP support by default; however, I would consider making the change described above)
- Encoding support was removed (the new API exposes raw bytes only)
Some additional changes:
- Support for parsing
005 RPL_ISUPPORT
- Support for IRCv3 CAP version 302, including parsing capability values
- Support for IRCv3 batch and labeled-response
- Fixed the deadlock from #131
- Fixed the injection issues from #127 (the message library is now very aggressive about refusing to emit invalid IRC lines; escaping/replacing is still left up to the caller though)
from go-ircevent.
Maybe do some PRs regarding some issues to this library?
from go-ircevent.
Apart from the issues that were covered by #132, I don't think I can. I rewrote parts of the library line-by-line, changed the API, integrated the other irc-go libraries (in particular the message parser/assembler) and in general made incompatible changes.
I understand that this might be a breach of etiquette, but for most use cases I would recommend that people simply switch to using the fork. The issues with the original codebase are fairly deep and it's challenging to fix them "in place" with a series of scope-limited patches.
from go-ircevent.
Related Issues (20)
- Do not log the connection HOT 1
- Problems with IRC colors and formatting HOT 1
- Docs and examples reference a "366" callback, but this is the only use of 366. HOT 2
- nil pointer dereference in irc.go:81 HOT 2
- Reconnect with SASL to unresponsive server leaks goroutines HOT 5
- is there an onNewUserHasJoinedChannel event? HOT 1
- Getting user perms? HOT 4
- CTP Reply Ping disconnect? HOT 1
- Crashing HOT 1
- making irccon global HOT 1
- Not compatible with HexChat HOT 17
- input should be sanitized to avoid CR-LF injection HOT 1
- Serverside nick changes do not propagate HOT 1
- deadlock when writeLoop exits with an error HOT 1
- 132-4f99b3e2ef7b), but does not contain package github.com/ HOT 2
- How can I make a connection using proxy? HOT 1
- SASL stall fix broke arbitrary capability requests HOT 2
- Make connection using specific ip HOT 7
- Scan all nick/host on channel (on event) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ircevent.