From: Jason DiCioccio Date: 2001-10-11T12:03:14+09:00 Subject: [ruby-talk:22422] Re: Problems with net/https :( --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 11, 2001 at 11:31:38AM +0900, GOTOU Yuuzou wrote: > Hmm, I guess the first get2 block will fail and the second > one will success in the HTTP.start block. >=20 > SSL session is initiated at HTTP.start before passing > process to the given block. Then use_ssl=3D in the HTTP.start > block is not effective for the first connection. >=20 > I think (not condensed) your sample code works fine. > # I may be misunderstanding something. I'm not sure what you mean.. The first get2 block succeeds while the second one fails. This does not happen when not using HTTPS.. This is on Solaris 2.8/sparc.. It seems like a bug to me, but I can't be sure. I'm just look= ing for a somewhat clean workaround or an acknowledgement that this is indeed a bug and a patch or something to fix it if possible :).. Just a way to ma= ke it work without recreating the HTTP Session object every time I need to do a get2 :) Thanks, -JD- --=20 Jason DiCioccio - geniusj@bsd.st - PGP Key @ http://bsd.st/~geniusj/pgpkey.= asc PGP Key Fingerprint C442 04E2 26B0 3809 8357 96AB D350 9596 0436 7C08 --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBO8UMU9NQlZYENnwIEQJWkwCg/SLHW/4x9MoqYTMfQTEgPoQolr4An1c6 2qVWvd+xFl0vAlUcZVabRuzQ =Jh9V -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--