Compare commits

...

3 Commits

Author SHA1 Message Date
Egil Hjelmeland
86de264874
Merge ccef3bc4e2aa6ee5b997a80aabb58f4ff0b0e98f into 1fad1626900a128be724cba9e9c19a6b2fe2bf6b 2024-07-12 11:22:37 +05:30
Tianjia Zhang
1fad162690
chore: Remove the executable permission bit from some source files (#434) 2024-06-29 14:33:47 +03:00
Egil Hjelmeland
ccef3bc4e2 Changed return text for ETIMEDOUT/ WSAETIMEDOUT
Changed return text for ETIMEDOUT/ WSAETIMEDOUT to “connection timeout”.

This is needed for the application to be able tell to the difference between timeout of TCP connection (ETIMEDOUT/ WSAETIMEDOUT) and a normal return from a non-blocking socket (error codes EAGAIN/WSAEWOULDBLOCK). Both situations returned the text “timeout”.
2015-09-03 15:24:22 +02:00
16 changed files with 1 additions and 1 deletions

0
Lua.props Executable file → Normal file
View File

0
makefile Executable file → Normal file
View File

0
mime.vcxproj Executable file → Normal file
View File

0
socket.vcxproj Executable file → Normal file
View File

0
src/inet.c Executable file → Normal file
View File

0
src/luasocket.c Executable file → Normal file
View File

0
src/makefile Executable file → Normal file
View File

0
src/mime.c Executable file → Normal file
View File

View File

@ -12,7 +12,7 @@
#define PIE_CONNREFUSED "connection refused" #define PIE_CONNREFUSED "connection refused"
#define PIE_CONNABORTED "closed" #define PIE_CONNABORTED "closed"
#define PIE_CONNRESET "closed" #define PIE_CONNRESET "closed"
#define PIE_TIMEDOUT "timeout" #define PIE_TIMEDOUT "connection timeout"
#define PIE_AGAIN "temporary failure in name resolution" #define PIE_AGAIN "temporary failure in name resolution"
#define PIE_BADFLAGS "invalid value for ai_flags" #define PIE_BADFLAGS "invalid value for ai_flags"
#define PIE_BADHINTS "invalid value for hints" #define PIE_BADHINTS "invalid value for hints"

0
src/socket.h Executable file → Normal file
View File

0
src/udp.c Executable file → Normal file
View File

0
src/wsocket.c Executable file → Normal file
View File

0
vc32.bat Executable file → Normal file
View File

0
vc64.bat Executable file → Normal file
View File

0
win32.cmd Executable file → Normal file
View File

0
win64.cmd Executable file → Normal file
View File