mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/ipsocket.c (init_inetsock_internal): raise an error on
listen(2) failure. reported by Xavier Shay. [ruby-core:35505] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cc6c3daaf3
commit
bc843e4b7d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Mar 16 20:36:56 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/ipsocket.c (init_inetsock_internal): raise an error on
|
||||
listen(2) failure.
|
||||
reported by Xavier Shay. [ruby-core:35505]
|
||||
|
||||
Wed Mar 16 15:06:21 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should
|
||||
|
|
|
@ -108,7 +108,7 @@ init_inetsock_internal(struct inetsock_arg *arg)
|
|||
status = listen(fd, 5);
|
||||
if (status < 0) {
|
||||
close(fd);
|
||||
syscall = "listen(2)";
|
||||
rb_sys_fail("listen(2)");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue