Josh Bleecher Snyder
55c1ce00be
use polling instead of syscall
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
4013c0edbb
smush together two return values from C
...
avoids a per-packet alloc
i will atone for my sins later
if only C let you return multiple values.
or Go let you pass in a pointer w/o it being on the heap.
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
783d2d4327
keep 8 requests in the queue at all times
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
71f35bda1a
remove all allocs
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
b83ac004f1
remove all allocations
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
59512181b5
mve sockaddr_in to Go
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
1ee40d1670
move iovec to go
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
d7a7e2d17d
move msghdr to Go
2021-07-08 12:56:49 -07:00
Josh Bleecher Snyder
f26c0fcbd5
use io_uring
2021-07-08 12:56:49 -07:00