[ruby-cvs:70688] usa:r63597 (trunk): Some platforms immediately returns from Socket#write

usa at ruby-lang.org usa at ruby-lang.org
Thu Jun 7 11:37:44 JST 2018


usa	2018-06-07 11:37:44 +0900 (Thu, 07 Jun 2018)

  New Revision: 63597

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63597

  Log:
    Some platforms immediately returns from Socket#write
    
    * test/net/http/test_http.rb (test_timeout_during_HTTP_session_write): on some
      platforms such as Windows immediately returns from Socket#write, and have to
      wait to read its response.  So, we can not handle Net::WriteTimeout and should
      handle Net::ReadTimeout instead.

  Modified files:
    trunk/test/net/http/test_http.rb


More information about the ruby-cvs mailing list