cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl HTTPS Operation Hanging

From: Saleem Ahmed Khan <khan.saleemahmed_at_gmail.com>
Date: Wed, 29 Aug 2007 13:00:09 +0530

Hi,

The https operation are hanging for the version of curl mentioned below. The
http operations are done successfully. The curl in this case is
cross-compiled for the mipsel-linux platform. I am mentioning the
compilation details and the point of hanging below. The same curl compiled
for x86 platform on Fedora core 6 is working fine for https operations. Can
it be confirmed the steps followed for the cross -compilation below are
correct for the https operation to work normally.

cURL version

curl 7.16.1 (mipsel-unknown-linux-gnu) libcurl/7.16.1 OpenSSL/0.9.8e
zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: Largefile NTLM SSL libz

The compilation steps followed for cross-compile

    $ export PATH=path set to the mipsel-linux bin
    $ export CPPFLAGS=set the include path
    $ export AR=mipsel-linux-ar
    $ export AS=mipsel-linux-as
    $ export LD=mipsel-linux-ld
    $ export RANLIB=mipsel-linux-ranlib
    $ export CC=mipsel-linux-gcc
    $ export NM=mipsel-linux-nm

    $ ./configure --target=mipsel-linux \
               --host=mipsel-linux \
               --build=i386-redhat-linux \
               --with-ca-bundle=location \
               --prefix=$PWD \
               --without-libidn \
               --with-random=/dev/random \
               --with-ssl

The final configuration result is show below
   curl version: 7.16.1
  Host setup: mipsel-unknown-linux-gnu
  Install prefix: install path
  Compiler: mipsel-linux-gcc
  SSL support: enabled (OpenSSL)
  SSH support: no (--with-libssh2)
  zlib support: enabled
  krb4 support: no (--with-krb4*)
  GSSAPI support: no (--with-gssapi)
  SPNEGO support: no (--with-spnego)
  c-ares support: no (--enable-ares)
  ipv6 support: no (--enable-ipv6)
  IDN support: no (--with-libidn)
  Build libcurl: Shared=yes, Static=yes
  Built-in manual: enabled
  Verbose errors: enabled (--disable-verbose)
  SSPI support: no (--enable-sspi)
  ca cert path: certificate path

    $ cd lib
    $ make
    $ make install

   The point of hanging for the https operation is :

     $ ./curl -v https://www.paypal.com
    * About to connect() to www.paypal.com port 443 (#0)
    * Trying 216.113.188.35... connected
    * Connected to www.paypal.com (216.113.188.35) port 443 (#0)

this is hanging infintely untill i kill it.

-- 
Thanks and Regards
Saleem
Received on 2007-08-29