Hiroshi Nakamura

Results 48 comments of Hiroshi Nakamura

I have no idea why TCPSocket.new('api.mysite.com', 80) can cause EADDRINUSE... https://github.com/nahi/httpclient/blob/e591eb75c5023ae666094d565f8f61f470be27d9/lib/httpclient/session.rb#L802 MT usage should be creating a single HTTPClient instance and all threads use the instance to access 3 different...

Some IOs like STDIN, IO.pipe don't have proper 'pos' definition so Ruby raises ESPIPE for STDIN.pos. For now I don't think we can define how STDIN should be used for...

I guess multipart_post gem doesn't handle authentication properly that requires posting the body again. This could work (not tested) but I'm still not sure it's what you want to do....

OK, so you want to post via IO, with specifying the size rather than closing the IO, right? The wrapper I posted above needs more work for do chunked request.

Now HTTPClient can post sized IO properly. Please reopen this ticket if it looks bad. Thanks for the discussion!

The fix at 2.3.0 seems to cause compatibility issue so I reverted the fix and pushed 2.3.0.1. We need another fix...

Thanks for the patch. Let me close it without merging in favor or https://github.com/nahi/avl_tree/pull/10 which was submitted 2 years before. Sorry for the late ack.

pending. I'd try to run ossl tests with "OpenSSL::ASN1 = Krypt::ASN1" library. ``` require 'openssl' require 'krypt-core' OpenSSL::ASN1 = Krypt::ASN1 ``` You didn't write about the expected result so I...

I created PoC project at https://github.com/nahi/krypt-openssl `bundle install && bundle exec rake` should run tests copied from 2.0.0dev but it gives lots of failures at this moment. I'll revisit this...