[HtmlUnit] SVN: [15482] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ HttpWebConnection.java

rbri--- via HtmlUnit-develop <[email protected]> Wed, 18 Jul 2018 07:19:26 +0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15482
          http://sourceforge.net/p/htmlunit/code/15482
Author:   rbri
Date:     2018-07-18 07:19:23 +0000 (Wed, 18 Jul 2018)
Log Message:
-----------
debug at the server

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java	2018-07-18 07:14:15 UTC (rev 15481)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/HttpWebConnection.java	2018-07-18 07:19:23 UTC (rev 15482)
@@ -189,7 +189,9 @@
 
             HttpResponse httpResponse = null;
             try {
+System.out.println("#");
                 httpResponse = builder.build().execute(hostConfiguration, httpMethod, httpContext);
+System.out.println("# done");
             }
             catch (final SSLPeerUnverifiedException s) {
                 // Try to use only SSLv3 instead
@@ -202,6 +204,7 @@
                 }
             }
             catch (final Error e) {
+System.out.println("#" + e);
                 // in case a StackOverflowError occurs while the connection is leased, it won't get released.
                 // Calling code may catch the StackOverflowError, but due to the leak, the httpClient_ may
                 // come out of connections and throw a ConnectionPoolTimeoutException.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot