HttpClient upgrade

Upgrade from HttpClient 3.1 to HttpClient 4.3.5 (with HttpCore 4.3.3)

  
    
  
  
    mmmh, I remember I had a lot of problem due to my environement.
    I put that to ignore all network security problems and try to make
    this code working in Intranet-like, because I had security problem
    with http client 4.3.x. 
    
    Indeed, I forgot to remove it => 
    super(context)
    "Strict" would be better for a library used in PROD.
    
    
    
    Le 19/11/2014 06:35, Victor Boctor a
      écrit :
    
    
      In
src/main/java/microsoft/exchange/webservices/data/EwsSSLProtocolSocketFactory.java:
      > -     */
> -    public Socket createSocket(
> -        String host,
> -        int port,
> -        InetAddress clientHost,
> -        int clientPort)
> -        throws IOException, UnknownHostException {
> -
> -        return getSSLContext().getSocketFactory().createSocket(
> -            host,
> -            port,
> -            clientHost,
> -            clientPort
> -        );
> +    public EwsSSLProtocolSocketFactory(SSLContext context) {
> +    	super(context, SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);

      Good point @ecki
        -- @casimirenslip
        any reason you elect to use this instead of
        BrowserCompatHostnameVerifier or StrictHostnameVerifier?
      —
        Reply to this email directly or view
          it on GitHub.