evio
evio copied to clipboard
Fast event-loop networking for Go
https://github.com/tidwall/evio/blob/d013b719412533237725d5c5b8772aba0109e68b/internal/internal_linux.go#L50 if not, trigger may block on write.
What do you think about switching to go modules?
When I run "go run main.go --noparse=false" and made request like "curl localhost:8080/aaa?dddd=ddd" I got panic: > panic: runtime error: slice bounds out of range [:17] with length 0 >...
We are trying to echo messages received from one UDP connection to other connected UDP clients. However, it looks like the UDP connection doesn't have an associated `loop`, so calling...
Hello. I start from simple example how to work with evio: ``` events.Data = func(ec evio.Conn, in []byte) (out []byte, action evio.Action) { if in == nil { fmt.Printf("wake from...
goroutine 8 [IO wait]: internal/poll.runtime_pollWait(0x7faa33483bc8, 0x72, 0xffffffffffffffff) C:/Go/src/runtime/netpoll.go:182 +0x56 internal/poll.(*pollDesc).wait(0xc0000ea218, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) C:/Go/src/internal/poll/fd_poll_runtime.go:87 +0x9b internal/poll.(*pollDesc).waitRead(...) C:/Go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc0000ea200, 0xc0001e8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) C:/Go/src/internal/poll/fd_unix.go:169 +0x19b net.(*netFD).Read(0xc0000ea200, 0xc0001e8000, 0x1000,...
Hey there, What do you think about adding a function that can serve events from a specified net.PacketConn or do you have a will to accept a PR with this...
HAProxy (and probably also Redis) is using the system call splice in Linux (http://man7.org/linux/man-pages/man2/splice.2.html) in order to copy data from one file descriptor to another. This means that it efficiently...
I want to implement a proxy program. A = evio B = backend service The client will connect to A , and A read data from B then out data...
https://github.com/tidwall/evio/blob/b353be3a765785dafabbb63a7b25aadec3533946/internal/socktoaddr.go#L28-L29 Thank you for the great framework! and I want to ask you about this question.