-
-
Notifications
You must be signed in to change notification settings - Fork 28
Add (failing) http.rb wrap test for TCPSocket and SSLSocket #13
Conversation
The other failure is probably due to |
That looks good - is that the documented to do it? i.e. How does |
Oops, there are some namespaces issues I didn't notice with the other tests. |
Looks like we need to find out how to support
Not sure if this is part of the stdlib for Ruby or not. |
@ioquatix we kind of support this, it's just that HTTP.rb will call EDIT: To be more precise, |
I guess we need to consider how this should work. Whether we should provide some specific Because performance of SSLSocket is important, I hesitate to make the constructor complicated for this edge case. But maybe a special wrapper might be appropriate. Both options are kind of annoying. |
I am going to see if I can make this work in a way I'm happy with. Thanks for contributing a failing spec. |
I've been playing around with this and while it's pretty straight forward with |
Test to track #12.
One test fails for the
wrap/new
issue described there, and another fails for a reason I hadn't stumbled upon so far: