Forum: Ruby-core [ruby-trunk - Bug #8126][Open] OpenSSL::SSL::SSLSocket does not define #recv and #send messages

Posted by postmodern (Hal Brodigan) (Guest)
on 2013-03-19 22:39
(Received via mailing list)
Issue #8126 has been reported by postmodern (Hal Brodigan).

----------------------------------------
Bug #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send 
messages
https://bugs.ruby-lang.org/issues/8126

Author: postmodern (Hal Brodigan)
Status: Open
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: lib
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not 
compatible with TCPSocket.
Posted by postmodern (Hal Brodigan) (Guest)
on 2013-03-23 05:24
(Received via mailing list)
Issue #8126 has been updated by postmodern (Hal Brodigan).


Here is a list of methods which are defined by TCPSocket, but not 
SSLSocket:

* recvfrom
* shutdown
* getsockname
* getpeername
* local_address
* remote_address
* recv
* recv_nonblock
* do_not_reverse_lookup
* sendmsg
* sendmsg_nonblock
* recvmsg
* recvmsg_nonblock
* connect_address

----------------------------------------
Bug #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send 
messages
https://bugs.ruby-lang.org/issues/8126#change-37837

Author: postmodern (Hal Brodigan)
Status: Open
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: lib
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not 
compatible with TCPSocket.
Posted by zzak (Zachary Scott) (Guest)
on 2013-03-23 15:52
(Received via mailing list)
Issue #8126 has been updated by zzak (Zachary Scott).


Do you have a use-case for these methods? Or do you just want them added 
for consistency?
----------------------------------------
Bug #8126: OpenSSL::SSL::SSLSocket does not define #recv and #send 
messages
https://bugs.ruby-lang.org/issues/8126#change-37856

Author: postmodern (Hal Brodigan)
Status: Open
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: lib
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not 
compatible with TCPSocket.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.