I wasn't able to connect to the HTTP server. After digging in the code, I found that bool bRead/bWrite = FD_ISSET(...) was not set correctly (within httpd.c). Even though FD_ISSET returned a value > 0, bRead was set to false. By defining FD_ISSET_BOOL returning a shifted FD_ISSET, bRead/bWrite is set correctly.
I wasn't able to connect to the HTTP server. After digging in the code, I found that
bool bRead/bWrite = FD_ISSET(...)
was not set correctly (within httpd.c). Even though FD_ISSET returned a value > 0, bRead was set to false. By defining FD_ISSET_BOOL returning a shifted FD_ISSET, bRead/bWrite is set correctly.