Displaying 10 results from an estimated 10 matches for "socket_error".
Did you mean:
sock_error
2008 Mar 11
2
Mongrel 1.1.4, possible bug http_response
Hi,
I found this while digging inside mongrel to provide IO streaming
for mongrel (and thus for Rack and Ramaze):
* In socket_error a local variable done is set, which has no effect.
* done=() always sets to true, where it (for completeness sake) should
honor the passed value.
--- a/http_response.rb 2008-03-11 16:59:24.000000000 +0100
+++ b/http_response.rb 2008-03-11 17:02:20.000000000 +0100
@@ -129,7 +129,7 @@
def...
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
...a->s_addr = lsb + (b2 << 8) + (b3 << 16) + (msb << 24);
#endif
return 1;
}
#endif /* _WIN32 */
int sock_set_blocking(SOCKET sockfd, const int block)
{
#ifdef _WIN32
int varblock = block;
#endif
if ((!sock_valid_socket(sockfd)) || (block < 0) || (block > 1))
return SOCKET_ERROR;
#ifdef _WIN32
return ioctlsocket(sockfd, FIONBIO, &varblock);
#else
return fcntl(sockfd, F_SETFL, (block == SOCK_BLOCK) ? 0 : O_NONBLOCK);
#endif
}
int sock_close(SOCKET sockfd)
{
#ifdef _WIN32
return closesocket(sockfd);
#else
return close(sockfd);
#endif
}
/*
* Write len bytes from...
2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi,
I attached the changes I made to a vanilla libguestfs-1.22.6 in order to
make it work in mingw/win32.
Added is also the patch required to make QEMU compatible (add a command to
QMP that lists the supported devices (the regilat way you do it print it to
stderr, which is difficult to redirect in win32)).
This is done on behalf of Intel Corp.
Thanks,
Or (oberon in irc)
2020 Jun 19
2
SegFault when using TunnelServer=yes
...t;
endp = <optimized out>
#4 0x00005555555603f9 in handle_meta_connection_data
(c=c at entry=0x555555851be0) at net.c:304
No locals.
#5 0x00005555555678c2 in handle_meta_io (data=0x555555851be0,
flags=<optimized out>) at net_socket.c:520
c = 0x555555851be0
socket_error = <optimized out>
len = <optimized out>
#6 0x000055555555c60a in event_loop () at event.c:359
node = 0x555555797dd8 <signalio+24>
next = 0x555555797dd8 <signalio+24>
---Type <return> to continue, or q <return> to quit---
io =...
2020 Jul 27
3
SegFault when using TunnelServer=yes
...t>
> #4 0x00005555555603f9 in handle_meta_connection_data
> (c=c at entry=0x555555851be0) at net.c:304
> No locals.
> #5 0x00005555555678c2 in handle_meta_io (data=0x555555851be0,
> flags=<optimized out>) at net_socket.c:520
> c = 0x555555851be0
> socket_error = <optimized out>
> len = <optimized out>
> #6 0x000055555555c60a in event_loop () at event.c:359
> node = 0x555555797dd8 <signalio+24>
> next = 0x555555797dd8 <signalio+24>
> ---Type <return> to continue, or q <return&g...
2020 Jul 27
0
SegFault when using TunnelServer=yes
...t;
endp = <optimized out>
#4 0x00005555555603f9 in handle_meta_connection_data
(c=c at entry=0x555555851be0) at net.c:304
No locals.
#5 0x00005555555678c2 in handle_meta_io (data=0x555555851be0,
flags=<optimized out>) at net_socket.c:520
c = 0x555555851be0
socket_error = <optimized out>
len = <optimized out>
#6 0x000055555555c60a in event_loop () at event.c:359
node = 0x555555797dd8 <signalio+24>
next = 0x555555797dd8 <signalio+24>
---Type <return> to continue, or q <return> to quit---
io =...
2020 Jul 28
0
SegFault when using TunnelServer=yes
...t>
> #4 0x00005555555603f9 in handle_meta_connection_data
> (c=c at entry=0x555555851be0) at net.c:304
> No locals.
> #5 0x00005555555678c2 in handle_meta_io (data=0x555555851be0,
> flags=<optimized out>) at net_socket.c:520
> c = 0x555555851be0
> socket_error = <optimized out>
> len = <optimized out>
> #6 0x000055555555c60a in event_loop () at event.c:359
> node = 0x555555797dd8 <signalio+24>
> next = 0x555555797dd8 <signalio+24>
> ---Type <return> to continue, or q <return&g...
2010 Dec 03
0
Wine release 1.2.2
...INTERNET_OPTION_SECURITY_FLAGS.
J?rg H?hle (1):
kernel32/tests: GetVolumeInformationA X: succeeds iff drive's default dir is root.
Lauri Kentt? (1):
shlwapi: Update Finnish translation.
Louis Lenders (3):
kernel32: Fix GetTempFileName with invalid path.
ws2_32: Return SOCKET_ERROR in stubbed WSALookupServiceNext, to prevent apps from looping forever.
rpcrt4: Add stub for NdrMesTypeEncode2.
Luca Bennati (7):
cryptui: Update Italian translation.
cryptui: Update Italian translation.
shlwapi: Update Italian translation.
winmm: Update Italian transl...
2007 Mar 16
0
Wine release 0.9.33
...NDLE_VALUE, not NULL.
rpcrt4: Fix a file handle leak in RPCRT4_RPCSSOnDemandCall().
wininet: Check file handles against INVALID_HANDLE_VALUE, not NULL.
wininet: Fix a couple of reversed checks that could result in leaked socket handles.
ws2_32: Replace a few -1 literals with SOCKET_ERROR.
ws2_32: Fix an int/long mismatch in a trace.
rpcss: Fix a file handle leak in RPCSS_BecomePipeServer().
cmd: Fix compilation on systems that don't support nameless unions.
comctl32/tests: Add missing '\n's in ok() calls.
wined3d: Remove space before '\...
2010 Oct 29
0
Wine release 1.3.6
...nders (6):
kernel32/tests: Add some more tests for GetTempFileName.
kernel32: Fix GetTempFileName with invalid path.
dwmapi: Add stubbed DwmGetWindowAttribute.
winscard: Add stub for SCardReleaseStartedEvent.
rpcrt4: Add stub for NdrMesTypeEncode2.
ws2_32: Return SOCKET_ERROR in stubbed WSALookupServiceNext, to prevent apps from looping forever.
Luca Bennati (1):
jscript: Update Italian translation.
Marcus Meissner (6):
comdlg32: Fixed bad size to GetModuleFilenameW.
shell32: Pass correct size to MultiByteToWideChar.
ipconfig: Fixed buffer size...