tcp-acceleration-service / tas

TAS is a drop-in highly CPU efficient and scalable TCP acceleration service.
https://tcp-acceleration-service.github.io/
Other
82 stars 43 forks source link

repeated listen() calls on same sockets #16

Open FreakyPenguin opened 2 years ago

FreakyPenguin commented 2 years ago

Looks like nginx (and possibly other applications) call listen on a socket more than once. Not exactly sure why, or what the sockets spec says should happen, but clearly this works on Linux so we should see if we can also handle this reasonably too.

FreakyPenguin commented 2 years ago

https://stackoverflow.com/questions/43078649/listen-called-on-socket-more-than-once-expected-behavior suggests this is used to adjust backlog queue length. So we could just ignore repeated call with a warning for now?