Diego Nehab
Diego Nehab
My idea for the scheme table was as a field in the request. Obviously, there will be a default value in http.lua which we will use when it has not...
Is there any reason not to use the res = ioctl(fd, FIOCLEX, 0); call instead?
We should probably make this an option. We can set it by default on all sockets. Windows doesn't seem to have an equivalent function. Is there similar funcionality on Windows?
Not sure what this was trying to solve.
I think that adding a string as option to these functions will prevent future extensions, if there are any. Should there be an options table instead?
On which platform? Can you create a small self-contained test and post for us to see?
Trying here seems to go on forever. :/ Looking at the source code, I also can't see how this could possibly enter an infinite loop, unless getaddrinfo returns a cyclical...
Can you use a debugger to see which function is blocking forever? It could be the DNS lookup or it could be sendto itself. In that case, I’m not sure...
This is something I have considered in the past, but never had the chance to try. One possibility would be to override the "open" field to contain a function that...
Should. Doesn't it?