Java Httpurlconnection

Somshekar C Kadam somkadam76 at gmail.com
Tue Aug 20 15:00:20 UTC 2019


Hi Team,

I am newbie to Java.
we have on our environment
Linux kernel 4.9, java 1.8 version using tls 1.2 default


   1. using curl when we give any https link , it returns within 2 seconds
   2. using java program using httpurlconnection class we get 10 seconds or
   more delay.
   3. Even removed some ciphers thought it may take sometime but that is
   not the case.
   4. Trying an alternative to httpurlconnection class apache httpclient,
   having issues compiling and running it, any pointers will help.
   5. Also any pointers or suggestion why we have 10 seconds delay on https
   connection ?
   6. I have tested using oracle java 8 also, same result, also tried
   zulu11 version of java same delay.
   7. Any suggestions would help here thanks in advance

regards
Somshekar
Regards
Somshekar C Kadam
9036660538


More information about the jdk-dev mailing list