diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Jan 29 18:09:48 2014 Eric Wong <[email protected]> + + * io.c (nogvl_copy_stream_sendfile): remove socket check + [ruby-core:59856][Feature #9427] + Wed Jan 29 04:29:54 2014 Aaron Patterson <[email protected]> * ext/openssl/ossl_ssl.c: pass read_nonblock options to underlying IO @@ -10062,8 +10062,6 @@ nogvl_copy_stream_sendfile(struct copy_stream_struct *stp) stp->error_no = errno; return -1; } - if ((dst_stat.st_mode & S_IFMT) != S_IFSOCK) - return 0; src_offset = stp->src_offset; use_pread = src_offset != (off_t)-1; |