#0 0xb7e5cd83 in SSL_read () from /usr/lib/libssl.so.0.9.8 #1 0xb7fb0d10 in _dl_runtime_resolve () from /lib/ld-linux.so.2 #2 0xb7ed4a04 in Curl_ossl_recv (conn=0x80f2ecc, num=1, buf=0x80db460 "", buffersize=16384, wouldblock=0xbf85051f "") at ssluse.c:1858 #3 0xb7eea990 in Curl_ssl_recv (conn=0x80f2ecc, sockindex=1, mem=0x80db460 "", len=16384) at sslgen.c:511 #4 0xb7ec2c29 in Curl_read (conn=0x80f2ecc, sockfd=320017171, buf=0x80db460 "", sizerequested=16384, n=0xbf850678) at sendf.c:510 #5 0xb7eda2cf in Curl_readwrite (conn=0x80f2ecc, done=0xbf8507bf "") at transfer.c:354 #6 0xb7ee34d4 in multi_runsingle (multi=0x805921c, easy=0x8076ba4) at multi.c:1145 #7 0xb7ee399c in curl_multi_perform (multi_handle=0x805921c, running_handles=0x804e014) at multi.c:1326 #8 0xb7ee407a in multi_socket (multi=0x805921c, checkall=1 '\001', s=-1, running_handles=0x804e014) at multi.c:1584 #9 0xb7ee4389 in curl_multi_socket_all (multi_handle=0x805921c, running_handles=0x804e014) at multi.c:1720 #10 0x0804a079 in new_conn (url=0x81a3d50 "http://www.cephbase.utmb.edu/graphics/logo/CoML.gif", hdr=0x8188610, postlen=0, meth=71 'G', ch=0x825e0c8, gi=0x804e008) at proxydemo.c:436 #11 0x0804a863 in listen_cb (ch=0x8056e98, condition=G_IO_IN, data=0x804e008) at proxydemo.c:607 #12 0xb7f4bc6d in g_io_unix_dispatch (source=0x8057658, callback=0x804a201 , user_data=0x804e008) at giounix.c:162 #13 0xb7f22892 in IA__g_main_context_dispatch (context=0x8058580) at gmain.c:2045 #14 0xb7f2585f in g_main_context_iterate (context=0x8058580, block=1, dispatch=1, self=0x8058780) at gmain.c:2677 #15 0xb7f25c09 in IA__g_main_loop_run (loop=0x80587d8) at gmain.c:2881 #16 0x0804ada4 in main (argc=2, argv=0xbf850bf4) at proxydemo.c:749 (gdb) frame 4 #4 0xb7ec2c29 in Curl_read (conn=0x80f2ecc, sockfd=320017171, buf=0x80db460 "", sizerequested=16384, n=0xbf850678) at sendf.c:510 510 nread = Curl_ssl_recv(conn, num, buffertofill, bytesfromsocket); (gdb) print *conn $1 = {data = 0x80db034, inuse = 19 '\023', connectindex = 320017171, protocol = 320017171, dns_entry = 0x13131313, ip_addr = 0x13131313, ip_addr_str = 0x13131313
, protostr = '\023' , socktype = 320017171, host = { rawalloc = 0x13131313
, encalloc = 0x13131313
, name = 0x13131313
, dispname = 0x13131313
}, proxy = { rawalloc = 0x13131313
, encalloc = 0x13131313
, name = 0x13131313
, dispname = 0x13131313
}, port = 320017171, remote_port = 4883, headerbytecount = 320017171, deductheadercount = 320017171, user = 0x13131313
, passwd = 0x13131313
, proxyuser = 0x13131313
, proxypasswd = 0x13131313
, now = {tv_sec = 320017171, tv_usec = 320017171}, created = {tv_sec = 320017171, tv_usec = 320017171}, sock = {320017171, 320017171}, ssl = {{use = 19 '\023', ctx = 0x13131313, handle = 0x13131313, server_cert = 0x13131313, connecting_state = 320017171}, {use = 19 '\023', ctx = 0x13131313, handle = 0x13131313, server_cert = 0x13131313, connecting_state = 320017171}}, ssl_config = {version = 320017171, certverifyresult = 320017171, verifypeer = 320017171, verifyhost = 320017171, CApath = 0x13131313
, CAfile = 0x13131313
, random_file = 0x13131313
, egdsocket = 0x13131313
, cipher_list = 0x13131313
, numsessions = 320017171, fsslctx = 0x13131313, fsslctxp = 0x13131313, sessionid = 19 '\023'}, bits = {close = 19 '\023', reuse = 19 '\023', chunk = 19 '\023', httpproxy = 19 '\023', user_passwd = 19 '\023', proxy_user_passwd = 19 '\023', ipv6_ip = 19 '\023', ipv6 = 19 '\023', do_more = 19 '\023', upload_chunky = 19 '\023', getheader = 19 '\023', forbidchunk = 19 '\023', tcpconnect = 19 '\023', protoconnstart = 19 '\023', retry = 19 '\023', no_body = 19 '\023', tunnel_proxy = 19 '\023', authneg = 19 '\023', rewindaftersend = 19 '\023', ftp_use_epsv = 19 '\023', ftp_use_eprt = 19 '\023', netrc = 19 '\023', trailerHdrPresent = 19 '\023', done = 19 '\023', stream_was_rewound = 19 '\023', proxy_connect_closed = 19 '\023'}, curl_do = 0x13131313, curl_done = 0x13131313, curl_do_more = 0x13131313, curl_connect = 0x13131313, curl_connecting = 0x13131313, curl_doing = 0x13131313, curl_proto_getsock = 0x13131313, curl_doing_getsock = 0x13131313, curl_disconnect = 0x13131313, curl_close = 0x13131313, sockfd = 320017171, writesockfd = 320017171, allocptr = { proxyuserpwd = 0x13131313
, uagent = 0x13131313
, accept_encoding = 0x13131313
, userpwd = 0x13131313
, rangeline = 0x13131313
, ref = 0x13131313
, host = 0x13131313
, cookiehost = 0x13131313
}, sec_complete = 320017171, readchannel_inuse = 19 '\023', writechannel_inuse = 19 '\023', is_in_pipeline = 19 '\023', send_pipe = 0x13131313, recv_pipe = 0x13131313, master_buffer = '\023' , read_pos = 320017171, buf_len = 320017171, fread = 0x13131313, fread_in = 0x13131313, ntlm = { state = 320017171, flags = 320017171, nonce = "\023\023\023\023\023\023\023\023"}, proxyntlm = {state = 320017171, flags = 320017171, nonce = "\023\023\023\023\023\023\023\023"}, syserr_buf = '\023' , async = {hostname = 0x13131313
, port = 320017171, dns = 0x13131313, done = 19 '\023', status = 320017171, os_specific = 0x13131313}, trailer = 0x13131313
, trlMax = 320017171, trlPos = 320017171, proto = {ftpc = { entrypath = 0x13131313
, dirs = 0x13131313, dirdepth = 320017171, diralloc = 320017171, cache = 0x13131313
, cache_size = 1374463283923456787, dont_check = 19 '\023', response_time = 320017171, ctl_valid = 19 '\023', cwddone = 19 '\023', cwdfail = 19 '\023', prevpath = 0x13131313
, transfertype = 19 '\023', nread_resp = 320017171, linestart_resp = 0x13131313
, count1 = 320017171, count2 = 320017171, count3 = 320017171, sendthis = 0x13131313
, sendleft = 320017171, sendsize = 320017171, response = {tv_sec = 320017171, tv_usec = 320017171}, state = 320017171}}} (gdb)