curl / Autobuilds / Log From 2019-08-09

Log from 2019-08-09

Jump down to problem:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 44 (last) test results

testcurl: NAME = Daniel Stenberg
testcurl: EMAIL = daniel -at- haxx -dot- se
testcurl: DESC = Debian Linux 64bit BoringSSL
testcurl: NOTES =
testcurl: CONFOPTS = --disable-shared --enable-debug --with-ssl=/home/daniel/src/boringssl --without-libssh2 --enable-ares=/home/daniel/src/c-ares --with-gssapi --with-ntlm-auth
testcurl: RUNTESTOPTS =
testcurl: CPPFLAGS =
testcurl: CFLAGS =
testcurl: LDFLAGS =
testcurl: LIBS = -lpthread
testcurl: CC =
testcurl: TMPDIR =
testcurl: MAKEFLAGS =
testcurl: ACLOCAL_FLAGS =
testcurl: PKG_CONFIG_PATH =
testcurl: DYLD_LIBRARY_PATH =
testcurl: LD_LIBRARY_PATH = /home/daniel/src/c-ares/.libs:/home/daniel/src/boringssl/lib
testcurl: LIBRARY_PATH =
testcurl: SHLIB_PATH =
testcurl: LIBPATH =
testcurl: target =
testcurl: version = 2014-11-25
testcurl: date = Fri Aug 9 00:48:18 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-29962 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: 6ee9e4bd4 cleanup: s/curl_debug/curl_dbg_debug in comments and docs
testcurl: c5ee65ffa RELEASE-NOTES: synced
testcurl: 69b3ff511 alt-svc: add protocol version selection masking
testcurl: a93b43cde http3: fix the HTTP/3 in the request, make alt-svc set right versions
testcurl: 98c3f1487 alt-svc: send Alt-Used: in redirected requests
testcurl: invoke buildconf
buildconf: autoconf version 2.69 (ok)
buildconf: autom4te version 2.69 (ok)
buildconf: autoheader version 2.69 (ok)
buildconf: automake version 1.16.1 (ok)
buildconf: aclocal version 1.16.1 (ok)
buildconf: libtoolize version 2.4.6 (ok)
buildconf: GNU m4 version 1.4.18 (ok)
buildconf: running libtoolize
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
buildconf: converting all mv to mv -f in local m4/libtool.m4
buildconf: running aclocal
buildconf: converting all mv to mv -f in local aclocal.m4
buildconf: running autoheader
buildconf: running autoconf
buildconf: running automake
configure.ac:132: installing './compile'
configure.ac:191: installing './config.guess'
configure.ac:191: installing './config.sub'
configure.ac:132: installing './install-sh'
configure.ac:137: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
buildconf: OK
testcurl: buildconf was successful
testcurl: timestamp = [unreleased] UTC
testcurl: configure created (at least it exists)
testcurl: going with make as make
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... yes
checking whether to enable compiler optimizer... (assumed) no
checking whether to enable strict compiler warnings... yes
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... (assumed) yes
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... yes
checking whether to disable dependency on -lrt... (assumed no)
checking for path separator... :
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking curl version... 7.66.0-DEV
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... yes
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... yes
checking whether to build shared libraries only... no
checking whether to build static libraries only... yes
checking for inline... inline
checking if cpp -P is needed... yes
checking if cpp -P works... yes
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -Werror-implicit-function-declaration
checking if compiler accepts debug enabling options... yes
configure: compiler options added: -g
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer disabling options... yes
configure: compiler options added: -O0
checking if compiler accepts strict warning options... yes
configure: compiler options added: -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking if curl debug memory tracking can be enabled... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking for good-to-use Mac CFLAGS... no
checking to see if the compiler supports __builtin_available()... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support ldaps... yes
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smb... yes
checking whether to support smtp... yes
checking whether to support gopher... yes
checking whether to provide built-in manual... yes
checking whether to enable generation of C code... yes
checking whether to use libgcc... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for proto/bsdsocket.h... no
checking for connect in libraries... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking if monotonic clock_gettime works... yes
checking for pkg-config... /usr/bin/pkg-config
checking for zlib options with pkg-config... found
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: found both libz and libz.h header
checking for BrotliDecoderDecompress in -lbrotlidec... yes
checking brotli/decode.h usability... yes
checking brotli/decode.h presence... yes
checking for brotli/decode.h... yes
checking for lber.h... yes
checking for ldap.h... yes
checking for ldapssl.h... no
checking for ldap_ssl.h... no
checking for LDAP libraries... -lldap -llber
checking for ldap_url_parse... yes
checking for ldap_init_fd... yes
checking whether to enable IPv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... no
checking if GSS-API support is requested... yes
checking gss.h usability... no
checking gss.h presence... no
checking for gss.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_generic.h... yes
checking for gssapi/gssapi_krb5.h... yes
checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... yes
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
checking for HMAC_Update in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking for RAND_egd... yes
checking for SSLv2_client_method... no
checking for OpenSSL_version... yes
checking for BoringSSL... yes
checking for libressl... no
configure: Added /home/daniel/src/boringssl/lib to CURL_LIBRARY_PATH
checking for OpenSSL headers version... 1.1.0 - 0x1010007f
checking for OpenSSL library version... 0.9.8
checking for OpenSSL headers and library versions matching... no
configure: WARNING: OpenSSL headers and library versions do not match.
checking for "/dev/urandom"... yes
checking for SRP_Calc_client_key in -lcrypto... no
configure: built with one SSL backend
checking default CA cert bundle/path... /etc/ssl/certs/ca-certificates.crt
checking whether to use builtin CA store of SSL library... no
checking for library containing psl_builtin... -lpsl
checking for RTMP_Init in -lrtmp... yes
checking librtmp/rtmp.h usability... yes
checking librtmp/rtmp.h presence... yes
checking for librtmp/rtmp.h... yes
checking whether versioned symbols are wanted... no
checking whether to enable Windows native IDN (Windows native builds only)... no
checking whether to build with libidn2... (assumed) yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libidn2 options with pkg-config... found
configure: pkg-config: IDN_LIBS: "-lidn2"
configure: pkg-config: IDN_LDFLAGS: ""
configure: pkg-config: IDN_CPPFLAGS: ""
configure: pkg-config: IDN_DIR: ""
checking if idn2_lookup_ul can be linked... yes
checking idn2.h usability... yes
checking idn2.h presence... yes
checking for idn2.h... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libnghttp2 options with pkg-config... found
configure: -l is -lnghttp2
configure: -I is
configure: -L is
checking for nghttp2_option_set_no_recv_client_magic in -lnghttp2... yes
checking nghttp2/nghttp2.h usability... yes
checking nghttp2/nghttp2.h presence... yes
checking for nghttp2/nghttp2.h... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libngtcp2 options with pkg-config... no
checking for quiche_connect in -lquiche... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for fish options with pkg-config... no
checking for ANSI C header files... (cached) yes
checking for malloc.h... yes
checking for memory.h... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for sys/un.h... yes
checking for linux/tcp.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for time.h... (cached) yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... no
checking for sys/wait.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... fine
checking size of size_t... 8
checking size of long... 8
checking size of int... 4
checking size of short... 2
checking size of time_t... 8
checking size of off_t... 8
checking size of curl_off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for sa_family_t... yes
checking if time_t is unsigned... no
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking return type of signal handlers... void
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for libgen.h... (cached) yes
checking if basename can be linked... yes
checking if basename is prototyped... yes
checking if basename is compilable... yes
checking if basename usage allowed... yes
checking if basename might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for ifaddrs.h... yes
checking if freeifaddrs can be linked... yes
checking if freeifaddrs is prototyped... yes
checking if freeifaddrs is compilable... yes
checking if freeifaddrs usage allowed... yes
checking if freeifaddrs might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/xattr.h... yes
checking if fsetxattr can be linked... yes
checking if fsetxattr is prototyped... yes
checking if fsetxattr takes 5 args.... yes
checking if fsetxattr is compilable... yes
checking if fsetxattr usage allowed... yes
checking if fsetxattr might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo seems to work... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if gai_strerror can be linked... yes
checking if gai_strerror is prototyped... yes
checking if gai_strerror is compilable... yes
checking if gai_strerror usage allowed... yes
checking if gai_strerror might be used... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyaddr_r can be linked... yes
checking if gethostbyaddr_r is prototyped... yes
checking if gethostbyaddr_r takes 5 args.... no
checking if gethostbyaddr_r takes 7 args.... no
checking if gethostbyaddr_r takes 8 args.... yes
checking if gethostbyaddr_r is compilable... yes
checking if gethostbyaddr_r usage allowed... yes
checking if gethostbyaddr_r might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking if gethostbyname_r can be linked... yes
checking if gethostbyname_r is prototyped... yes
checking if gethostbyname_r takes 3 args.... no
checking if gethostbyname_r takes 5 args.... no
checking if gethostbyname_r takes 6 args.... yes
checking if gethostbyname_r is compilable... yes
checking if gethostbyname_r usage allowed... yes
checking if gethostbyname_r might be used... yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... size_t
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getpeername can be linked... yes
checking if getpeername is prototyped... yes
checking if getpeername is compilable... yes
checking if getpeername usage allowed... yes
checking if getpeername might be used... yes
checking if getsockname can be linked... yes
checking if getsockname is prototyped... yes
checking if getsockname is compilable... yes
checking if getsockname usage allowed... yes
checking if getsockname might be used... yes
checking for net/if.h... (cached) yes
checking if if_nametoindex can be linked... yes
checking if if_nametoindex is prototyped... yes
checking if if_nametoindex is compilable... yes
checking if if_nametoindex usage allowed... yes
checking if if_nametoindex might be used... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getservbyport_r can be linked... yes
checking if getservbyport_r is prototyped... yes
checking if getservbyport_r takes 4 args.... no
checking if getservbyport_r takes 5 args.... no
checking if getservbyport_r takes 6 args.... yes
checking if getservbyport_r is compilable... yes
checking if getservbyport_r usage allowed... yes
checking if getservbyport_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_ntoa_r can be linked... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop seems to work... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton seems to work... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... yes
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking if memrchr can be linked... yes
checking if memrchr is prototyped... no
checking if memrchr might be used... no
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... yes
checking if poll might be used... yes
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... no
checking if sigsetjmp seems a macro... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if socketpair can be linked... yes
checking if socketpair is prototyped... yes
checking if socketpair is compilable... yes
checking if socketpair usage allowed... yes
checking if socketpair might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking whether getpwuid_r is declared... yes
checking for fnmatch... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getpwuid... yes
checking for getpwuid_r... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for if_nametoindex... yes
checking for mach_absolute_time... no
checking deeper for mach_absolute_time... but still no
checking for pipe... yes
checking for setlocale... yes
checking for setmode... no
checking deeper for setmode... but still no
checking for setrlimit... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /usr/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libcares options with pkg-config... no
checking that c-ares is good and recent enough... yes
checking whether to use POSIX threads for threaded resolver... auto
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable NTLM delegation to winbind's helper... yes
checking whether to enable TLS-SRP authentication... yes
checking whether to enable Unix domain sockets... auto
checking for struct sockaddr_un.sun_path... yes
checking whether to support cookies... yes
checking whether to support HTTP authentication... yes
checking whether to support DoH... yes
checking whether to support the MIME API... yes
checking whether to support date parsing... yes
checking whether to support netrc parsing... yes
checking whether to support progress-meter... yes
checking whether to support DNS shuffling... yes
checking whether to support alt-svc... no
checking whether hiding of library internal symbols will actually happen... yes
configure: using LIBS: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread
configure: LIBS note: LIBS should only be used to specify libraries (-lname).
configure: WARNING: Continuing even with errors mentioned immediately above this line.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating docs/libcurl/opts/Makefile
config.status: creating docs/cmdline-opts/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating scripts/Makefile
config.status: creating lib/libcurl.vers
config.status: creating tests/Makefile
config.status: creating tests/certs/Makefile
config.status: creating tests/certs/scripts/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending lib/Makefile
configure: amending src/Makefile
configure: amending tests/unit/Makefile
configure: amending tests/server/Makefile
configure: amending tests/libtest/Makefile
configure: amending docs/examples/Makefile
configure: Configured to build curl/libcurl:

Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wbad-function-cast -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wstrict-aliasing=3 -Wcast-align -Wtype-limits -Wold-style-declaration -Wmissing-parameter-type -Wempty-body -Wclobbered -Wignored-qualifiers -Wconversion -Wno-sign-conversion -Wvla -ftree-vrp -Wdouble-promotion -Wformat=2 -Warray-bounds=2 -Wshift-negative-value -Wshift-overflow=2 -Wnull-dereference -fdelete-null-pointer-checks -Wduplicated-cond -Wunused-const-variable -Wduplicated-branches -Wrestrict -Walloc-zero -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=4 -Wno-system-headers
CPPFLAGS: -I/home/daniel/src/boringssl/include -I/home/daniel/src/boringssl/include/openssl -I/home/daniel/src/c-ares/include
LDFLAGS: -L/home/daniel/src/boringssl/lib -L/home/daniel/src/c-ares/lib
LIBS: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread

curl version: 7.66.0-DEV
SSL: enabled (BoringSSL)
SSH: no (--with-libssh2)
zlib: enabled
brotli: enabled (libbrotlidec)
GSS-API: enabled (MIT Kerberos/Heimdal)
TLS-SRP: no (--enable-tls-srp)
resolver: c-ares
IPv6: enabled
Unix sockets: enabled
IDN: enabled (libidn2)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: /etc/ssl/certs/ca-certificates.crt
ca cert path: no
ca fallback: no
LDAP: enabled (OpenLDAP)
LDAPS: enabled
RTSP: enabled
RTMP: enabled (librtmp)
Metalink: no (--with-libmetalink)
PSL: enabled
Alt-svc: no (--enable-alt-svc)
HTTP2: enabled (nghttp2)
HTTP3: disabled (--with-ngtcp2, --with-quiche)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP
Features: SSL IPv6 UnixSockets libz brotli AsynchDNS IDN GSS-API PSL SPNEGO Kerberos NTLM NTLM_WB HTTP2 HTTPS-proxy

testcurl: configure seems to have finished fine

testcurl: display libcurl.pc

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
supported_protocols="DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMB SMBS SMTP SMTPS TELNET TFTP"
supported_features="SSL IPv6 UnixSockets libz brotli AsynchDNS IDN GSS-API PSL SPNEGO Kerberos NTLM NTLM_WB HTTP2 HTTPS-proxy"
Name: libcurl
URL: https://curl.haxx.se/
Description: Library to transfer files with ftp, http, etc.
Version: 7.66.0-DEV
Libs: -L${libdir} -lcurl
Libs.private: -lcares -lnghttp2 -lidn2 -lrtmp -lpsl -lssl -lcrypto -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -llber -lbrotlidec -lz -lpthread
Cflags: -I${includedir} -DCURL_STATICLIB

testcurl: display lib/curl_config.h

#define CURLDEBUG 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#define CURL_SA_FAMILY_T sa_family_t
#define DEBUGBUILD 1
#define ENABLE_IPV6 1
#define GETHOSTNAME_TYPE_ARG2 size_t
#define GETSERVBYPORT_R_ARGS 6
#define GETSERVBYPORT_R_BUFSIZE 4096
#define HAVE_ALARM 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ARPA_TFTP_H 1
#define HAVE_ASSERT_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
#define HAVE_BORINGSSL 1
#define HAVE_BROTLI 1
#define HAVE_BROTLI_DECODE_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_CONNECT 1
#define HAVE_DECL_GETPWUID_R 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FCNTL_O_NONBLOCK 1
#define HAVE_FNMATCH 1
#define HAVE_FREEADDRINFO 1
#define HAVE_FREEIFADDRS 1
#define HAVE_FSETXATTR 1
#define HAVE_FSETXATTR_5 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETADDRINFO_THREADSAFE 1
#define HAVE_GETEUID 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETIFADDRS 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GSSAPI 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSMIT 1
#define HAVE_IDN2_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_LBER_H 1
#define HAVE_LDAP_H 1
#define HAVE_LDAP_INIT_FD 1
#define HAVE_LDAP_SSL 1
#define HAVE_LDAP_URL_PARSE 1
#define HAVE_LIBBROTLIDEC 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBIDN2 1
#define HAVE_LIBRTMP_RTMP_H 1
#define HAVE_LIBSSL 1
#define HAVE_LIBZ 1
#define HAVE_LINUX_TCP_H 1
#define HAVE_LL 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LONGLONG 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MSG_NOSIGNAL 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NGHTTP2_NGHTTP2_H 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define HAVE_OPENSSL_ERR_H 1
#define HAVE_OPENSSL_PEM_H 1
#define HAVE_OPENSSL_RSA_H 1
#define HAVE_OPENSSL_SSL_H 1
#define HAVE_OPENSSL_VERSION 1
#define HAVE_OPENSSL_X509_H 1
#define HAVE_PIPE 1
#define HAVE_POLL 1
#define HAVE_POLL_FINE 1
#define HAVE_POLL_H 1
#define HAVE_POSIX_STRERROR_R 1
#define HAVE_PWD_H 1
#define HAVE_RAND_EGD 1
#define HAVE_RECV 1
#define HAVE_SELECT 1
#define HAVE_SEND 1
#define HAVE_SETJMP_H 1
#define HAVE_SETLOCALE 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGSETJMP 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_SOCKET 1
#define HAVE_SOCKETPAIR 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR_R 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNCASECMP 1
#define HAVE_STROPTS_H 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_USLEEP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VARIADIC_MACROS_C99 1
#define HAVE_VARIADIC_MACROS_GCC 1
#define HAVE_WRITEV 1
#define HAVE_ZLIB_H 1
#define LT_OBJDIR ".libs/"
#define NTLM_WB_ENABLED 1
#define NTLM_WB_FILE "/usr/bin/ntlm_auth"
#define OS "x86_64-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "-"
#define RANDOM_FILE "/dev/urandom"
#define RECV_TYPE_ARG1 int
#define RECV_TYPE_ARG2 void *
#define RECV_TYPE_ARG3 size_t
#define RECV_TYPE_ARG4 int
#define RECV_TYPE_RETV ssize_t
#define RETSIGTYPE void
#define SELECT_QUAL_ARG5
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 fd_set *
#define SELECT_TYPE_ARG5 struct timeval *
#define SELECT_TYPE_RETV int
#define SEND_QUAL_ARG2 const
#define SEND_TYPE_ARG1 int
#define SEND_TYPE_ARG2 void *
#define SEND_TYPE_ARG3 size_t
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t
#define SIZEOF_CURL_OFF_T 8
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_TIME_T 8
#define STDC_HEADERS 1
#define STRERROR_R_TYPE_ARG3 size_t
#define TIME_WITH_SYS_TIME 1
#define USE_ARES 1
#define USE_LIBPSL 1
#define USE_LIBRTMP 1
#define USE_MANUAL 1
#define USE_NGHTTP2 1
#define USE_OPENLDAP 1
#define USE_OPENSSL 1
#define USE_UNIX_SOCKETS 1
#define VERSION "-"
#ifndef _ALL_SOURCE
#endif
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
#ifndef __cplusplus
#endif
testcurl: make -i
Making all in lib
make[1]: Entering directory '/build-29962/lib'
make all-am
make[2]: Entering directory '/build-29962/lib'
CC libcurl_la-file.lo
CC libcurl_la-timeval.lo
CC libcurl_la-base64.lo
CC libcurl_la-hostip.lo
CC libcurl_la-progress.lo
CC libcurl_la-formdata.lo
CC libcurl_la-cookie.lo
CC libcurl_la-http.lo
CC libcurl_la-sendf.lo
CC libcurl_la-ftp.lo
CC libcurl_la-url.lo
CC libcurl_la-dict.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-ldap.lo
CC libcurl_la-version.lo
CC libcurl_la-getenv.lo
CC libcurl_la-escape.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-telnet.lo
CC libcurl_la-netrc.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-transfer.lo
CC libcurl_la-strcase.lo
CC libcurl_la-easy.lo
CC libcurl_la-security.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-wildcard.lo
CC libcurl_la-krb5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-strtok.lo
CC libcurl_la-connect.lo
CC libcurl_la-llist.lo
CC libcurl_la-hash.lo
CC libcurl_la-multi.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-share.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-strerror.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-select.lo
CC libcurl_la-tftp.lo
CC libcurl_la-splay.lo
CC libcurl_la-strdup.lo
CC libcurl_la-socks.lo
CC libcurl_la-ssh.lo
CC libcurl_la-ssh-libssh.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-slist.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-imap.lo
CC libcurl_la-pop3.lo
CC libcurl_la-smtp.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-warnless.lo
CC libcurl_la-hmac.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-openldap.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-gopher.lo
CC libcurl_la-idn_win32.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-non-ascii.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-rand.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-hostcheck.lo
CC libcurl_la-conncache.lo
CC libcurl_la-dotdot.lo
CC libcurl_la-x509asn1.lo
CC libcurl_la-http2.lo
CC libcurl_la-smb.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-mime.lo
CC libcurl_la-sha256.lo
CC libcurl_la-setopt.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_ctype.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-psl.lo
CC libcurl_la-doh.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-altsvc.lo
CC libcurl_la-quic.lo
CC vauth/libcurl_la-vauth.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vtls/libcurl_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 2
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 3
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 4
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 5
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-polarssl.lo
CC vtls/libcurl_la-polarssl_threadlock.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mesalink.lo
CC vquic/libcurl_la-ngtcp2.lo
CC vquic/libcurl_la-ngtcp2-crypto.lo
CC vquic/libcurl_la-quiche.lo
CCLD libcurl.la
CC libcurlu_la-file.lo
CC libcurlu_la-timeval.lo
CC libcurlu_la-base64.lo
CC libcurlu_la-hostip.lo
CC libcurlu_la-progress.lo
CC libcurlu_la-formdata.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-http.lo
CC libcurlu_la-sendf.lo
CC libcurlu_la-ftp.lo
CC libcurlu_la-url.lo
CC libcurlu_la-dict.lo
CC libcurlu_la-if2ip.lo
CC libcurlu_la-speedcheck.lo
CC libcurlu_la-ldap.lo
CC libcurlu_la-version.lo
CC libcurlu_la-getenv.lo
CC libcurlu_la-escape.lo
CC libcurlu_la-mprintf.lo
CC libcurlu_la-telnet.lo
CC libcurlu_la-netrc.lo
CC libcurlu_la-getinfo.lo
CC libcurlu_la-transfer.lo
CC libcurlu_la-strcase.lo
CC libcurlu_la-easy.lo
CC libcurlu_la-security.lo
CC libcurlu_la-curl_fnmatch.lo
CC libcurlu_la-fileinfo.lo
CC libcurlu_la-ftplistparser.lo
CC libcurlu_la-wildcard.lo
CC libcurlu_la-krb5.lo
CC libcurlu_la-memdebug.lo
CC libcurlu_la-http_chunks.lo
CC libcurlu_la-strtok.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-llist.lo
CC libcurlu_la-hash.lo
CC libcurlu_la-multi.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-share.lo
CC libcurlu_la-http_digest.lo
CC libcurlu_la-md4.lo
CC libcurlu_la-md5.lo
CC libcurlu_la-http_negotiate.lo
CC libcurlu_la-inet_pton.lo
CC libcurlu_la-strtoofft.lo
CC libcurlu_la-strerror.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-hostasyn.lo
CC libcurlu_la-hostip4.lo
CC libcurlu_la-hostip6.lo
CC libcurlu_la-hostsyn.lo
CC libcurlu_la-inet_ntop.lo
CC libcurlu_la-parsedate.lo
CC libcurlu_la-select.lo
CC libcurlu_la-tftp.lo
CC libcurlu_la-splay.lo
CC libcurlu_la-strdup.lo
CC libcurlu_la-socks.lo
CC libcurlu_la-ssh.lo
CC libcurlu_la-ssh-libssh.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-socks_gssapi.lo
CC libcurlu_la-socks_sspi.lo
CC libcurlu_la-curl_sspi.lo
CC libcurlu_la-slist.lo
CC libcurlu_la-nonblock.lo
CC libcurlu_la-curl_memrchr.lo
CC libcurlu_la-imap.lo
CC libcurlu_la-pop3.lo
CC libcurlu_la-smtp.lo
CC libcurlu_la-pingpong.lo
CC libcurlu_la-rtsp.lo
CC libcurlu_la-curl_threads.lo
CC libcurlu_la-warnless.lo
CC libcurlu_la-hmac.lo
CC libcurlu_la-curl_rtmp.lo
CC libcurlu_la-openldap.lo
CC libcurlu_la-curl_gethostname.lo
CC libcurlu_la-gopher.lo
CC libcurlu_la-idn_win32.lo
CC libcurlu_la-http_proxy.lo
CC libcurlu_la-non-ascii.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-thread.lo
CC libcurlu_la-curl_gssapi.lo
CC libcurlu_la-http_ntlm.lo
CC libcurlu_la-curl_ntlm_wb.lo
CC libcurlu_la-curl_ntlm_core.lo
CC libcurlu_la-curl_sasl.lo
CC libcurlu_la-rand.lo
CC libcurlu_la-curl_multibyte.lo
CC libcurlu_la-hostcheck.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-dotdot.lo
CC libcurlu_la-x509asn1.lo
CC libcurlu_la-http2.lo
CC libcurlu_la-smb.lo
CC libcurlu_la-curl_endian.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-system_win32.lo
CC libcurlu_la-mime.lo
CC libcurlu_la-sha256.lo
CC libcurlu_la-setopt.lo
CC libcurlu_la-curl_path.lo
CC libcurlu_la-curl_ctype.lo
CC libcurlu_la-curl_range.lo
CC libcurlu_la-psl.lo
CC libcurlu_la-doh.lo
CC libcurlu_la-urlapi.lo
CC libcurlu_la-curl_get_line.lo
CC libcurlu_la-altsvc.lo
CC libcurlu_la-quic.lo
CC vauth/libcurlu_la-vauth.lo
CC vauth/libcurlu_la-cleartext.lo
CC vauth/libcurlu_la-cram.lo
CC vauth/libcurlu_la-digest.lo
CC vauth/libcurlu_la-digest_sspi.lo
CC vauth/libcurlu_la-krb5_gssapi.lo
CC vauth/libcurlu_la-krb5_sspi.lo
CC vauth/libcurlu_la-ntlm.lo
CC vauth/libcurlu_la-ntlm_sspi.lo
CC vauth/libcurlu_la-oauth2.lo
CC vauth/libcurlu_la-spnego_gssapi.lo
CC vauth/libcurlu_la-spnego_sspi.lo
CC vtls/libcurlu_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 6
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 7
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 8
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 9
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurlu_la-gtls.lo
CC vtls/libcurlu_la-vtls.lo
CC vtls/libcurlu_la-nss.lo
CC vtls/libcurlu_la-polarssl.lo
CC vtls/libcurlu_la-polarssl_threadlock.lo
CC vtls/libcurlu_la-wolfssl.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-sectransp.lo
CC vtls/libcurlu_la-gskit.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mesalink.lo
CC vquic/libcurlu_la-ngtcp2.lo
CC vquic/libcurlu_la-ngtcp2-crypto.lo
CC vquic/libcurlu_la-quiche.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-29962/lib'
make[1]: Leaving directory '/build-29962/lib'
Making all in src
make[1]: Entering directory '/build-29962/src'
Making all in ../docs
make[2]: Entering directory '/build-29962/docs'
Making all in .
make[3]: Entering directory '/build-29962/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-29962/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-29962/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-29962/docs/cmdline-opts'
make[3]: Leaving directory '/build-29962/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-29962/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-29962/docs/cmdline-opts'
make[2]: Leaving directory '/build-29962/docs'
make[2]: Entering directory '/build-29962/src'
CC curl-slist_wc.o
CC curl-tool_binmode.o
CC curl-tool_bname.o
CC curl-tool_cb_dbg.o
CC curl-tool_cb_hdr.o
CC curl-tool_cb_prg.o
CC curl-tool_cb_rea.o
CC curl-tool_cb_see.o
CC curl-tool_cb_wrt.o
CC curl-tool_cfgable.o
CC curl-tool_convert.o
CC curl-tool_dirhie.o
CC curl-tool_doswin.o
CC curl-tool_easysrc.o
CC curl-tool_filetime.o
CC curl-tool_formparse.o
CC curl-tool_getparam.o
CC curl-tool_getpass.o
CC curl-tool_help.o
CC curl-tool_helpers.o
CC curl-tool_homedir.o
HUGE tool_hugehelp.c
CC curl-tool_hugehelp.o
CC curl-tool_libinfo.o
CC curl-tool_main.o
CC curl-tool_metalink.o
CC curl-tool_msgs.o
CC curl-tool_operate.o
CC curl-tool_operhlp.o
CC curl-tool_panykey.o
CC curl-tool_paramhlp.o
CC curl-tool_parsecfg.o
CC curl-tool_progress.o
CC curl-tool_strdup.o
CC curl-tool_setopt.o
CC curl-tool_sleep.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout.o
CC curl-tool_xattr.o
CC ../lib/curl-strtoofft.o
CC ../lib/curl-nonblock.o
CC ../lib/curl-warnless.o
CC ../lib/curl-curl_ctype.o
CCLD curl
CC libcurltool_la-slist_wc.lo
CC libcurltool_la-tool_binmode.lo
CC libcurltool_la-tool_bname.lo
CC libcurltool_la-tool_cb_dbg.lo
CC libcurltool_la-tool_cb_hdr.lo
CC libcurltool_la-tool_cb_prg.lo
CC libcurltool_la-tool_cb_rea.lo
CC libcurltool_la-tool_cb_see.lo
CC libcurltool_la-tool_cb_wrt.lo
CC libcurltool_la-tool_cfgable.lo
CC libcurltool_la-tool_convert.lo
CC libcurltool_la-tool_dirhie.lo
CC libcurltool_la-tool_doswin.lo
CC libcurltool_la-tool_easysrc.lo
CC libcurltool_la-tool_filetime.lo
CC libcurltool_la-tool_formparse.lo
CC libcurltool_la-tool_getparam.lo
CC libcurltool_la-tool_getpass.lo
CC libcurltool_la-tool_help.lo
CC libcurltool_la-tool_helpers.lo
CC libcurltool_la-tool_homedir.lo
CC libcurltool_la-tool_hugehelp.lo
CC libcurltool_la-tool_libinfo.lo
CC libcurltool_la-tool_main.lo
CC libcurltool_la-tool_metalink.lo
CC libcurltool_la-tool_msgs.lo
CC libcurltool_la-tool_operate.lo
CC libcurltool_la-tool_operhlp.lo
CC libcurltool_la-tool_panykey.lo
CC libcurltool_la-tool_paramhlp.lo
CC libcurltool_la-tool_parsecfg.lo
CC libcurltool_la-tool_progress.lo
CC libcurltool_la-tool_strdup.lo
CC libcurltool_la-tool_setopt.lo
CC libcurltool_la-tool_sleep.lo
CC libcurltool_la-tool_urlglob.lo
CC libcurltool_la-tool_util.lo
CC libcurltool_la-tool_vms.lo
CC libcurltool_la-tool_writeout.lo
CC libcurltool_la-tool_xattr.lo
CC ../lib/libcurltool_la-strtoofft.lo
CC ../lib/libcurltool_la-nonblock.lo
CC ../lib/libcurltool_la-warnless.lo
CC ../lib/libcurltool_la-curl_ctype.lo
CCLD libcurltool.la
RUN checksrc
make[2]: Leaving directory '/build-29962/src'
make[1]: Leaving directory '/build-29962/src'
make[1]: Entering directory '/build-29962'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-29962'
testcurl: libcurl was created fine (libcurl.la)
testcurl: curl was created fine (curl)
testcurl: display curl --version output
curl 7.66.0-DEV (x86_64-pc-linux-gnu) libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
testcurl: make -k test-full
make[1]: Entering directory '/build-29962/tests'
Making all in certs
make[2]: Entering directory '/build-29962/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-29962/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-29962/tests/certs/scripts'
make[3]: Entering directory '/build-29962/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-29962/tests/certs'
make[2]: Leaving directory '/build-29962/tests/certs'
Making all in data
make[2]: Entering directory '/build-29962/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-29962/tests/data'
Making all in server
make[2]: Entering directory '/build-29962/tests/server'
CC ../../lib/getpart-mprintf.o
CC ../../lib/getpart-nonblock.o
CC ../../lib/getpart-strtoofft.o
CC ../../lib/getpart-warnless.o
CC ../../lib/getpart-curl_ctype.o
CC getpart-getpart.o
CC ../../lib/getpart-base64.o
CC ../../lib/getpart-memdebug.o
CC getpart-testpart.o
CCLD getpart
CC ../../lib/resolve-mprintf.o
CC ../../lib/resolve-nonblock.o
CC ../../lib/resolve-strtoofft.o
CC ../../lib/resolve-warnless.o
CC ../../lib/resolve-curl_ctype.o
CC resolve-getpart.o
CC ../../lib/resolve-base64.o
CC ../../lib/resolve-memdebug.o
CC resolve-util.o
CC resolve-resolve.o
CCLD resolve
CC ../../lib/rtspd-mprintf.o
CC ../../lib/rtspd-nonblock.o
CC ../../lib/rtspd-strtoofft.o
CC ../../lib/rtspd-warnless.o
CC ../../lib/rtspd-curl_ctype.o
CC rtspd-getpart.o
CC ../../lib/rtspd-base64.o
CC ../../lib/rtspd-memdebug.o
CC rtspd-util.o
CC rtspd-rtspd.o
CCLD rtspd
CC ../../lib/sockfilt-mprintf.o
CC ../../lib/sockfilt-nonblock.o
CC ../../lib/sockfilt-strtoofft.o
CC ../../lib/sockfilt-warnless.o
CC ../../lib/sockfilt-curl_ctype.o
CC sockfilt-getpart.o
CC ../../lib/sockfilt-base64.o
CC ../../lib/sockfilt-memdebug.o
CC sockfilt-util.o
CC sockfilt-sockfilt.o
CC ../../lib/sockfilt-inet_pton.o
CCLD sockfilt
CC ../../lib/sws-mprintf.o
CC ../../lib/sws-nonblock.o
CC ../../lib/sws-strtoofft.o
CC ../../lib/sws-warnless.o
CC ../../lib/sws-curl_ctype.o
CC sws-getpart.o
CC ../../lib/sws-base64.o
CC ../../lib/sws-memdebug.o
CC sws-util.o
CC sws-sws.o
CC ../../lib/sws-inet_pton.o
CCLD sws
CC ../../lib/tftpd-mprintf.o
CC ../../lib/tftpd-nonblock.o
CC ../../lib/tftpd-strtoofft.o
CC ../../lib/tftpd-warnless.o
CC ../../lib/tftpd-curl_ctype.o
CC tftpd-getpart.o
CC ../../lib/tftpd-base64.o
CC ../../lib/tftpd-memdebug.o
CC tftpd-util.o
CC tftpd-tftpd.o
CCLD tftpd
CC ../../lib/fake_ntlm-mprintf.o
CC ../../lib/fake_ntlm-nonblock.o
CC ../../lib/fake_ntlm-strtoofft.o
CC ../../lib/fake_ntlm-warnless.o
CC ../../lib/fake_ntlm-curl_ctype.o
CC fake_ntlm-getpart.o
CC ../../lib/fake_ntlm-base64.o
CC ../../lib/fake_ntlm-memdebug.o
CC fake_ntlm-util.o
CC fake_ntlm-fake_ntlm.o
CCLD fake_ntlm
CC ../../lib/socksd-mprintf.o
CC ../../lib/socksd-nonblock.o
CC ../../lib/socksd-strtoofft.o
CC ../../lib/socksd-warnless.o
CC ../../lib/socksd-curl_ctype.o
CC socksd-getpart.o
CC ../../lib/socksd-base64.o
CC ../../lib/socksd-memdebug.o
CC socksd-util.o
CC socksd-socksd.o
CC ../../lib/socksd-inet_pton.o
CCLD socksd
CC disabled.o
CCLD disabled
RUN checksrc
make[2]: Leaving directory '/build-29962/tests/server'
Making all in libtest
make[2]: Entering directory '/build-29962/tests/libtest'
CC chkhostname-chkhostname.o
CC ../../lib/chkhostname-curl_gethostname.o
CCLD chkhostname
CC libauthretry-libauthretry.o
CC libauthretry-first.o
CCLD libauthretry
CC libntlmconnect-libntlmconnect.o
CC libntlmconnect-first.o
CC libntlmconnect-testutil.o
CC ../../lib/libntlmconnect-warnless.o
CCLD libntlmconnect
CC chkdecimalpoint-chkdecimalpoint.o
CC ../../lib/chkdecimalpoint-mprintf.o
CC ../../lib/chkdecimalpoint-curl_ctype.o
CCLD chkdecimalpoint
CC lib500-lib500.o
CC lib500-first.o
CC lib500-testutil.o
CC lib500-testtrace.o
CCLD lib500
CC lib501-lib501.o
CC lib501-first.o
CCLD lib501
CC lib502-lib502.o
CC lib502-first.o
CC lib502-testutil.o
CC ../../lib/lib502-warnless.o
CCLD lib502
CC lib503-lib503.o
CC lib503-first.o
CC lib503-testutil.o
CC ../../lib/lib503-warnless.o
CCLD lib503
CC lib504-lib504.o
CC lib504-first.o
CC lib504-testutil.o
CC ../../lib/lib504-warnless.o
CCLD lib504
CC lib505-lib505.o
CC lib505-first.o
CCLD lib505
CC lib506-lib506.o
CC lib506-first.o
CCLD lib506
CC lib507-lib507.o
CC lib507-first.o
CC lib507-testutil.o
CC ../../lib/lib507-warnless.o
CCLD lib507
CC lib508-lib508.o
CC lib508-first.o
CCLD lib508
CC lib509-lib509.o
CC lib509-first.o
CCLD lib509
CC lib510-lib510.o
CC lib510-first.o
CCLD lib510
CC lib511-lib511.o
CC lib511-first.o
CCLD lib511
CC lib512-lib512.o
CC lib512-first.o
CCLD lib512
CC lib513-lib513.o
CC lib513-first.o
CCLD lib513
CC lib514-lib514.o
CC lib514-first.o
CCLD lib514
CC lib515-lib515.o
CC lib515-first.o
CCLD lib515
CC lib516-lib516.o
CC lib516-first.o
CCLD lib516
CC lib517-lib517.o
CC lib517-first.o
CCLD lib517
CC lib518-lib518.o
CC lib518-first.o
CC ../../lib/lib518-warnless.o
CCLD lib518
CC lib519-lib519.o
CC lib519-first.o
CCLD lib519
CC lib520-lib520.o
CC lib520-first.o
CCLD lib520
CC lib521-lib521.o
CC lib521-first.o
CCLD lib521
CC lib523-lib523.o
CC lib523-first.o
CCLD lib523
CC lib524-lib524.o
CC lib524-first.o
CCLD lib524
CC lib525-lib525.o
CC lib525-first.o
CC lib525-testutil.o
CC ../../lib/lib525-warnless.o
CCLD lib525
CC lib526-lib526.o
CC lib526-first.o
CC lib526-testutil.o
CC ../../lib/lib526-warnless.o
CCLD lib526
CC lib527-lib526.o
CC lib527-first.o
CC lib527-testutil.o
CC ../../lib/lib527-warnless.o
CCLD lib527
CC lib529-lib525.o
CC lib529-first.o
CC lib529-testutil.o
CC ../../lib/lib529-warnless.o
CCLD lib529
CC lib530-lib530.o
CC lib530-first.o
CC lib530-testutil.o
CC ../../lib/lib530-warnless.o
CCLD lib530
CC lib532-lib526.o
CC lib532-first.o
CC lib532-testutil.o
CC ../../lib/lib532-warnless.o
CCLD lib532
CC lib533-lib533.o
CC lib533-first.o
CC lib533-testutil.o
CC ../../lib/lib533-warnless.o
CCLD lib533
CC lib537-lib537.o
CC lib537-first.o
CC ../../lib/lib537-warnless.o
CCLD lib537
CC lib539-lib539.o
CC lib539-first.o
CCLD lib539
CC lib540-lib540.o
CC lib540-first.o
CC lib540-testutil.o
CC ../../lib/lib540-warnless.o
CCLD lib540
CC lib541-lib541.o
CC lib541-first.o
CCLD lib541
CC lib542-lib542.o
CC lib542-first.o
CCLD lib542
CC lib543-lib543.o
CC lib543-first.o
CCLD lib543
CC lib544-lib544.o
CC lib544-first.o
CCLD lib544
CC lib545-lib544.o
CC lib545-first.o
CCLD lib545
CC lib547-lib547.o
CC lib547-first.o
CCLD lib547
CC lib548-lib547.o
CC lib548-first.o
CCLD lib548
CC lib549-lib549.o
CC lib549-first.o
CCLD lib549
CC lib552-lib552.o
CC lib552-first.o
CC ../../lib/lib552-warnless.o
CCLD lib552
CC lib553-lib553.o
CC lib553-first.o
CCLD lib553
CC lib554-lib554.o
CC lib554-first.o
CCLD lib554
CC lib555-lib555.o
CC lib555-first.o
CC lib555-testutil.o
CC ../../lib/lib555-warnless.o
CCLD lib555
CC lib556-lib556.o
CC lib556-first.o
CC ../../lib/lib556-warnless.o
CCLD lib556
CC lib557-lib557.o
CC lib557-first.o
CCLD lib557
CC lib558-lib558.o
CC lib558-first.o
CCLD lib558
CC lib559-lib559.o
CC lib559-first.o
CCLD lib559
CC lib560-lib560.o
CC lib560-first.o
CC lib560-testutil.o
CC ../../lib/lib560-warnless.o
CCLD lib560
CC lib562-lib562.o
CC lib562-first.o
CCLD lib562
CC lib564-lib564.o
CC lib564-first.o
CC lib564-testutil.o
CC ../../lib/lib564-warnless.o
CCLD lib564
CC lib565-lib510.o
CC lib565-first.o
CCLD lib565
CC lib566-lib566.o
CC lib566-first.o
CCLD lib566
CC lib567-lib567.o
CC lib567-first.o
CCLD lib567
CC lib568-lib568.o
CC lib568-first.o
CCLD lib568
CC lib569-lib569.o
CC lib569-first.o
CCLD lib569
CC lib570-lib570.o
CC lib570-first.o
CCLD lib570
CC lib571-lib571.o
CC lib571-first.o
CC ../../lib/lib571-warnless.o
CCLD lib571
CC lib572-lib572.o
CC lib572-first.o
CCLD lib572
CC lib573-lib573.o
CC lib573-first.o
CC lib573-testutil.o
CC ../../lib/lib573-warnless.o
CC lib573-testtrace.o
CCLD lib573
CC lib574-lib574.o
CC lib574-first.o
CCLD lib574
CC lib575-lib575.o
CC lib575-first.o
CC lib575-testutil.o
CC ../../lib/lib575-warnless.o
CCLD lib575
CC lib576-lib576.o
CC lib576-first.o
CCLD lib576
CC lib578-lib578.o
CC lib578-first.o
CCLD lib578
CC lib579-lib579.o
CC lib579-first.o
CCLD lib579
CC lib582-lib582.o
CC lib582-first.o
CC lib582-testutil.o
CC ../../lib/lib582-warnless.o
CCLD lib582
CC lib583-lib583.o
CC lib583-first.o
CCLD lib583
CC lib585-lib500.o
CC lib585-first.o
CC lib585-testutil.o
CC lib585-testtrace.o
CCLD lib585
CC lib586-lib586.o
CC lib586-first.o
CCLD lib586
CC lib587-lib554.o
CC lib587-first.o
CCLD lib587
CC lib589-lib589.o
CC lib589-first.o
CCLD lib589
CC lib590-lib590.o
CC lib590-first.o
CCLD lib590
CC lib591-lib591.o
CC lib591-first.o
CC lib591-testutil.o
CC ../../lib/lib591-warnless.o
CCLD lib591
CC lib597-lib597.o
CC lib597-first.o
CC lib597-testutil.o
CC ../../lib/lib597-warnless.o
CCLD lib597
CC lib598-lib598.o
CC lib598-first.o
CCLD lib598
CC lib599-lib599.o
CC lib599-first.o
CCLD lib599
CC lib643-lib643.o
CC lib643-first.o
CCLD lib643
CC lib644-lib643.o
CC lib644-first.o
CCLD lib644
CC lib645-lib643.o
CC lib645-first.o
CCLD lib645
CC lib650-lib650.o
CC lib650-first.o
CCLD lib650
CC lib651-lib651.o
CC lib651-first.o
CCLD lib651
CC lib652-lib652.o
CC lib652-first.o
CCLD lib652
CC lib653-lib653.o
CC lib653-first.o
CCLD lib653
CC lib654-lib654.o
CC lib654-first.o
CCLD lib654
CC lib655-lib655.o
CC lib655-first.o
CCLD lib655
CC lib658-lib658.o
CC lib658-first.o
CC lib658-testutil.o
CC ../../lib/lib658-warnless.o
CCLD lib658
CC lib659-lib659.o
CC lib659-first.o
CC lib659-testutil.o
CC ../../lib/lib659-warnless.o
CCLD lib659
CC lib1156-lib1156.o
CC lib1156-first.o
CC lib1156-testutil.o
CC ../../lib/lib1156-warnless.o
CCLD lib1156
CC lib1500-lib1500.o
CC lib1500-first.o
CC lib1500-testutil.o
CCLD lib1500
CC lib1501-lib1501.o
CC lib1501-first.o
CC lib1501-testutil.o
CC ../../lib/lib1501-warnless.o
CCLD lib1501
CC lib1502-lib1502.o
CC lib1502-first.o
CC lib1502-testutil.o
CC ../../lib/lib1502-warnless.o
CCLD lib1502
CC lib1503-lib1502.o
CC lib1503-first.o
CC lib1503-testutil.o
CC ../../lib/lib1503-warnless.o
CCLD lib1503
CC lib1504-lib1502.o
CC lib1504-first.o
CC lib1504-testutil.o
CC ../../lib/lib1504-warnless.o
CCLD lib1504
CC lib1505-lib1502.o
CC lib1505-first.o
CC lib1505-testutil.o
CC ../../lib/lib1505-warnless.o
CCLD lib1505
CC lib1506-lib1506.o
CC lib1506-first.o
CC lib1506-testutil.o
CC ../../lib/lib1506-warnless.o
CCLD lib1506
CC lib1507-lib1507.o
CC lib1507-first.o
CC lib1507-testutil.o
CC ../../lib/lib1507-warnless.o
CCLD lib1507
CC lib1508-lib1508.o
CC lib1508-first.o
CC lib1508-testutil.o
CC ../../lib/lib1508-warnless.o
CCLD lib1508
CC lib1509-lib1509.o
CC lib1509-first.o
CC lib1509-testutil.o
CC ../../lib/lib1509-warnless.o
CCLD lib1509
CC lib1510-lib1510.o
CC lib1510-first.o
CC lib1510-testutil.o
CC ../../lib/lib1510-warnless.o
CCLD lib1510
CC lib1511-lib1511.o
CC lib1511-first.o
CC lib1511-testutil.o
CC ../../lib/lib1511-warnless.o
CCLD lib1511
CC lib1512-lib1512.o
CC lib1512-first.o
CC lib1512-testutil.o
CC ../../lib/lib1512-warnless.o
CCLD lib1512
CC lib1513-lib1513.o
CC lib1513-first.o
CC lib1513-testutil.o
CC ../../lib/lib1513-warnless.o
CCLD lib1513
CC lib1514-lib1514.o
CC lib1514-first.o
CC lib1514-testutil.o
CC ../../lib/lib1514-warnless.o
CCLD lib1514
CC lib1515-lib1515.o
CC lib1515-first.o
CC lib1515-testutil.o
CC ../../lib/lib1515-warnless.o
CCLD lib1515
CC lib1517-lib1517.o
CC lib1517-first.o
CCLD lib1517
CC lib1518-lib1518.o
CC lib1518-first.o
CCLD lib1518
CC lib1520-lib1520.o
CC lib1520-first.o
CCLD lib1520
/usr/bin/perl /tests/libtest/mk-lib1521.pl < /include/curl/curl.h > lib1521.c
CC lib1521-lib1521.o
CC lib1521-first.o
CCLD lib1521
CC lib1522-lib1522.o
CC lib1522-first.o
CCLD lib1522
CC lib1523-lib1523.o
CC lib1523-first.o
CCLD lib1523
CC lib1525-lib1525.o
CC lib1525-first.o
CC lib1525-testutil.o
CC ../../lib/lib1525-warnless.o
CCLD lib1525
CC lib1526-lib1526.o
CC lib1526-first.o
CC lib1526-testutil.o
CC ../../lib/lib1526-warnless.o
CCLD lib1526
CC lib1527-lib1527.o
CC lib1527-first.o
CC lib1527-testutil.o
CC ../../lib/lib1527-warnless.o
CCLD lib1527
CC lib1528-lib1528.o
CC lib1528-first.o
CC lib1528-testutil.o
CC ../../lib/lib1528-warnless.o
CCLD lib1528
CC lib1529-lib1529.o
CC lib1529-first.o
CC lib1529-testutil.o
CC ../../lib/lib1529-warnless.o
CCLD lib1529
CC lib1530-lib1530.o
CC lib1530-first.o
CC lib1530-testutil.o
CC ../../lib/lib1530-warnless.o
CCLD lib1530
CC lib1531-lib1531.o
CC lib1531-first.o
CC lib1531-testutil.o
CC ../../lib/lib1531-warnless.o
CCLD lib1531
CC lib1532-lib1532.o
CC lib1532-first.o
CC lib1532-testutil.o
CC ../../lib/lib1532-warnless.o
CCLD lib1532
CC lib1533-lib1533.o
CC lib1533-first.o
CC lib1533-testutil.o
CC ../../lib/lib1533-warnless.o
CCLD lib1533
CC lib1534-lib1534.o
CC lib1534-first.o
CC lib1534-testutil.o
CC ../../lib/lib1534-warnless.o
CCLD lib1534
CC lib1535-lib1535.o
CC lib1535-first.o
CC lib1535-testutil.o
CC ../../lib/lib1535-warnless.o
CCLD lib1535
CC lib1536-lib1536.o
CC lib1536-first.o
CC lib1536-testutil.o
CC ../../lib/lib1536-warnless.o
CCLD lib1536
CC lib1537-lib1537.o
CC lib1537-first.o
CC lib1537-testutil.o
CC ../../lib/lib1537-warnless.o
CCLD lib1537
CC lib1538-lib1538.o
CC lib1538-first.o
CC lib1538-testutil.o
CC ../../lib/lib1538-warnless.o
CCLD lib1538
CC lib1540-lib1540.o
CC lib1540-first.o
CC lib1540-testutil.o
CC ../../lib/lib1540-warnless.o
CCLD lib1540
CC lib1541-lib1541.o
CC lib1541-first.o
CC lib1541-testutil.o
CC ../../lib/lib1541-warnless.o
CCLD lib1541
CC lib1550-lib1550.o
CC lib1550-first.o
CCLD lib1550
CC lib1551-lib1551.o
CC lib1551-first.o
CCLD lib1551
CC lib1552-lib1552.o
CC lib1552-first.o
CC lib1552-testutil.o
CCLD lib1552
CC lib1553-lib1553.o
CC lib1553-first.o
CC lib1553-testutil.o
CCLD lib1553
CC lib1554-lib1554.o
CC lib1554-first.o
CCLD lib1554
CC lib1555-lib1555.o
CC lib1555-first.o
CC lib1555-testutil.o
CC ../../lib/lib1555-warnless.o
CCLD lib1555
CC lib1556-lib1556.o
CC lib1556-first.o
CC lib1556-testutil.o
CC ../../lib/lib1556-warnless.o
CCLD lib1556
CC lib1557-lib1557.o
CC lib1557-first.o
CC lib1557-testutil.o
CC ../../lib/lib1557-warnless.o
CCLD lib1557
CC lib1558.o
CC first.o
CC testutil.o
CC ../../lib/warnless.o
CCLD lib1558
CC lib1559.o
CCLD lib1559
CC lib1560.o
CCLD lib1560
CC lib1591-lib1591.o
CC lib1591-first.o
CC lib1591-testutil.o
CC ../../lib/lib1591-warnless.o
CCLD lib1591
CC lib1592-lib1592.o
CC lib1592-first.o
CC lib1592-testutil.o
CC ../../lib/lib1592-warnless.o
CCLD lib1592
CC lib1593.o
CCLD lib1593
CC lib1594.o
CCLD lib1594
CC lib1596-lib1594.o
CC lib1596-first.o
CC lib1596-testutil.o
CC ../../lib/lib1596-warnless.o
CCLD lib1596
CC lib1900-lib1900.o
CC lib1900-first.o
CC lib1900-testutil.o
CC ../../lib/lib1900-warnless.o
CCLD lib1900
CC lib1905-lib1905.o
CC lib1905-first.o
CC lib1905-testutil.o
CC ../../lib/lib1905-warnless.o
CCLD lib1905
CC lib1906-lib1906.o
CC lib1906-first.o
CC lib1906-testutil.o
CC ../../lib/lib1906-warnless.o
CCLD lib1906
CC lib2033-libntlmconnect.o
CC lib2033-first.o
CC lib2033-testutil.o
CC ../../lib/lib2033-warnless.o
CCLD lib2033
CC libstubgss_la-stub_gssapi.lo
CCLD libstubgss.la
RUN checksrc
make[2]: Leaving directory '/build-29962/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-29962/tests/unit'
CC unit1300-unit1300.o
CC ../libtest/unit1300-first.o
CCLD unit1300
CC unit1301-unit1301.o
CC ../libtest/unit1301-first.o
CCLD unit1301
CC unit1302-unit1302.o
CC ../libtest/unit1302-first.o
CCLD unit1302
CC unit1303-unit1303.o
CC ../libtest/unit1303-first.o
CCLD unit1303
CC unit1304-unit1304.o
CC ../libtest/unit1304-first.o
CCLD unit1304
CC unit1305-unit1305.o
CC ../libtest/unit1305-first.o
CCLD unit1305
CC unit1307-unit1307.o
CC ../libtest/unit1307-first.o
CCLD unit1307
CC unit1308-unit1308.o
CC ../libtest/unit1308-first.o
CCLD unit1308
CC unit1309-unit1309.o
CC ../libtest/unit1309-first.o
CCLD unit1309
CC unit1323-unit1323.o
CC ../libtest/unit1323-first.o
CCLD unit1323
CC unit1330-unit1330.o
CC ../libtest/unit1330-first.o
CCLD unit1330
CC unit1394-unit1394.o
CC ../libtest/unit1394-first.o
CCLD unit1394
CC unit1395-unit1395.o
CC ../libtest/unit1395-first.o
CCLD unit1395
CC unit1396-unit1396.o
CC ../libtest/unit1396-first.o
CCLD unit1396
CC unit1397-unit1397.o
CC ../libtest/unit1397-first.o
CCLD unit1397
CC unit1398-unit1398.o
CC ../libtest/unit1398-first.o
CCLD unit1398
CC unit1399-unit1399.o
CC ../libtest/unit1399-first.o
CCLD unit1399
CC unit1600-unit1600.o
CC ../libtest/unit1600-first.o
CCLD unit1600
CC unit1601-unit1601.o
CC ../libtest/unit1601-first.o
CCLD unit1601
CC unit1602-unit1602.o
CC ../libtest/unit1602-first.o
CCLD unit1602
CC unit1603-unit1603.o
CC ../libtest/unit1603-first.o
CCLD unit1603
CC unit1604-unit1604.o
CC ../libtest/unit1604-first.o
CCLD unit1604
CC unit1605-unit1605.o
CC ../libtest/unit1605-first.o
CCLD unit1605
CC unit1606-unit1606.o
CC ../libtest/unit1606-first.o
CCLD unit1606
CC unit1607-unit1607.o
CC ../libtest/unit1607-first.o
CCLD unit1607
CC unit1608-unit1608.o
CC ../libtest/unit1608-first.o
CCLD unit1608
CC unit1609-unit1609.o
CC ../libtest/unit1609-first.o
CCLD unit1609
CC unit1620-unit1620.o
CC ../libtest/unit1620-first.o
CCLD unit1620
CC unit1621-unit1621.o
CC ../libtest/unit1621-first.o
CCLD unit1621
CC unit1650-unit1650.o
CC ../libtest/unit1650-first.o
CCLD unit1650
CC unit1651-unit1651.o
CC ../libtest/unit1651-first.o
CCLD unit1651
CC unit1652-unit1652.o
CC ../libtest/unit1652-first.o
CCLD unit1652
CC unit1653-unit1653.o
CC ../libtest/unit1653-first.o
CCLD unit1653
CC unit1654-unit1654.o
CC ../libtest/unit1654-first.o
CCLD unit1654
make[2]: Leaving directory '/build-29962/tests/unit'
make[2]: Entering directory '/build-29962/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-29962/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-29962/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-29962/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-29962/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-29962/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-29962/tests/server'
make[2]: Leaving directory '/build-29962/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.66.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
* Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
* Disabled:
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1250, remaining: 66:34, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1250, remaining: 45:57, took 1.2s, duration: 00:04)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
--pd---emv- OK (3 out of 1250, remaining: 38:50, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1250, remaining: 35:47, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1250, remaining: 33:36, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1250, remaining: 32:06, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1250, remaining: 31:02, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1250, remaining: 30:23, took 1.3s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1250, remaining: 29:50, took 1.2s, duration: 00:12)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1250, remaining: 31:30, took 2.3s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1250, remaining: 30:51, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1250, remaining: 30:17, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1250, remaining: 29:48, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1250, remaining: 29:22, took 1.2s, duration: 00:19)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1250, remaining: 29:00, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1250, remaining: 28:43, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1250, remaining: 28:26, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1250, remaining: 28:13, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1250, remaining: 27:55, took 1.1s, duration: 00:25)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1250, remaining: 27:38, took 1.1s, duration: 00:26)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1250, remaining: 27:09, took 0.9s, duration: 00:27)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1250, remaining: 27:02, took 1.2s, duration: 00:29)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1250, remaining: 26:47, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1250, remaining: 26:37, took 1.1s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1250, remaining: 26:32, took 1.2s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1250, remaining: 26:26, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1250, remaining: 26:23, took 1.3s, duration: 00:34)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1250, remaining: 26:18, took 1.2s, duration: 00:36)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1250, remaining: 28:56, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1250, remaining: 32:08, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1250, remaining: 31:54, took 1.2s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1250, remaining: 31:37, took 1.2s, duration: 00:49)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1250, remaining: 32:01, took 2.2s, duration: 00:52)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1250, remaining: 31:45, took 1.2s, duration: 00:53)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1250, remaining: 31:31, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1250, remaining: 31:16, took 1.2s, duration: 00:55)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1250, remaining: 31:03, took 1.2s, duration: 00:56)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1250, remaining: 30:50, took 1.2s, duration: 00:58)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1250, remaining: 31:10, took 2.2s, duration: 01:00)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1250, remaining: 31:01, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1250, remaining: 30:42, took 1.0s, duration: 01:02)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1250, remaining: 30:33, took 1.3s, duration: 01:03)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1250, remaining: 30:23, took 1.2s, duration: 01:04)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1250, remaining: 30:14, took 1.2s, duration: 01:06)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1250, remaining: 30:05, took 1.2s, duration: 01:07)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
--pd--oemv- OK (46 out of 1250, remaining: 29:57, took 1.3s, duration: 01:08)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1250, remaining: 29:47, took 1.2s, duration: 01:09)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1250, remaining: 29:39, took 1.2s, duration: 01:11)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1250, remaining: 29:32, took 1.3s, duration: 01:12)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1250, remaining: 29:25, took 1.3s, duration: 01:13)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1250, remaining: 29:19, took 1.3s, duration: 01:14)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1250, remaining: 29:13, took 1.3s, duration: 01:16)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1250, remaining: 29:05, took 1.2s, duration: 01:17)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1250, remaining: 28:58, took 1.2s, duration: 01:18)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1250, remaining: 28:53, took 1.3s, duration: 01:19)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1250, remaining: 28:55, took 1.6s, duration: 01:21)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1250, remaining: 28:49, took 1.2s, duration: 01:22)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1250, remaining: 29:03, took 2.2s, duration: 01:24)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1250, remaining: 28:56, took 1.2s, duration: 01:26)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1250, remaining: 29:10, took 2.2s, duration: 01:28)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1250, remaining: 29:05, took 1.3s, duration: 01:29)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1250, remaining: 29:00, took 1.3s, duration: 01:30)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1250, remaining: 28:53, took 1.2s, duration: 01:32)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1250, remaining: 28:48, took 1.2s, duration: 01:33)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1250, remaining: 28:42, took 1.2s, duration: 01:34)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1250, remaining: 28:36, took 1.2s, duration: 01:35)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1250, remaining: 28:31, took 1.3s, duration: 01:36)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1250, remaining: 28:27, took 1.3s, duration: 01:38)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1250, remaining: 28:22, took 1.3s, duration: 01:39)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1250, remaining: 28:17, took 1.2s, duration: 01:40)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1250, remaining: 28:13, took 1.2s, duration: 01:41)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1250, remaining: 28:08, took 1.2s, duration: 01:43)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
--pd--oemv- OK (73 out of 1250, remaining: 28:03, took 1.2s, duration: 01:44)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1250, remaining: 27:59, took 1.3s, duration: 01:45)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1250, remaining: 27:50, took 0.9s, duration: 01:46)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1250, remaining: 27:41, took 0.9s, duration: 01:47)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1250, remaining: 27:36, took 1.2s, duration: 01:48)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1250, remaining: 27:31, took 1.2s, duration: 01:49)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1250, remaining: 27:27, took 1.2s, duration: 01:51)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
--pd-P-emv- OK (80 out of 1250, remaining: 27:59, took 3.7s, duration: 01:54)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1250, remaining: 27:55, took 1.3s, duration: 01:56)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1250, remaining: 27:51, took 1.2s, duration: 01:57)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1250, remaining: 27:53, took 1.7s, duration: 01:59)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1250, remaining: 27:49, took 1.2s, duration: 02:00)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1250, remaining: 27:44, took 1.2s, duration: 02:01)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1250, remaining: 27:42, took 1.4s, duration: 02:02)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1250, remaining: 27:38, took 1.2s, duration: 02:04)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1250, remaining: 27:48, took 2.3s, duration: 02:06)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1250, remaining: 27:45, took 1.4s, duration: 02:07)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1250, remaining: 27:44, took 1.4s, duration: 02:09)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1250, remaining: 27:41, took 1.3s, duration: 02:10)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1250, remaining: 27:37, took 1.2s, duration: 02:11)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1250, remaining: 27:33, took 1.2s, duration: 02:12)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1250, remaining: 27:28, took 1.2s, duration: 02:14)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1250, remaining: 27:30, took 1.7s, duration: 02:15)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1250, remaining: 27:22, took 0.9s, duration: 02:16)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1250, remaining: 27:17, took 1.2s, duration: 02:17)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1250, remaining: 27:25, took 2.2s, duration: 02:19)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1250, remaining: 27:20, took 1.2s, duration: 02:21)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1250, remaining: 27:41, took 3.3s, duration: 02:24)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1250, remaining: 27:37, took 1.2s, duration: 02:25)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1250, remaining: 27:33, took 1.2s, duration: 02:26)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1250, remaining: 27:29, took 1.2s, duration: 02:28)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1250, remaining: 27:25, took 1.2s, duration: 02:29)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1250, remaining: 27:22, took 1.2s, duration: 02:30)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1250, remaining: 27:18, took 1.2s, duration: 02:31)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1250, remaining: 27:14, took 1.2s, duration: 02:33)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1250, remaining: 27:11, took 1.2s, duration: 02:34)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1250, remaining: 27:08, took 1.2s, duration: 02:35)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1250, remaining: 27:04, took 1.2s, duration: 02:36)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1250, remaining: 27:01, took 1.2s, duration: 02:37)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1250, remaining: 26:57, took 1.2s, duration: 02:39)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1250, remaining: 26:53, took 1.1s, duration: 02:40)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1250, remaining: 26:49, took 1.2s, duration: 02:41)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1250, remaining: 26:45, took 1.2s, duration: 02:42)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1250, remaining: 26:42, took 1.2s, duration: 02:43)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1250, remaining: 26:38, took 1.2s, duration: 02:45)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1250, remaining: 26:35, took 1.2s, duration: 02:46)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1250, remaining: 26:31, took 1.2s, duration: 02:47)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1250, remaining: 26:28, took 1.2s, duration: 02:48)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1250, remaining: 26:25, took 1.2s, duration: 02:49)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1250, remaining: 26:21, took 1.2s, duration: 02:51)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1250, remaining: 26:18, took 1.2s, duration: 02:52)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1250, remaining: 26:15, took 1.2s, duration: 02:53)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1250, remaining: 26:12, took 1.2s, duration: 02:54)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1250, remaining: 26:09, took 1.2s, duration: 02:55)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1250, remaining: 26:06, took 1.2s, duration: 02:57)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1250, remaining: 26:03, took 1.2s, duration: 02:58)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1250, remaining: 26:01, took 1.2s, duration: 02:59)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1250, remaining: 25:58, took 1.2s, duration: 03:00)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1250, remaining: 25:55, took 1.2s, duration: 03:02)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1250, remaining: 25:52, took 1.2s, duration: 03:03)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1250, remaining: 25:50, took 1.2s, duration: 03:04)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1250, remaining: 25:47, took 1.2s, duration: 03:05)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1250, remaining: 25:44, took 1.2s, duration: 03:07)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1250, remaining: 25:42, took 1.2s, duration: 03:08)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1250, remaining: 25:39, took 1.2s, duration: 03:09)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1250, remaining: 25:36, took 1.2s, duration: 03:10)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1250, remaining: 25:34, took 1.3s, duration: 03:11)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1250, remaining: 25:31, took 1.2s, duration: 03:13)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1250, remaining: 25:28, took 1.2s, duration: 03:14)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1250, remaining: 25:27, took 1.3s, duration: 03:15)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1250, remaining: 25:24, took 1.2s, duration: 03:16)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1250, remaining: 25:21, took 1.2s, duration: 03:18)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1250, remaining: 25:18, took 1.2s, duration: 03:19)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1250, remaining: 25:17, took 1.3s, duration: 03:20)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1250, remaining: 25:14, took 1.2s, duration: 03:21)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1250, remaining: 25:11, took 1.2s, duration: 03:23)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1250, remaining: 25:10, took 1.3s, duration: 03:24)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1250, remaining: 25:08, took 1.3s, duration: 03:25)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1250, remaining: 25:05, took 1.2s, duration: 03:26)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1250, remaining: 25:02, took 1.2s, duration: 03:28)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1250, remaining: 25:01, took 1.4s, duration: 03:29)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1250, remaining: 25:06, took 2.2s, duration: 03:31)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1250, remaining: 25:11, took 2.3s, duration: 03:33)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1250, remaining: 25:16, took 2.2s, duration: 03:36)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1250, remaining: 25:13, took 1.2s, duration: 03:37)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1250, remaining: 25:11, took 1.3s, duration: 03:38)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1250, remaining: 25:08, took 1.2s, duration: 03:39)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1250, remaining: 25:20, took 3.3s, duration: 03:43)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1250, remaining: 25:17, took 1.2s, duration: 03:44)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1250, remaining: 25:15, took 1.2s, duration: 03:45)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1250, remaining: 25:12, took 1.2s, duration: 03:46)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1250, remaining: 25:09, took 1.2s, duration: 03:47)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1250, remaining: 25:07, took 1.3s, duration: 03:49)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1250, remaining: 25:05, took 1.2s, duration: 03:50)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1250, remaining: 25:03, took 1.3s, duration: 03:51)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1250, remaining: 25:01, took 1.3s, duration: 03:53)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1250, remaining: 24:59, took 1.3s, duration: 03:54)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1250, remaining: 24:57, took 1.3s, duration: 03:55)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1250, remaining: 24:54, took 1.2s, duration: 03:56)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1250, remaining: 24:52, took 1.2s, duration: 03:58)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1250, remaining: 24:49, took 1.2s, duration: 03:59)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1250, remaining: 24:47, took 1.2s, duration: 04:00)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1250, remaining: 24:44, took 1.2s, duration: 04:01)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1250, remaining: 24:42, took 1.2s, duration: 04:02)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1250, remaining: 24:40, took 1.2s, duration: 04:04)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1250, remaining: 24:37, took 1.2s, duration: 04:05)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1250, remaining: 24:34, took 1.2s, duration: 04:06)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1250, remaining: 24:32, took 1.2s, duration: 04:07)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1250, remaining: 24:30, took 1.2s, duration: 04:08)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1250, remaining: 24:28, took 1.2s, duration: 04:10)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1250, remaining: 24:25, took 1.2s, duration: 04:11)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1250, remaining: 24:23, took 1.2s, duration: 04:12)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1250, remaining: 24:21, took 1.2s, duration: 04:13)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1250, remaining: 24:19, took 1.2s, duration: 04:15)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1250, remaining: 24:17, took 1.2s, duration: 04:16)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1250, remaining: 24:14, took 1.2s, duration: 04:17)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1250, remaining: 24:12, took 1.2s, duration: 04:18)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1250, remaining: 24:54, took 9.1s, duration: 04:27)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1250, remaining: 25:03, took 3.3s, duration: 04:31)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1250, remaining: 25:00, took 1.2s, duration: 04:32)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1250, remaining: 24:57, took 1.2s, duration: 04:33)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1250, remaining: 24:55, took 1.2s, duration: 04:34)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1250, remaining: 24:52, took 1.1s, duration: 04:35)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1250, remaining: 24:55, took 2.2s, duration: 04:38)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1250, remaining: 24:57, took 2.2s, duration: 04:40)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1250, remaining: 25:00, took 2.2s, duration: 04:42)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1250, remaining: 24:57, took 1.2s, duration: 04:43)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1250, remaining: 24:54, took 1.1s, duration: 04:44)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1250, remaining: 24:51, took 1.1s, duration: 04:45)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1250, remaining: 24:48, took 1.1s, duration: 04:46)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1250, remaining: 24:45, took 1.1s, duration: 04:48)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1250, remaining: 24:42, took 1.1s, duration: 04:49)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1250, remaining: 24:39, took 1.1s, duration: 04:50)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1250, remaining: 24:37, took 1.2s, duration: 04:51)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1250, remaining: 24:34, took 1.2s, duration: 04:52)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1250, remaining: 24:37, took 2.2s, duration: 04:54)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1250, remaining: 24:35, took 1.3s, duration: 04:56)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1250, remaining: 24:33, took 1.3s, duration: 04:57)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1250, remaining: 24:31, took 1.3s, duration: 04:58)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1250, remaining: 24:29, took 1.3s, duration: 05:00)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1250, remaining: 24:27, took 1.3s, duration: 05:01)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1250, remaining: 24:25, took 1.2s, duration: 05:02)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1250, remaining: 24:23, took 1.3s, duration: 05:04)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1250, remaining: 24:21, took 1.3s, duration: 05:05)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1250, remaining: 24:19, took 1.2s, duration: 05:06)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1250, remaining: 24:21, took 2.2s, duration: 05:08)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1250, remaining: 24:18, took 1.1s, duration: 05:09)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1250, remaining: 24:16, took 1.2s, duration: 05:10)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1250, remaining: 24:13, took 1.2s, duration: 05:12)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1250, remaining: 24:11, took 1.2s, duration: 05:13)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1250, remaining: 24:08, took 1.2s, duration: 05:14)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1250, remaining: 24:06, took 1.2s, duration: 05:15)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1250, remaining: 24:03, took 1.1s, duration: 05:16)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1250, remaining: 24:01, took 1.2s, duration: 05:18)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1250, remaining: 23:58, took 1.2s, duration: 05:19)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1250, remaining: 23:56, took 1.2s, duration: 05:20)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1250, remaining: 23:54, took 1.2s, duration: 05:21)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1250, remaining: 23:51, took 1.2s, duration: 05:22)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1250, remaining: 23:49, took 1.1s, duration: 05:23)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1250, remaining: 23:47, took 1.2s, duration: 05:25)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1250, remaining: 23:44, took 1.2s, duration: 05:26)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1250, remaining: 23:42, took 1.2s, duration: 05:27)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1250, remaining: 23:40, took 1.3s, duration: 05:28)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1250, remaining: 23:38, took 1.2s, duration: 05:30)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1250, remaining: 23:36, took 1.2s, duration: 05:31)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1250, remaining: 23:33, took 1.2s, duration: 05:32)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1250, remaining: 23:31, took 1.3s, duration: 05:33)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1250, remaining: 23:38, took 3.2s, duration: 05:36)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1250, remaining: 23:35, took 1.2s, duration: 05:38)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1250, remaining: 23:33, took 1.2s, duration: 05:39)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1250, remaining: 23:31, took 1.3s, duration: 05:40)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1250, remaining: 23:29, took 1.2s, duration: 05:41)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1250, remaining: 23:27, took 1.2s, duration: 05:43)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1250, remaining: 23:25, took 1.3s, duration: 05:44)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1250, remaining: 23:23, took 1.2s, duration: 05:45)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1250, remaining: 23:21, took 1.2s, duration: 05:46)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1250, remaining: 23:19, took 1.2s, duration: 05:48)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1250, remaining: 23:57, took 11.4s, duration: 05:59)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1250, remaining: 24:36, took 11.6s, duration: 06:11)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1250, remaining: 24:42, took 3.3s, duration: 06:14)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1250, remaining: 24:40, took 1.2s, duration: 06:15)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1250, remaining: 24:37, took 1.2s, duration: 06:16)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1250, remaining: 24:35, took 1.2s, duration: 06:18)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1250, remaining: 24:32, took 1.2s, duration: 06:19)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1250, remaining: 24:30, took 1.3s, duration: 06:20)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1250, remaining: 24:28, took 1.3s, duration: 06:21)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1250, remaining: 24:33, took 3.3s, duration: 06:25)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1250, remaining: 24:31, took 1.2s, duration: 06:26)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1250, remaining: 24:28, took 1.2s, duration: 06:27)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1250, remaining: 24:26, took 1.2s, duration: 06:28)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1250, remaining: 24:23, took 1.2s, duration: 06:29)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1250, remaining: 24:20, took 1.2s, duration: 06:31)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1250, remaining: 24:19, took 1.3s, duration: 06:32)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1250, remaining: 24:16, took 1.2s, duration: 06:33)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1250, remaining: 24:14, took 1.3s, duration: 06:34)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1250, remaining: 24:11, took 1.2s, duration: 06:36)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1250, remaining: 24:09, took 1.2s, duration: 06:37)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1250, remaining: 24:06, took 1.2s, duration: 06:38)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1250, remaining: 24:11, took 3.2s, duration: 06:41)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1250, remaining: 24:08, took 1.2s, duration: 06:42)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1250, remaining: 24:06, took 1.3s, duration: 06:44)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1250, remaining: 24:03, took 1.2s, duration: 06:45)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1250, remaining: 24:03, took 1.7s, duration: 06:47)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1250, remaining: 24:00, took 1.2s, duration: 06:48)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1250, remaining: 23:58, took 1.2s, duration: 06:49)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1250, remaining: 23:55, took 1.2s, duration: 06:50)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1250, remaining: 23:53, took 1.2s, duration: 06:51)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1250, remaining: 23:51, took 1.2s, duration: 06:53)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1250, remaining: 23:52, took 2.2s, duration: 06:55)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1250, remaining: 23:49, took 1.2s, duration: 06:56)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1250, remaining: 23:47, took 1.1s, duration: 06:57)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1250, remaining: 23:44, took 1.2s, duration: 06:58)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1250, remaining: 23:48, took 3.2s, duration: 07:01)
test 0286...[TFTP send of boundary case 512 byte file]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (286 out of 1250, remaining: 23:59, took 5.0s, duration: 07:06)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1250, remaining: 23:56, took 1.2s, duration: 07:08)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1250, remaining: 23:53, took 1.1s, duration: 07:09)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1250, remaining: 23:50, took 1.0s, duration: 07:10)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1250, remaining: 23:48, took 1.2s, duration: 07:11)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1250, remaining: 23:45, took 1.2s, duration: 07:12)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1250, remaining: 23:43, took 1.2s, duration: 07:13)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1250, remaining: 23:40, took 1.2s, duration: 07:15)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1250, remaining: 23:38, took 1.2s, duration: 07:16)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1250, remaining: 23:36, took 1.2s, duration: 07:17)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1250, remaining: 23:33, took 1.2s, duration: 07:18)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1250, remaining: 23:31, took 1.2s, duration: 07:19)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1250, remaining: 23:29, took 1.2s, duration: 07:21)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1250, remaining: 23:26, took 1.2s, duration: 07:22)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==32264== Invalid read of size 8
==32264== at 0x53315A5: check_free (dlerror.c:188)
==32264== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32264== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32264== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32264== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32264== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32264== by 0x4D60EB9: exit (exit.c:139)
==32264== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32264== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
==32264== Invalid free() / delete / delete[] / realloc()
==32264== at 0x48369AB: free (vg_replace_malloc.c:540)
==32264== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32264== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32264== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32264== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32264== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32264== by 0x4D60EB9: exit (exit.c:139)
==32264== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32264== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
==32264== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
== Contents of files in the log/ dir after test 300
=== Start of file curl300.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl300.out
=== Start of file http_server.log
02:58:57.194001 ====> Client connect
02:58:57.194040 accept_connection 3 returned 4
02:58:57.194059 accept_connection 3 returned 0
02:58:57.194153 Read 96 bytes
02:58:57.194168 Process 96 bytes request
02:58:57.194193 Got request: GET /verifiedserver HTTP/1.1
02:58:57.194210 Are-we-friendly question received
02:58:57.194239 Wrote request (96 bytes) input to log/server.input
02:58:57.194271 Identifying ourselves as friends
02:58:57.194362 Response sent (56 bytes) and written to log/server.response
02:58:57.194384 special request received, no persistency
02:58:57.194406 ====> Client disconnect 0
02:59:01.215450 ====> Client connect
02:59:01.215474 accept_connection 3 returned 4
02:59:01.215488 accept_connection 3 returned 0
02:59:01.299410 Read 85 bytes
02:59:01.299447 Process 85 bytes request
02:59:01.299460 Got request: GET /300 HTTP/1.1
02:59:01.299469 Requested test number 300 part 0
02:59:01.299492 - request found to be complete
02:59:01.299518 Wrote request (85 bytes) input to log/server.input
02:59:01.299541 Send response test300 section <data>
02:59:01.299613 Response sent (103 bytes) and written to log/server.response
02:59:01.299628 => persistent connection request ended, awaits new request
02:59:01.378077 Connection closed by client
02:59:01.378107 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.09 02:58:56 LOG5[32258]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 02:58:56 LOG5[32258]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 02:58:56 LOG5[32258]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 02:58:56 LOG5[32258]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 02:58:56 LOG5[32258]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 02:58:56 LOG5[32258]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 02:58:56 LOG5[32258]: FIPS mode disabled
2019.08.09 02:58:56 LOG5[32258]: Configuration successful
2019.08.09 02:58:57 LOG5[32261]: Service [curltest] accepted connection from 127.0.0.1:48612
2019.08.09 02:58:57 LOG5[32261]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:58:57 LOG5[32261]: Service [curltest] connected remote server from 127.0.0.1:52906
2019.08.09 02:58:57 LOG5[32261]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 02:58:59 LOG5[32265]: Service [curltest] accepted connection from 127.0.0.1:48616
2019.08.09 02:59:01 LOG5[32265]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:59:01 LOG5[32265]: Service [curltest] connected remote server from 127.0.0.1:52910
2019.08.09 02:59:01 LOG5[32265]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5612b59a87c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5612b59a87c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5612b59a87c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5612b59a87c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5612b59a87c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5612b59a87c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5612b59a87c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5612b59a87c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5612b59a87c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 30961
=== End of file https_verify.out
=== Start of file server.input
GET /300 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 30961
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr300
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
=== End of file stderr300
=== Start of file trace300
02:58:59.122653 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:59.178048 == Info: Added connection 0. The cache now contains 1 members
02:58:59.196266 == Info: Trying 127.0.0.1:8991...
02:58:59.196889 == Info: TCP_NODELAY set
02:58:59.202191 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:59.214013 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:59.214608 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:59.215697 == Info: Marked for [keep alive]: HTTP default
02:58:59.266515 == Info: ALPN, offering h2
02:58:59.266820 == Info: ALPN, offering http/1.1
02:59:00.691875 == Info: successfully set certificate verify locations:
02:59:00.692135 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:00.807557 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:00.812549 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:00.812607 => Send SSL data, 148 bytes (0x94)
0000: ......\..|X.}jlx.*.`Ei.cEu...x...*.p.-....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:00.829605 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:00.835024 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:00.835080 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....)..........s.?%....OJ. *U.'.n c.B.........<........h.P.
0040: ...9~C<./................
02:59:00.878966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:00.879408 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:00.879463 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:00.979565 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:00.979839 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:00.979895 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H.......<....Em*.W,.B.3.......L5.m..(...bss!:...AMR..q....
0080: .'...L....yZs.{0B...+%..T.2..+..zU...-.p..?.>DG...\..q.......8..
00c0: .p...Qh..8...I.).;-NM."40.5...Bh6..J*D}..J.|k........>.;Di'..k..
0100: Tw..N<}.....o........m!.Lm..$u.A#n..u.....g..._..2-.....@.0.[:.)
0140: ;Jkb."..Sv.:.
02:59:01.049860 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:01.050215 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:01.050278 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:01.167146 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:01.167404 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:01.167463 => Send SSL data, 70 bytes (0x46)
0000: ...BA....TP..yw@...g....N\....#.vd.[..j...4...YO3.05....J..u..Y(
0040: ...p..
02:59:01.179386 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:01.179974 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:01.180034 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:01.201993 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:01.202067 => Send SSL data, 16 bytes (0x10)
0000: ....... ]-.^?7N.
02:59:01.214580 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:01.217111 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:01.218207 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:01.218264 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:01.220724 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:01.226406 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:01.226461 <= Recv SSL data, 16 bytes (0x10)
0000: ....t.{.^>7.. .f
02:59:01.254813 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:01.255477 == Info: ALPN, server did not agree to a protocol
02:59:01.258163 == Info: Server certificate:
02:59:01.265650 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:01.273008 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:01.273980 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:01.274926 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:01.275804 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:01.277307 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:01.297687 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:01.300643 => Send header, 85 bytes (0x55)
0000: GET /300 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:01.303549 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:01.304031 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:01.308586 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:01.317658 == Info: Mark bundle as not supporting multiuse
02:59:01.318251 == Info: HTTP 1.1 or later with persistent connection
02:59:01.320964 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:01.331764 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:01.332592 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:01.332819 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:01.333671 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
02:59:01.334814 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:01.337286 <= Recv header, 1 bytes (0x1)
0000: .
02:59:01.337938 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:01.341540 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:01.341866 == Info: multi_done
02:59:01.351002 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==32264== Invalid read of size 8
==32264== at 0x53315A5: check_free (dlerror.c:188)
==32264== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32264== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32264== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32264== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32264== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32264== by 0x4D60EB9: exit (exit.c:139)
==32264== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32264== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
==32264== Invalid free() / delete / delete[] / realloc()
==32264== at 0x48369AB: free (vg_replace_malloc.c:540)
==32264== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32264== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32264== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32264== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32264== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32264== by 0x4D60EB9: exit (exit.c:139)
==32264== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32264== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
==32264== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32264== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32264== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32264== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32264== by 0x24B11C: err_get_state (err.c:210)
==32264== by 0x24BCF2: ERR_put_error (err.c:636)
==32264== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32264== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32264== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32264== by 0x27033E: by_file_ctrl (by_file.c:111)
==32264== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32264== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32264== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32264== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32264== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32264== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32264== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32264==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==32268== Invalid read of size 8
==32268== at 0x53315A5: check_free (dlerror.c:188)
==32268== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32268== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32268== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32268== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32268== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32268== by 0x4D60EB9: exit (exit.c:139)
==32268== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32268== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
==32268== Invalid free() / delete / delete[] / realloc()
==32268== at 0x48369AB: free (vg_replace_malloc.c:540)
==32268== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32268== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32268== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32268== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32268== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32268== by 0x4D60EB9: exit (exit.c:139)
==32268== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32268== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
==32268== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
== Contents of files in the log/ dir after test 301
=== Start of file curl301.out
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file curl301.out
=== Start of file http_server.log
02:59:04.501383 ====> Client connect
02:59:04.501416 accept_connection 3 returned 4
02:59:04.501430 accept_connection 3 returned 0
02:59:04.588329 Read 120 bytes
02:59:04.588363 Process 120 bytes request
02:59:04.588379 Got request: GET /301 HTTP/1.1
02:59:04.588388 Requested test number 301 part 0
02:59:04.588413 - request found to be complete
02:59:04.588438 Wrote request (120 bytes) input to log/server.input
02:59:04.588457 Send response test301 section <data>
02:59:04.588479 connection close instruction "swsclose" found in response
02:59:04.588537 Response sent (130 bytes) and written to log/server.response
02:59:04.588548 instructed to close connection after server-reply
02:59:04.588555 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /301 HTTP/1.1
Host: 127.0.0.1:8991
Authorization: Basic ZmFrZTp1c2Vy
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file server.response
=== Start of file stderr301
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
=== End of file stderr301
=== Start of file trace301
02:59:02.442236 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:02.500304 == Info: Added connection 0. The cache now contains 1 members
02:59:02.518700 == Info: Trying 127.0.0.1:8991...
02:59:02.519315 == Info: TCP_NODELAY set
02:59:02.524563 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:02.536525 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:02.537093 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:02.538176 == Info: Marked for [keep alive]: HTTP default
02:59:02.589945 == Info: ALPN, offering h2
02:59:02.590230 == Info: ALPN, offering http/1.1
02:59:03.977273 == Info: successfully set certificate verify locations:
02:59:03.977548 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:04.091527 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.096494 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:04.096554 => Send SSL data, 148 bytes (0x94)
0000: .......{...w.3l...H........)..q..t........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:04.113594 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:04.118998 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:04.119056 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....D.J....p}......P...q..2n.....w .zz.y....&]... ....A.k+.U
0040: ......X./................
02:59:04.162745 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.163187 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:04.163243 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:04.266375 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:04.266646 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:04.266702 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H......F..qa....Ju.X..,.c.HZ..h{T\...4......W?............
0080: ..........}~y..E.m..9Be....k..[7F].w.4..R(.w.0......_.Z........u...
00c0: I....}..v...@lEI..7D.)o3U....,'DX(!^.....d.......r.b.:....[0UE.l
0100: . .u.Mn=..E]Hs.. ....m...t...:..)w..xWB................e*.zJ...u
0140: ...0j.}X?.D.&
02:59:04.336453 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.336801 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:04.336858 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:04.452282 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:04.452522 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:04.452578 => Send SSL data, 70 bytes (0x46)
0000: ...BA..T..w..\v.R..V'...4n.\..?z.E.%.......H..h..[7F]/U.d..C.r...W.
0040: ..UQ.P
02:59:04.465531 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.466127 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:04.466188 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:04.487963 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:04.488024 => Send SSL data, 16 bytes (0x10)
0000: ....,.|.....U)..
02:59:04.500488 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:04.502995 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.504092 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:04.504149 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:04.506597 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:04.512321 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:04.512378 <= Recv SSL data, 16 bytes (0x10)
0000: ......1IC7..T.".
02:59:04.540697 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:04.541355 == Info: ALPN, server did not agree to a protocol
02:59:04.544051 == Info: Server certificate:
02:59:04.551559 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:04.557815 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:04.558763 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:04.559690 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:04.560567 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:04.562067 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5768; line 1556 (connection #0)
02:59:04.569247 == Info: Server auth using Basic with user 'fake'
02:59:04.586678 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.589552 => Send header, 120 bytes (0x78)
0000: GET /301 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: Authorization: Basic ZmFrZTp1c2Vy
004c: User-Agent: curl/7.66.0-DEV
0069: Accept: */*
0076:
02:59:04.592604 == Info: STATE: DO => DO_DONE handle 0x56c5768; line 1627 (connection #0)
02:59:04.593071 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
02:59:04.597475 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.610373 == Info: Mark bundle as not supporting multiuse
02:59:04.610964 == Info: HTTP 1.1 or later with persistent connection
02:59:04.613673 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:59:04.617432 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:04.617658 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:04.619361 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:59:04.619543 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:59:04.620279 == Info: no chunk, no close, no size. Assume close to signal end
02:59:04.620552 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:59:04.622763 <= Recv header, 1 bytes (0x1)
0000: .
02:59:04.639380 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.640538 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:04.640621 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:04.643568 <= Recv data, 0 bytes (0x0)
02:59:04.646913 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
02:59:04.647387 == Info: multi_done
02:59:04.657629 == Info: Closing connection 0
02:59:04.659272 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.659822 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:04.659877 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:04.720055 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==32268== Invalid read of size 8
==32268== at 0x53315A5: check_free (dlerror.c:188)
==32268== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32268== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32268== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32268== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32268== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32268== by 0x4D60EB9: exit (exit.c:139)
==32268== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32268== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
==32268== Invalid free() / delete / delete[] / realloc()
==32268== at 0x48369AB: free (vg_replace_malloc.c:540)
==32268== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32268== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32268== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32268== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32268== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32268== by 0x4D60EB9: exit (exit.c:139)
==32268== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32268== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
==32268== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32268== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32268== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32268== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32268== by 0x24B11C: err_get_state (err.c:210)
==32268== by 0x24BCF2: ERR_put_error (err.c:636)
==32268== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32268== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32268== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32268== by 0x27033E: by_file_ctrl (by_file.c:111)
==32268== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32268== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32268== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32268== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32268== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32268== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32268== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32268==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1250, remaining: 23:39, took 1.2s, duration: 07:32)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 12
valgrind ERROR ==32277== Invalid read of size 8
==32277== at 0x53315A5: check_free (dlerror.c:188)
==32277== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32277== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32277== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32277== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32277== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32277== by 0x4D60EB9: exit (exit.c:139)
==32277== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32277== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
==32277== Invalid free() / delete / delete[] / realloc()
==32277== at 0x48369AB: free (vg_replace_malloc.c:540)
==32277== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32277== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32277== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32277== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32277== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32277== by 0x4D60EB9: exit (exit.c:139)
==32277== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32277== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
==32277== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
== Contents of files in the log/ dir after test 303
=== Start of file curl303.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file curl303.out
=== Start of file http_server.log
02:59:09.005051 ====> Client connect
02:59:09.005094 accept_connection 3 returned 4
02:59:09.005115 accept_connection 3 returned 0
02:59:09.087106 Read 90 bytes
02:59:09.087141 Process 90 bytes request
02:59:09.087160 Got request: GET /want/303 HTTP/1.1
02:59:09.087174 Requested test number 303 part 0
02:59:09.087207 - request found to be complete
02:59:09.087240 Wrote request (90 bytes) input to log/server.input
02:59:09.087269 Send response test303 section <data>
02:59:09.087358 Response sent (94 bytes) and written to log/server.response
02:59:09.087375 Told to sleep for 20 seconds
=== End of file http_server.log
=== Start of file server.input
GET /want/303 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file server.response
=== Start of file stderr303
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 19 0 19 0 0 5 0 --:--:-- 0:00:03 --:--:-- 6
100 19 0 19 0 0 4 0 --:--:-- 0:00:04 --:--:-- 4
100 19 0 19 0 0 3 0 --:--:-- 0:00:05 --:--:-- 3
100 19 0 19 0 0 3 0 --:--:-- 0:00:06 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:07 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:08 --:--:-- 0
curl: (28) Operation timed out after 8001 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
02:59:06.917261 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:06.973260 == Info: Added connection 0. The cache now contains 1 members
02:59:06.991141 == Info: Trying 127.0.0.1:8991...
02:59:06.991746 == Info: TCP_NODELAY set
02:59:06.997452 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:07.010149 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:07.010754 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:07.012746 == Info: Marked for [keep alive]: HTTP default
02:59:07.063832 == Info: ALPN, offering h2
02:59:07.064111 == Info: ALPN, offering http/1.1
02:59:08.487758 == Info: successfully set certificate verify locations:
02:59:08.488020 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:08.601321 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:08.606314 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:08.606372 => Send SSL data, 148 bytes (0x94)
0000: ........4,.t.f..)V.....4......[7F]Ar&..8.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:08.623384 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:08.628790 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:08.628847 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......i..1<.&&...D6..e.D.....=...> ..}s6..V...E&......S..&.:
0040: t..z..[./................
02:59:08.672464 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:08.672907 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:08.672962 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:08.771695 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:08.771968 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:08.772025 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H.......v...l/......o.N..%....<z..V...Y..^.?Jk....d..AW.O.
0080: :...6.sH.p[7F].p.(Q......g...-...J.!.y..5.RO.._....I...H.Hz.s[..G..
00c0: .?hUn..SV..?mvP..g.V...$.(0.3~..v....l(.5N#..=O......0.JH.%Ri...
0100: yc%v.+.;.v..wQ...=p]...QG...........q....D..PAc_...Se..M..@t.f..
0140: (.$......g.%.
02:59:08.840920 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:08.841245 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:08.841300 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:08.956540 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:08.956782 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:08.956838 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....+..}...t".(.1k............&...E..d....4......Ar...jjY.
0040: .?7}.,
02:59:08.968679 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:08.969256 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:08.969316 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:08.991105 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:08.991173 => Send SSL data, 16 bytes (0x10)
0000: .....o8....f..5.
02:59:09.004177 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.006781 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.007887 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:09.007944 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:09.010421 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.016095 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:09.016151 <= Recv SSL data, 16 bytes (0x10)
0000: ............+.D.
02:59:09.044447 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:09.045105 == Info: ALPN, server did not agree to a protocol
02:59:09.047794 == Info: Server certificate:
02:59:09.055273 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.061420 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:09.062368 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:09.063296 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.064175 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:09.065677 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:09.085453 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:59:09.088440 => Send header, 90 bytes (0x5a)
0000: GET /want/303 HTTP/1.1
0018: Host: 127.0.0.1:8991
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:09.091362 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:09.092013 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:09.096413 <= Recv SSL data, 5 bytes (0x5)
0000: ....v
02:59:09.105414 == Info: Mark bundle as not supporting multiuse
02:59:09.106004 == Info: HTTP 1.1 or later with persistent connection
02:59:09.108704 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:59:09.112376 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:09.113459 == Info: Marked for [closure]: Connection: close used
02:59:09.113579 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:09.116197 <= Recv header, 2 bytes (0x2)
0000:
02:59:09.117008 <= Recv data, 19 bytes (0x13)
0000: _data_result_data_.
02:59:14.937409 == Info: Operation timed out after 8001 milliseconds with 19 bytes received
02:59:14.938459 == Info: multi_done
02:59:14.953068 == Info: Closing connection 0
02:59:14.954726 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:14.955638 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:14.955694 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:15.015945 == Info: The cache now contains 0 members
02:59:15.023488 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace303
=== Start of file valgrind303
==32277== Invalid read of size 8
==32277== at 0x53315A5: check_free (dlerror.c:188)
==32277== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32277== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32277== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32277== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32277== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32277== by 0x4D60EB9: exit (exit.c:139)
==32277== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32277== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
==32277== Invalid free() / delete / delete[] / realloc()
==32277== at 0x48369AB: free (vg_replace_malloc.c:540)
==32277== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32277== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32277== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32277== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32277== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32277== by 0x4D60EB9: exit (exit.c:139)
==32277== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32277== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
==32277== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32277== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32277== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32277== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32277== by 0x24B11C: err_get_state (err.c:210)
==32277== by 0x24BCF2: ERR_put_error (err.c:636)
==32277== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32277== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32277== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32277== by 0x27033E: by_file_ctrl (by_file.c:111)
==32277== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32277== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32277== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32277== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32277== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32277== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32277== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32277==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==32287== Invalid read of size 8
==32287== at 0x53315A5: check_free (dlerror.c:188)
==32287== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32287== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32287== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32287== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32287== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32287== by 0x4D60EB9: exit (exit.c:139)
==32287== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32287== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
==32287== Invalid free() / delete / delete[] / realloc()
==32287== at 0x48369AB: free (vg_replace_malloc.c:540)
==32287== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32287== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32287== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32287== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32287== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32287== by 0x4D60EB9: exit (exit.c:139)
==32287== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32287== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
==32287== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
== Contents of files in the log/ dir after test 304
=== Start of file curl304.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file curl304.out
=== Start of file http_server.log
02:59:29.107400 Continuing after sleeping 20 seconds
02:59:29.107536 => persistent connection request ended, awaits new request
02:59:29.107571 Connection closed by client
02:59:29.107592 ====> Client disconnect 0
02:59:29.107687 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:29.107791 ====> Client connect
02:59:29.107830 accept_connection 3 returned 4
02:59:29.107867 accept_connection 3 returned 0
02:59:29.107910 Read 1610 bytes
02:59:29.107944 Process 1610 bytes request
02:59:29.107987 Got request: POST /we/want/304 HTTP/1.1
02:59:29.108013 Requested test number 304 part 0
02:59:29.108075 - request found to be complete
02:59:29.108097 Found Content-Length: 1386 in the request
02:59:29.108138 Wrote request (1610 bytes) input to log/server.input
02:59:29.108178 Send response test304 section <data>
02:59:29.108346 Response sent (108 bytes) and written to log/server.response
02:59:29.108373 => persistent connection request ended, awaits new request
02:59:29.183948 Connection closed by client
02:59:29.183979 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
POST /we/want/304 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
Content-Length: 1386
Content-Type: multipart/form-data; boundary=------------------------3433323135333231
Expect: 100-continue
--------------------------3433323135333231
Content-Disposition: form-data; name="name"
daniel
--------------------------3433323135333231
Content-Disposition: form-data; name="tool"
curl
--------------------------3433323135333231
Content-Disposition: form-data; name="file"; filename="test304.txt"
Content-Type: text/plain
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
--------------------------3433323135333231--
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file server.response
=== Start of file stderr304
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 1386 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
100 1386 0 0 100 1386 0 327 0:00:04 0:00:04 --:--:-- 334
100 1386 0 0 100 1386 0 265 0:00:05 0:00:05 --:--:-- 269
100 1386 0 0 100 1386 0 222 0:00:06 0:00:06 --:--:-- 225
100 1386 0 0 100 1386 0 191 0:00:07 0:00:07 --:--:-- 272
100 1386 0 0 100 1386 0 168 0:00:08 0:00:08 --:--:-- 275
100 1386 0 0 100 1386 0 150 0:00:09 0:00:09 --:--:-- 0
100 1386 0 0 100 1386 0 135 0:00:10 0:00:10 --:--:-- 0
100 1386 0 0 100 1386 0 125 0:00:11 0:00:11 --:--:-- 0
100 1396 0 10 100 1386 0 125 0:00:11 0:00:11 --:--:-- 2
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
02:59:17.073137 == Info: STATE: INIT => CONNECT handle 0x56c9d68; line 1362 (connection #-5000)
02:59:17.128224 == Info: Added connection 0. The cache now contains 1 members
02:59:17.146073 == Info: Trying 127.0.0.1:8991...
02:59:17.146691 == Info: TCP_NODELAY set
02:59:17.151987 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9d68; line 1418 (connection #0)
02:59:17.163625 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:17.164204 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9d68; line 1538 (connection #0)
02:59:17.165294 == Info: Marked for [keep alive]: HTTP default
02:59:17.216227 == Info: ALPN, offering h2
02:59:17.216522 == Info: ALPN, offering http/1.1
02:59:18.643655 == Info: successfully set certificate verify locations:
02:59:18.643926 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:18.757763 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:18.762745 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:18.762805 => Send SSL data, 148 bytes (0x94)
0000: ........FZZ._....V.h....I.4.m...u^.H......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:18.779843 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:18.785289 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:18.785348 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..j'4.|.n.V3..+..O.=}..r.N........ .....~........>.......MwX
0040: L.../.T./................
02:59:18.829068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:18.829508 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:18.829565 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:18.928600 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:18.928903 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:18.928962 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H...........Pd.............OQ.*...>.i....DC).on...k.n.9...
0080: .....p.7...%..<7..w.Z...wc..U.%~^.o....@....W....E }....Xe....u.
00c0: ...t.m.ZdkM..m..B..6p....a.X.......u..m.....`h.W..F.V...l.......
0100: f.J..}t,..x8?.q....F1~..\YB....v......\]...Q....C..o6.}.....jU..
0140: S.=.!...`Ip.-
02:59:18.998256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:18.998602 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:18.998660 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:19.114295 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:19.114542 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:19.114603 => Send SSL data, 70 bytes (0x46)
0000: ...BA...u.Ig..@..x....`=...~V3)#.eU(.p@ .W....}..e.....d..r/#0(%
0040: DO.r;.
02:59:19.126481 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:19.127064 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:19.127123 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:19.148534 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:19.148593 => Send SSL data, 16 bytes (0x10)
0000: ....*3......'[].
02:59:19.161036 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:19.163686 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:19.164790 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:19.164849 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:19.167303 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:19.172976 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:19.173034 <= Recv SSL data, 16 bytes (0x10)
0000: ........S~d...v\
02:59:19.201339 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:19.202000 == Info: ALPN, server did not agree to a protocol
02:59:19.204707 == Info: Server certificate:
02:59:19.212261 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:19.218519 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:19.219467 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:19.220412 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:19.221283 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:19.222790 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9d68; line 1556 (connection #0)
02:59:19.258477 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:19.261391 => Send header, 224 bytes (0xe0)
0000: POST /we/want/304 HTTP/1.1
001c: Host: 127.0.0.1:8991
0032: User-Agent: curl/7.66.0-DEV
004f: Accept: */*
005c: Content-Length: 1386
0072: Content-Type: multipart/form-data; boundary=--------------------
00b2: ----3433323135333231
00c8: Expect: 100-continue
00de:
02:59:19.265226 == Info: STATE: DO => DO_DONE handle 0x56c9d68; line 1627 (connection #0)
02:59:19.265702 == Info: STATE: DO_DONE => PERFORM handle 0x56c9d68; line 1749 (connection #0)
02:59:20.268292 == Info: Done waiting for 100-continue
02:59:20.290663 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:20.291049 => Send data, 1386 bytes (0x56a)
0000: --------------------------3433323135333231
002c: Content-Disposition: form-data; name="name"
0059:
005b: daniel
0063: --------------------------3433323135333231
008f: Content-Disposition: form-data; name="tool"
00bc:
00be: curl
00c4: --------------------------3433323135333231
00f0: Content-Disposition: form-data; name="file"; filename="test304.t
0130: xt"
0135: Content-Type: text/plain
014f:
0151: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0191: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
01d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0211: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0251: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0291: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
02d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0311: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0351: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0391: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
03d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0411: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0451: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0491: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
04d1: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0511: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
053c: --------------------------3433323135333231--
02:59:20.296646 == Info: We are completely uploaded and fine
02:59:28.117290 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:59:28.129907 == Info: Mark bundle as not supporting multiuse
02:59:28.130500 == Info: HTTP 1.1 or later with persistent connection
02:59:28.133200 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:28.136936 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:28.137167 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:28.139620 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
02:59:28.141182 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:28.143642 <= Recv header, 1 bytes (0x1)
0000: .
02:59:28.144295 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:28.147926 == Info: STATE: PERFORM => DONE handle 0x56c9d68; line 1939 (connection #0)
02:59:28.148255 == Info: multi_done
02:59:28.156470 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==32287== Invalid read of size 8
==32287== at 0x53315A5: check_free (dlerror.c:188)
==32287== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32287== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32287== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32287== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32287== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32287== by 0x4D60EB9: exit (exit.c:139)
==32287== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32287== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
==32287== Invalid free() / delete / delete[] / realloc()
==32287== at 0x48369AB: free (vg_replace_malloc.c:540)
==32287== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32287== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32287== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32287== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32287== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32287== by 0x4D60EB9: exit (exit.c:139)
==32287== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32287== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
==32287== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32287== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32287== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32287== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32287== by 0x24B11C: err_get_state (err.c:210)
==32287== by 0x24BCF2: ERR_put_error (err.c:636)
==32287== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32287== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32287== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32287== by 0x27033E: by_file_ctrl (by_file.c:111)
==32287== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32287== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32287== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32287== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32287== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32287== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32287== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32287==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==32297== Invalid read of size 8
==32297== at 0x53315A5: check_free (dlerror.c:188)
==32297== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32297== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32297== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32297== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32297== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32297== by 0x4D60EB9: exit (exit.c:139)
==32297== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32297== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
==32297== Invalid free() / delete / delete[] / realloc()
==32297== at 0x48369AB: free (vg_replace_malloc.c:540)
==32297== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32297== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32297== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32297== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32297== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32297== by 0x4D60EB9: exit (exit.c:139)
==32297== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32297== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
==32297== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
== Contents of files in the log/ dir after test 305
=== Start of file stderr305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr305
=== Start of file trace305
02:59:30.238291 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:30.296341 == Info: Added connection 0. The cache now contains 1 members
02:59:30.314394 == Info: Trying 127.0.0.1:8991...
02:59:30.315001 == Info: TCP_NODELAY set
02:59:30.320119 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:30.331842 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:30.332410 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:30.333571 == Info: Marked for [keep alive]: HTTP default
02:59:30.384619 == Info: ALPN, offering h2
02:59:30.384904 == Info: ALPN, offering http/1.1
02:59:30.395534 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:30.396010 == Info: Marked for [closure]: Failed HTTPS connection
02:59:30.396637 == Info: multi_done
02:59:30.405904 == Info: Closing connection 0
02:59:30.425382 == Info: The cache now contains 0 members
02:59:30.433186 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace305
=== Start of file valgrind305
==32297== Invalid read of size 8
==32297== at 0x53315A5: check_free (dlerror.c:188)
==32297== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32297== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32297== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32297== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32297== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32297== by 0x4D60EB9: exit (exit.c:139)
==32297== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32297== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
==32297== Invalid free() / delete / delete[] / realloc()
==32297== at 0x48369AB: free (vg_replace_malloc.c:540)
==32297== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32297== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32297== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32297== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32297== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32297== by 0x4D60EB9: exit (exit.c:139)
==32297== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32297== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
==32297== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32297== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32297== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32297== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32297== by 0x24B11C: err_get_state (err.c:210)
==32297== by 0x24BCF2: ERR_put_error (err.c:636)
==32297== by 0x23B5C3: BIO_new_file (file.c:99)
==32297== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32297== by 0x27033E: by_file_ctrl (by_file.c:111)
==32297== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32297== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32297== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32297== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32297== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32297== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32297== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32297== by 0x18A94A: https_connecting (http.c:1576)
==32297==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==32301== Invalid read of size 8
==32301== at 0x53315A5: check_free (dlerror.c:188)
==32301== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32301== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32301== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32301== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32301== by 0x4D60EB9: exit (exit.c:139)
==32301== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32301== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
==32301== Invalid free() / delete / delete[] / realloc()
==32301== at 0x48369AB: free (vg_replace_malloc.c:540)
==32301== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32301== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32301== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32301== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32301== by 0x4D60EB9: exit (exit.c:139)
==32301== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32301== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
==32301== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
== Contents of files in the log/ dir after test 306
=== Start of file curl306.out
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file curl306.out
=== Start of file http_server.log
02:59:33.559809 ====> Client connect
02:59:33.559842 accept_connection 3 returned 4
02:59:33.559857 accept_connection 3 returned 0
02:59:33.645378 Read 85 bytes
02:59:33.645412 Process 85 bytes request
02:59:33.645429 Got request: GET /306 HTTP/1.1
02:59:33.645440 Requested test number 306 part 0
02:59:33.645463 - request found to be complete
02:59:33.645487 Wrote request (85 bytes) input to log/server.input
02:59:33.645508 Send response test306 section <data>
02:59:33.645531 connection close instruction "swsclose" found in response
02:59:33.645587 Response sent (107 bytes) and written to log/server.response
02:59:33.645598 instructed to close connection after server-reply
02:59:33.645605 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /306 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file server.response
=== Start of file stderr306
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 107 0 107 0 0 47 0 --:--:-- 0:00:02 --:--:-- 49
=== End of file stderr306
=== Start of file trace306
02:59:31.463045 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:31.518191 == Info: Added connection 0. The cache now contains 1 members
02:59:31.536693 == Info: Trying 127.0.0.1:8991...
02:59:31.537306 == Info: TCP_NODELAY set
02:59:31.542420 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:31.554345 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:31.554938 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:31.556075 == Info: Marked for [keep alive]: HTTP default
02:59:31.607919 == Info: ALPN, offering h2
02:59:31.608210 == Info: ALPN, offering http/1.1
02:59:33.032848 == Info: successfully set certificate verify locations:
02:59:33.033120 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:33.150131 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.155301 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:33.155376 => Send SSL data, 148 bytes (0x94)
0000: ........[7F]."....tV.,........n.r.V`.T.tM....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:33.172496 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:33.177919 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:33.177977 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...\:.."S...."t..........e.....J.. ........h.2...<F.]....>bv
0040: .[7F]...XV./................
02:59:33.221727 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.222168 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:33.222224 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:33.320642 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:33.320907 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:33.320967 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H......4em9....@.2.3l...X*>.......w/`..~p......i..#V;.....
0080: rY..{v../+#.{..Jj..... ..:..,.D.=...............w.P\.9...t......
00c0: ...Z.c..[7F]...1..N.C.Lw.i#@........;I9yg..Y._3.5B........~....}.GM
0100: ^R...A..\..z...UP..M...h.K..k.4r...)U..'...+.9...vP9ov.....C{...
0140: ..l....R_..{o
02:59:33.391226 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.391569 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:33.391628 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:33.510577 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:33.510817 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:33.510882 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....j...&0@..&.6.V/f.m.=....{...T....c..RHn`....yB/v@.x.0.
0040: ..o..4
02:59:33.523167 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.523774 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:33.523834 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:33.545966 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:33.546027 => Send SSL data, 16 bytes (0x10)
0000: .......Wm..2..`.
02:59:33.558919 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:33.561516 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.562644 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:33.562701 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:33.565225 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:33.571082 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:33.571141 <= Recv SSL data, 16 bytes (0x10)
0000: ...........S..k.
02:59:33.600549 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:33.601235 == Info: ALPN, server did not agree to a protocol
02:59:33.604027 == Info: Server certificate:
02:59:33.611795 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:33.618205 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:33.619199 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:33.620161 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:33.621063 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:33.622617 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:33.643587 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:33.646624 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:33.649642 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:33.650126 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:33.654695 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.660132 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:33.661093 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
02:59:33.661575 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
02:59:33.662194 == Info: Increasing bytecount by 38 from hbuflen
02:59:33.697269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.699678 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:33.699847 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:33.704151 == Info: nread <= 0, server closed connection, bailing
02:59:33.707407 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:33.708363 == Info: multi_done
02:59:33.719853 == Info: Closing connection 0
02:59:33.721549 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.722107 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:33.722169 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:33.784241 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==32301== Invalid read of size 8
==32301== at 0x53315A5: check_free (dlerror.c:188)
==32301== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32301== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32301== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32301== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32301== by 0x4D60EB9: exit (exit.c:139)
==32301== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32301== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
==32301== Invalid free() / delete / delete[] / realloc()
==32301== at 0x48369AB: free (vg_replace_malloc.c:540)
==32301== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32301== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32301== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32301== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32301== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32301== by 0x4D60EB9: exit (exit.c:139)
==32301== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32301== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
==32301== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32301== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32301== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32301== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32301== by 0x24B11C: err_get_state (err.c:210)
==32301== by 0x24BCF2: ERR_put_error (err.c:636)
==32301== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32301== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32301== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32301== by 0x27033E: by_file_ctrl (by_file.c:111)
==32301== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32301== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32301== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32301== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32301== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32301== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32301== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32301==
=== End of file valgrind306
test 0307 SKIPPED: curl lacks OpenSSL support
test 0308 SKIPPED: curl lacks OpenSSL support
test 0309...[HTTP Location: redirect to HTTPS URL]
goto problem 16
valgrind ERROR ==32309== Invalid read of size 8
==32309== at 0x53315A5: check_free (dlerror.c:188)
==32309== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32309== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32309== by 0x4D60EB9: exit (exit.c:139)
==32309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32309== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
==32309== Invalid free() / delete / delete[] / realloc()
==32309== at 0x48369AB: free (vg_replace_malloc.c:540)
==32309== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32309== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32309== by 0x4D60EB9: exit (exit.c:139)
==32309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32309== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
==32309== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
== Contents of files in the log/ dir after test 309
=== Start of file curl309.out
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file curl309.out
=== Start of file http_server.log
02:59:34.888149 ====> Client connect
02:59:34.888183 accept_connection 3 returned 4
02:59:34.888198 accept_connection 3 returned 0
02:59:34.917094 Read 90 bytes
02:59:34.917133 Process 90 bytes request
02:59:34.917150 Got request: GET /want/309 HTTP/1.1
02:59:34.917160 Requested test number 309 part 0
02:59:34.917186 - request found to be complete
02:59:34.917209 Wrote request (90 bytes) input to log/server.input
02:59:34.917232 Send response test309 section <data>
02:59:34.917256 connection close instruction "swsclose" found in response
02:59:34.917336 Response sent (277 bytes) and written to log/server.response
02:59:34.917347 instructed to close connection after server-reply
02:59:34.917354 ====> Client disconnect 0
02:59:36.951530 ====> Client connect
02:59:36.951552 accept_connection 3 returned 4
02:59:36.951566 accept_connection 3 returned 0
02:59:37.024510 Read 111 bytes
02:59:37.024547 Process 111 bytes request
02:59:37.024565 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:37.024576 Requested test number 309 part 2
02:59:37.024602 - request found to be complete
02:59:37.024614 Wrote request (111 bytes) input to log/server.input
02:59:37.024626 Send response test309 section <data2>
02:59:37.024649 connection close instruction "swsclose" found in response
02:59:37.024705 Response sent (179 bytes) and written to log/server.response
02:59:37.024715 instructed to close connection after server-reply
02:59:37.024723 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /want/309 HTTP/1.1
Host: 127.0.0.1:8990
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /data/3090002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following to HTTPS URL
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file server.response
=== Start of file stderr309
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 100 52 0 0 23 0 0:00:02 0:00:02 --:--:-- 1677
=== End of file stderr309
=== Start of file trace309
02:59:34.812736 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:34.867096 == Info: Added connection 0. The cache now contains 1 members
02:59:34.884948 == Info: Trying 127.0.0.1:8990...
02:59:34.885588 == Info: TCP_NODELAY set
02:59:34.890835 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:34.902485 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:34.903051 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:34.904146 == Info: Marked for [keep alive]: HTTP default
02:59:34.905039 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:34.917749 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:34.922841 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:34.923308 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:34.932858 == Info: Mark bundle as not supporting multiuse
02:59:34.933452 == Info: HTTP 1.1 or later with persistent connection
02:59:34.936323 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:34.940139 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:34.940364 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:34.942349 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:34.943439 == Info: Marked for [closure]: Connection: close used
02:59:34.943569 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:34.946304 <= Recv header, 2 bytes (0x2)
0000:
02:59:34.948033 == Info: multi_done
02:59:34.957498 == Info: Closing connection 0
02:59:34.962097 == Info: The cache now contains 0 members
02:59:34.972269 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:34.973072 == Info: STATE: PERFORM => CONNECT handle 0x56c52c8; line 1916 (connection #-5000)
02:59:34.976712 == Info: Added connection 1. The cache now contains 1 members
02:59:34.977321 == Info: Trying 127.0.0.1:8991...
02:59:34.977380 == Info: TCP_NODELAY set
02:59:34.977855 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #1)
02:59:34.977986 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:34.978070 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #1)
02:59:34.978144 == Info: Marked for [keep alive]: HTTP default
02:59:35.028587 == Info: ALPN, offering h2
02:59:35.028873 == Info: ALPN, offering http/1.1
02:59:36.435402 == Info: successfully set certificate verify locations:
02:59:36.435662 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:36.550215 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:36.553388 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:36.553459 => Send SSL data, 148 bytes (0x94)
0000: ......N....#..v,.F......E..._^Q;..B2.;....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:36.570334 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:36.575770 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:36.575827 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...ss.{?Gk......lp.f.....E+Q1k3|.. ....+?P.o. ;Y#F<......1.3
0040: ....z.../................
02:59:36.619364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.619816 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:36.619871 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:36.718355 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:36.718618 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:36.718674 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...N@...h...d(.cC..q.%.'.<..#.[7F]..Xg...\y..L....:r37..D.(
0040: ...{..H......?3.k.y.a..4..5.....'.^.Rz.A..5....9...G.H..%...e1Lt
0080: .J]..........O.{Nl&..T..)G^!U....w<./.......v:...<..k.#$.'[7F].9...
00c0: ..*.....S.......i..cK/.g.4i..W:(...6...*..G6`...........)5.Y*)..
0100: ..h..m...v..<6$..Y.K...B..`.$>..!....AyoA8..^ra.k..g]T.~.5h"..I.
0140: W....v9.. .2.
02:59:36.787748 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.788081 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:36.788136 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:36.903933 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:36.904174 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:36.904230 => Send SSL data, 70 bytes (0x46)
0000: ...BA.m.^!O4.50UQ*. .-...d....U.U.....C.@lKV.j.Q........rP..py..
0040: ..U...
02:59:36.916145 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:36.916731 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:36.916787 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:36.938131 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:36.938192 => Send SSL data, 16 bytes (0x10)
0000: .....L..%-....9.
02:59:36.950665 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:36.953180 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.954275 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:36.954332 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:36.956786 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:36.962484 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:36.962540 <= Recv SSL data, 16 bytes (0x10)
0000: ....<u>...#l4...
02:59:36.990895 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:36.991556 == Info: ALPN, server did not agree to a protocol
02:59:36.994227 == Info: Server certificate:
02:59:37.001875 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:37.008090 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:37.009039 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:37.009979 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:37.010843 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:37.012013 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #1)
02:59:37.022841 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:37.025407 => Send header, 111 bytes (0x6f)
0000: GET /data/3090002.txt?coolsite=yes HTTP/1.1
002d: Host: 127.0.0.1:8991
0043: User-Agent: curl/7.66.0-DEV
0060: Accept: */*
006d:
02:59:37.025970 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #1)
02:59:37.026058 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #1)
02:59:37.028787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:37.035169 == Info: Mark bundle as not supporting multiuse
02:59:37.035333 == Info: HTTP 1.1 or later with persistent connection
02:59:37.035404 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:37.035647 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:37.035867 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:37.036934 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:37.037286 <= Recv header, 2 bytes (0x2)
0000:
02:59:37.037666 <= Recv data, 52 bytes (0x34)
0000: If this is received, the location following worked..
02:59:37.042654 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #1)
02:59:37.043019 == Info: multi_done
02:59:37.045710 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:37.047515 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace309
=== Start of file valgrind309
==32309== Invalid read of size 8
==32309== at 0x53315A5: check_free (dlerror.c:188)
==32309== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32309== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32309== by 0x4D60EB9: exit (exit.c:139)
==32309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32309== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
==32309== Invalid free() / delete / delete[] / realloc()
==32309== at 0x48369AB: free (vg_replace_malloc.c:540)
==32309== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32309== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32309== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32309== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32309== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32309== by 0x4D60EB9: exit (exit.c:139)
==32309== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32309== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
==32309== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32309== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32309== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32309== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32309== by 0x24B11C: err_get_state (err.c:210)
==32309== by 0x24BCF2: ERR_put_error (err.c:636)
==32309== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32309== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32309== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32309== by 0x27033E: by_file_ctrl (by_file.c:111)
==32309== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32309== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32309== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32309== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32309== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32309== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32309== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32309==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==32331== Invalid read of size 8
==32331== at 0x53315A5: check_free (dlerror.c:188)
==32331== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32331== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32331== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32331== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32331== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32331== by 0x4D60EB9: exit (exit.c:139)
==32331== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32331== Address 0x5765840 is 0 bytes after a block of size 32 alloc'd
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
==32331== Invalid free() / delete / delete[] / realloc()
==32331== at 0x48369AB: free (vg_replace_malloc.c:540)
==32331== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32331== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32331== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32331== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32331== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32331== by 0x4D60EB9: exit (exit.c:139)
==32331== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32331== Address 0x5765828 is 8 bytes inside a block of size 32 alloc'd
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
==32331== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
== Contents of files in the log/ dir after test 310
=== Start of file curl310.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl310.out
=== Start of file http_server.log
02:59:37.195277 signalled to die
02:59:37.195382 ========> IPv4 sws (port 8990 pid: 30961) exits with signal (15)
02:59:42.217582 Running HTTP IPv4 version on port 8990
02:59:42.217797 Wrote pid 32314 to .http_server.pid
02:59:43.215477 ====> Client connect
02:59:43.215524 accept_connection 3 returned 4
02:59:43.215554 accept_connection 3 returned 0
02:59:43.215585 Read 96 bytes
02:59:43.215609 Process 96 bytes request
02:59:43.215645 Got request: GET /verifiedserver HTTP/1.1
02:59:43.215672 Are-we-friendly question received
02:59:43.215707 Wrote request (96 bytes) input to log/server.input
02:59:43.215752 Identifying ourselves as friends
02:59:43.215878 Response sent (56 bytes) and written to log/server.response
02:59:43.215904 special request received, no persistency
02:59:43.215926 ====> Client disconnect 0
02:59:45.258862 ====> Client connect
02:59:45.258889 accept_connection 3 returned 4
02:59:45.258907 accept_connection 3 returned 0
02:59:45.259046 Read 96 bytes
02:59:45.259074 Process 96 bytes request
02:59:45.259097 Got request: GET /verifiedserver HTTP/1.1
02:59:45.259116 Are-we-friendly question received
02:59:45.259137 Wrote request (96 bytes) input to log/server.input
02:59:45.259159 Identifying ourselves as friends
02:59:45.259231 Response sent (56 bytes) and written to log/server.response
02:59:45.259253 special request received, no persistency
02:59:45.259271 ====> Client disconnect 0
02:59:48.801874 ====> Client connect
02:59:48.801896 accept_connection 3 returned 4
02:59:48.801910 accept_connection 3 returned 0
02:59:48.887487 Read 85 bytes
02:59:48.887515 Process 85 bytes request
02:59:48.887528 Got request: GET /310 HTTP/1.1
02:59:48.887537 Requested test number 310 part 0
02:59:48.887568 - request found to be complete
02:59:48.887596 Wrote request (85 bytes) input to log/server.input
02:59:48.887614 Send response test310 section <data>
02:59:48.887676 Response sent (103 bytes) and written to log/server.response
02:59:48.887686 => persistent connection request ended, awaits new request
02:59:48.961219 Connection closed by client
02:59:48.961258 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x564fa247c7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x564fa247c7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564fa247c7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x564fa247c7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x564fa247c7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x564fa247c7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x564fa247c7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x564fa247c7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32314
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 02:59:44 LOG5[32324]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 02:59:44 LOG5[32324]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 02:59:44 LOG5[32324]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 02:59:44 LOG5[32324]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 02:59:44 LOG5[32324]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 02:59:44 LOG5[32324]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 02:59:44 LOG5[32324]: FIPS mode disabled
2019.08.09 02:59:44 LOG5[32324]: Configuration successful
2019.08.09 02:59:45 LOG5[32327]: Service [curltest] accepted connection from 127.0.0.1:48648
2019.08.09 02:59:45 LOG5[32327]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:59:45 LOG5[32327]: Service [curltest] connected remote server from 127.0.0.1:52942
2019.08.09 02:59:45 LOG5[32327]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 02:59:48 LOG5[32334]: Service [curltest] accepted connection from 127.0.0.1:48654
2019.08.09 02:59:48 LOG5[32334]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:59:48 LOG5[32334]: Service [curltest] connected remote server from 127.0.0.1:52948
2019.08.09 02:59:48 LOG5[32334]: Connection closed: 103 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x559855e4b7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x559855e4b7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x559855e4b7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x559855e4b7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x559855e4b7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x559855e4b7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x559855e4b7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x559855e4b7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x559855e4b7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32314
=== End of file https_verify.out
=== Start of file server.input
GET /310 HTTP/1.1
Host: localhost:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32314
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32314
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr310
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 4 0 0:00:01 0:00:01 --:--:-- 4
=== End of file stderr310
=== Start of file trace310
02:59:47.215209 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:47.273440 == Info: Added connection 0. The cache now contains 1 members
02:59:47.309213 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c5798; line 1403 (connection #0)
02:59:48.096756 == Info: Trying ::1:8991...
02:59:48.097483 == Info: TCP_NODELAY set
02:59:48.102766 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c5798; line 1482 (connection #0)
02:59:48.110972 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:48.113198 == Info: Trying 127.0.0.1:8991...
02:59:48.113261 == Info: TCP_NODELAY set
02:59:48.118260 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:48.118798 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:48.119876 == Info: Marked for [keep alive]: HTTP default
02:59:48.171582 == Info: ALPN, offering h2
02:59:48.171889 == Info: ALPN, offering http/1.1
02:59:48.261051 == Info: successfully set certificate verify locations:
02:59:48.261309 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:48.378552 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:48.383499 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:48.383558 => Send SSL data, 166 bytes (0xa6)
0000: .......^..sH."..;...R.9\.a\qk...aMND......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:48.400483 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:48.405859 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:48.405916 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...L..._F..#....:.w@>lD.vRt".qc.,W P72.3.....7G.....d.8.l...
0040: U(.s5%../....................
02:59:48.450711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:48.451171 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:48.451227 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
02:59:48.624598 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:48.624866 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:48.624921 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..j.R.4.9...lW..?...J...sKO..*.7s.....x.q.XG..t....0..-.
0040: ...<h...)......-..c..............<.[7F]...A..(.B*.?...}....X...;.C,
0080: b..^..0...R.0F)..............Vu.<.,...s..........ih..6Zz..9./H..
00c0: .I..P.....q...... ....A...d...n.....`........{..y./...Ct..b.,b.I
0100: ........ML....!6/w+%T...:Z.F.6*?...........#C}...........|..-...
0140: ...q9.21G.<.g
02:59:48.639503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:48.639815 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:48.639870 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:48.754544 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:48.754780 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:48.754836 => Send SSL data, 70 bytes (0x46)
0000: ...BA......gcp.HR..v..w....?....PG.?S.:.f*=;'.?..............`..
0040: r\..F.
02:59:48.766701 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:48.767277 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:48.767334 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:48.788576 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:48.788633 => Send SSL data, 16 bytes (0x10)
0000: ....xR...u....<.
02:59:48.801006 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:48.803746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:48.804855 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:48.804912 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:48.807351 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:48.813008 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:48.813064 <= Recv SSL data, 16 bytes (0x10)
0000: .....c.H3}.X.{..
02:59:48.840824 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:48.841483 == Info: ALPN, server did not agree to a protocol
02:59:48.844301 == Info: Server certificate:
02:59:48.852254 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:48.856943 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:48.858293 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:48.861314 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:48.863626 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:48.864246 == Info: SSL certificate verify ok.
02:59:48.865744 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5798; line 1556 (connection #0)
02:59:48.885832 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:48.888752 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:48.891772 == Info: STATE: DO => DO_DONE handle 0x56c5798; line 1627 (connection #0)
02:59:48.892261 == Info: STATE: DO_DONE => PERFORM handle 0x56c5798; line 1749 (connection #0)
02:59:48.896902 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
02:59:48.906790 == Info: Mark bundle as not supporting multiuse
02:59:48.907406 == Info: HTTP 1.1 or later with persistent connection
02:59:48.910227 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:48.914069 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:48.914309 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:48.915507 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:48.917977 <= Recv header, 1 bytes (0x1)
0000: .
02:59:48.918802 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:48.924305 == Info: STATE: PERFORM => DONE handle 0x56c5798; line 1939 (connection #0)
02:59:48.924647 == Info: multi_done
02:59:48.933627 == Info: Connection #0 to host localhost left intact
02:59:48.934844 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace310
=== Start of file valgrind310
==32331== Invalid read of size 8
==32331== at 0x53315A5: check_free (dlerror.c:188)
==32331== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32331== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32331== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32331== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32331== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32331== by 0x4D60EB9: exit (exit.c:139)
==32331== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32331== Address 0x5765840 is 0 bytes after a block of size 32 alloc'd
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
==32331== Invalid free() / delete / delete[] / realloc()
==32331== at 0x48369AB: free (vg_replace_malloc.c:540)
==32331== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32331== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32331== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32331== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32331== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32331== by 0x4D60EB9: exit (exit.c:139)
==32331== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32331== Address 0x5765828 is 8 bytes inside a block of size 32 alloc'd
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
==32331== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32331== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32331== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32331== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32331== by 0x24B11C: err_get_state (err.c:210)
==32331== by 0x24BCF2: ERR_put_error (err.c:636)
==32331== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32331== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32331== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32331== by 0x27033E: by_file_ctrl (by_file.c:111)
==32331== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32331== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32331== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32331== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32331== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32331== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32331== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32331==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==32356== Invalid read of size 8
==32356== at 0x53315A5: check_free (dlerror.c:188)
==32356== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32356== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32356== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32356== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32356== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32356== by 0x4D60EB9: exit (exit.c:139)
==32356== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32356== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
==32356== Invalid free() / delete / delete[] / realloc()
==32356== at 0x48369AB: free (vg_replace_malloc.c:540)
==32356== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32356== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32356== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32356== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32356== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32356== by 0x4D60EB9: exit (exit.c:139)
==32356== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32356== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
==32356== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:49.050345 signalled to die
02:59:49.050416 ========> IPv4 sws (port 8990 pid: 32314) exits with signal (15)
02:59:53.073168 Running HTTP IPv4 version on port 8990
02:59:53.073389 Wrote pid 32339 to .http_server.pid
02:59:54.070471 ====> Client connect
02:59:54.070517 accept_connection 3 returned 4
02:59:54.070547 accept_connection 3 returned 0
02:59:54.070578 Read 96 bytes
02:59:54.070601 Process 96 bytes request
02:59:54.070638 Got request: GET /verifiedserver HTTP/1.1
02:59:54.070664 Are-we-friendly question received
02:59:54.070700 Wrote request (96 bytes) input to log/server.input
02:59:54.070747 Identifying ourselves as friends
02:59:54.070868 Response sent (56 bytes) and written to log/server.response
02:59:54.070894 special request received, no persistency
02:59:54.070913 ====> Client disconnect 0
02:59:56.106208 ====> Client connect
02:59:56.106235 accept_connection 3 returned 4
02:59:56.106251 accept_connection 3 returned 0
02:59:56.106407 Read 96 bytes
02:59:56.106439 Process 96 bytes request
02:59:56.106462 Got request: GET /verifiedserver HTTP/1.1
02:59:56.106476 Are-we-friendly question received
02:59:56.106491 Wrote request (96 bytes) input to log/server.input
02:59:56.106506 Identifying ourselves as friends
02:59:56.106561 Response sent (56 bytes) and written to log/server.response
02:59:56.106574 special request received, no persistency
02:59:56.106585 ====> Client disconnect 0
02:59:58.878480 ====> Client connect
02:59:58.878504 accept_connection 3 returned 4
02:59:58.878518 accept_connection 3 returned 0
02:59:58.955324 Connection closed by client
02:59:58.955359 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x564b695ef7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x564b695ef7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564b695ef7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x564b695ef7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x564b695ef7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x564b695ef7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x564b695ef7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x564b695ef7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32339
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 02:59:55 LOG5[32349]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 02:59:55 LOG5[32349]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 02:59:55 LOG5[32349]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 02:59:55 LOG5[32349]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 02:59:55 LOG5[32349]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 02:59:55 LOG5[32349]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 02:59:56 LOG5[32349]: FIPS mode disabled
2019.08.09 02:59:56 LOG5[32349]: Configuration successful
2019.08.09 02:59:56 LOG5[32352]: Service [curltest] accepted connection from 127.0.0.1:48660
2019.08.09 02:59:57 LOG5[32352]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:59:57 LOG5[32352]: Service [curltest] connected remote server from 127.0.0.1:52954
2019.08.09 02:59:57 LOG5[32352]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 02:59:59 LOG5[32359]: Service [curltest] accepted connection from 127.0.0.1:48666
2019.08.09 02:59:59 LOG5[32359]: s_connect: connected 127.0.0.1:8990
2019.08.09 02:59:59 LOG5[32359]: Service [curltest] connected remote server from 127.0.0.1:52960
2019.08.09 02:59:59 LOG5[32359]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55933ffd87c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55933ffd87c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55933ffd87c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55933ffd87c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [979 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:14:23 2018 GMT
* expire date: Dec 6 07:14:23 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55933ffd87c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55933ffd87c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55933ffd87c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55933ffd87c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55933ffd87c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32339
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32339
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32339
=== End of file server.response
=== Start of file stderr311
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr311
=== Start of file trace311
02:59:58.048557 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:58.103823 == Info: Added connection 0. The cache now contains 1 members
02:59:58.159272 == Info: Trying ::1:8991...
02:59:58.159928 == Info: TCP_NODELAY set
02:59:58.164805 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
02:59:58.179357 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:58.181506 == Info: Trying 127.0.0.1:8991...
02:59:58.181569 == Info: TCP_NODELAY set
02:59:58.190188 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:58.190732 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:58.191788 == Info: Marked for [keep alive]: HTTP default
02:59:58.242643 == Info: ALPN, offering h2
02:59:58.242921 == Info: ALPN, offering http/1.1
02:59:58.332991 == Info: successfully set certificate verify locations:
02:59:58.333254 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:58.451747 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:58.456772 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:58.456831 => Send SSL data, 166 bytes (0xa6)
0000: ......D..$.O6z.*H....BK.qf.......>..9F....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:58.474119 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:58.479546 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:58.479603 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y....P.ju".A].X......:..C..L.".0... .8.\a.W....1vfn*(.....w..
0040: \.{_..../....................
02:59:58.524691 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:58.525127 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:58.525183 <= Recv SSL data, 979 bytes (0x3d3)
0000: ..........0...0............f..n0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071423Z..261206071423Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........j....4..H...&2g
0140: .N..L..o...].C..Ob.M|..6.W.a...5 ..}....D...1......RKx.WWk.%)..P
0180: o..<............x.........+.UEJP......)......:.b!<0.Z.qgS.x.~.@
01c0: 2e.|..........9...x....+..?..H/&$4..p.F.........f.N=~...d.....T.
0200: ...e...qCi.P...... 6......0lf" ...Y...qUJf.v...........0..0...U.
0240: ...0...localhost.h0...U........0...U.%..0...+.......0...U.......
0280: .]...h..be .......&0...U.#..0......KF..u.,..T...e.{.0...U....0.0
02c0: ...*.H.............M\...5H...E..\6.7.^3.*.[..p=..f.I...[K..Qu-..
0300: .^a...5q6....&.c..,5t.|.....e....-.3U.......-..\M..uh.f...k.....
0340: Y.jZz.]U.. wI...~.=`#...j.+...W....-Od.....+.4..X.m.16B;.n..wMI)
0380: ..B'.........9.|..'`u..<.b.h..|.......?.q.`.sP....oo;........B.j
03c0: v..Y. ..P........e.
02:59:58.699316 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:58.699580 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:58.699636 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..z|>.c....`7.,..Z.E-...}....A.^p...Q.:'..b.(...,.{Iy..t
0040: .....{p.5....v%cad.[..Q3...?..7R\W.TE.|..k..K...>./J..%X..{y.q.'
0080: ?.'9...6.Q..%o(.w..K. TbV\.EC.....9..h3....k.$.E.......W...i".._
00c0: .......y..@.h...4....cx....r.G.<..[7F].,l......*..J......W.%k.dkj#.
0100: 0=#........]......5A...)he6.O=.%I.xg...}pL.6./.`.....V...z.\2...
0140: .......eN&...
02:59:58.714372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:58.714681 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:58.714737 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:58.830086 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:58.830321 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:58.830377 => Send SSL data, 70 bytes (0x46)
0000: ...BA.j....B.Y.#KIZJ...2e..uw7oI...!..{....~.F>F..O.|......}A.*Y
0040: ..].[7F].
02:59:58.842325 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:58.842931 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:58.842988 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:58.864936 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:58.865014 => Send SSL data, 16 bytes (0x10)
0000: .........z..m.f5
02:59:58.877612 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:58.880467 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:58.881563 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:58.881621 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:58.884071 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:58.889766 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:58.889822 <= Recv SSL data, 16 bytes (0x10)
0000: ........0.EG.7.u
02:59:58.917607 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:58.918272 == Info: ALPN, server did not agree to a protocol
02:59:58.920865 == Info: Server certificate:
02:59:58.928762 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:58.933570 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:58.934913 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:58.938103 == Info: subjectAltName does not match localhost
02:59:58.938842 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:58.939649 == Info: Marked for [closure]: Failed HTTPS connection
02:59:58.940188 == Info: multi_done
02:59:58.949201 == Info: Closing connection 0
02:59:58.953756 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:58.956636 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:58.956692 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:58.980907 == Info: The cache now contains 0 members
02:59:58.988476 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace311
=== Start of file valgrind311
==32356== Invalid read of size 8
==32356== at 0x53315A5: check_free (dlerror.c:188)
==32356== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32356== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32356== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32356== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32356== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32356== by 0x4D60EB9: exit (exit.c:139)
==32356== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32356== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
==32356== Invalid free() / delete / delete[] / realloc()
==32356== at 0x48369AB: free (vg_replace_malloc.c:540)
==32356== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32356== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32356== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32356== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32356== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32356== by 0x4D60EB9: exit (exit.c:139)
==32356== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32356== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
==32356== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32356== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32356== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32356== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32356== by 0x24B11C: err_get_state (err.c:210)
==32356== by 0x24BCF2: ERR_put_error (err.c:636)
==32356== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32356== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32356== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32356== by 0x27033E: by_file_ctrl (by_file.c:111)
==32356== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32356== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32356== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32356== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32356== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32356== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32356== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32356==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==32386== Invalid read of size 8
==32386== at 0x53315A5: check_free (dlerror.c:188)
==32386== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32386== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32386== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32386== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32386== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32386== by 0x4D60EB9: exit (exit.c:139)
==32386== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32386== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
==32386== Invalid free() / delete / delete[] / realloc()
==32386== at 0x48369AB: free (vg_replace_malloc.c:540)
==32386== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32386== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32386== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32386== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32386== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32386== by 0x4D60EB9: exit (exit.c:139)
==32386== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32386== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
==32386== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:59.071804 signalled to die
02:59:59.071905 ========> IPv4 sws (port 8990 pid: 32339) exits with signal (15)
03:00:04.094154 Running HTTP IPv4 version on port 8990
03:00:04.094368 Wrote pid 32371 to .http_server.pid
03:00:05.092189 ====> Client connect
03:00:05.092236 accept_connection 3 returned 4
03:00:05.092266 accept_connection 3 returned 0
03:00:05.092298 Read 96 bytes
03:00:05.092321 Process 96 bytes request
03:00:05.092362 Got request: GET /verifiedserver HTTP/1.1
03:00:05.092387 Are-we-friendly question received
03:00:05.092424 Wrote request (96 bytes) input to log/server.input
03:00:05.092470 Identifying ourselves as friends
03:00:05.092588 Response sent (56 bytes) and written to log/server.response
03:00:05.092614 special request received, no persistency
03:00:05.092632 ====> Client disconnect 0
03:00:07.138725 ====> Client connect
03:00:07.138748 accept_connection 3 returned 4
03:00:07.138762 accept_connection 3 returned 0
03:00:07.138927 Read 96 bytes
03:00:07.138959 Process 96 bytes request
03:00:07.138982 Got request: GET /verifiedserver HTTP/1.1
03:00:07.138996 Are-we-friendly question received
03:00:07.139010 Wrote request (96 bytes) input to log/server.input
03:00:07.139025 Identifying ourselves as friends
03:00:07.139080 Response sent (56 bytes) and written to log/server.response
03:00:07.139094 special request received, no persistency
03:00:07.139104 ====> Client disconnect 0
03:00:09.910521 ====> Client connect
03:00:09.910541 accept_connection 3 returned 4
03:00:09.910554 accept_connection 3 returned 0
03:00:09.989638 Connection closed by client
03:00:09.989673 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55b4d3da57c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b4d3da57c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b4d3da57c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55b4d3da57c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55b4d3da57c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b4d3da57c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55b4d3da57c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b4d3da57c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32371
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 03:00:07 LOG5[32377]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:00:07 LOG5[32377]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:00:07 LOG5[32377]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:00:07 LOG5[32377]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:00:07 LOG5[32377]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:00:07 LOG5[32377]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 03:00:07 LOG5[32377]: FIPS mode disabled
2019.08.09 03:00:07 LOG5[32377]: Configuration successful
2019.08.09 03:00:08 LOG5[32381]: Service [curltest] accepted connection from 127.0.0.1:48680
2019.08.09 03:00:08 LOG5[32381]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:00:08 LOG5[32381]: Service [curltest] connected remote server from 127.0.0.1:52974
2019.08.09 03:00:08 LOG5[32381]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 03:00:10 LOG5[32387]: Service [curltest] accepted connection from 127.0.0.1:48686
2019.08.09 03:00:10 LOG5[32387]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:00:10 LOG5[32387]: Service [curltest] connected remote server from 127.0.0.1:52980
2019.08.09 03:00:10 LOG5[32387]: Connection closed: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55f4f7ef67c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55f4f7ef67c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55f4f7ef67c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55f4f7ef67c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [983 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
* start date: Sep 19 07:14:12 2018 GMT
* expire date: Dec 6 07:14:12 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55f4f7ef67c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55f4f7ef67c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55f4f7ef67c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55f4f7ef67c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55f4f7ef67c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32371
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32371
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32371
=== End of file server.response
=== Start of file stderr312
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr312
=== Start of file trace312
03:00:09.077565 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
03:00:09.132861 == Info: Added connection 0. The cache now contains 1 members
03:00:09.188114 == Info: Trying ::1:8991...
03:00:09.188761 == Info: TCP_NODELAY set
03:00:09.193620 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
03:00:09.208152 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:09.210294 == Info: Trying 127.0.0.1:8991...
03:00:09.210357 == Info: TCP_NODELAY set
03:00:09.218615 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:09.219136 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
03:00:09.220187 == Info: Marked for [keep alive]: HTTP default
03:00:09.271007 == Info: ALPN, offering h2
03:00:09.271309 == Info: ALPN, offering http/1.1
03:00:09.364254 == Info: successfully set certificate verify locations:
03:00:09.364525 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:09.482668 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:09.487670 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:09.487729 => Send SSL data, 166 bytes (0xa6)
0000: ......Og.^.}...6J+.m....+;......2.........+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:09.505009 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:09.510492 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:09.510551 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.......N*.Tn...I....E)......d...[7F]; ........R[G"....4nf.c....
0040: .E....../....................
03:00:09.555537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:09.555999 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:09.556055 <= Recv SSL data, 983 bytes (0x3d7)
0000: ..........0...0............f...0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071412Z..261206071412Z0W1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost.nn0.."0...*.H.............0..........^L......b=8.
0140: ^.b[.................$..A[7F]vV=.r!*I.TB...........`..a...51...'...
0180: ..jr..Du;.>v..`.1.Ob.~m...0a.7...e...a..u..R.[9E5c....vJ.x..,...
01c0: .'....9..#..e.x.|.U...p...Y....\qx............%P....w{......C...
0200: n..&.....O.f.);nz...t....F...B..u...[...veY9..]...........0..0..
0240: .U....0...localhost.nn0...U........0...U.%..0...+.......0...U...
0280: ...........~.K.#..*.nI.0...U.#..0......KF..u.,..T...e.{.0...U...
02c0: .0.0...*.H..............'z..9....h.J.../.R.G_0..,.,b;$.=7X..{..-
0300: <..I.c:..4......{.lf.h.'.a`.e..f...C.<W...)....TWB|.o....>..bIa.
0340: ...!.I..B.....j%.yB.u.A...B...7..R. .....ZG.....5..i..)..0.-..3.
0380: 8.5.....;..P}..^....YvtB..)IL......$>......s_~...tSF...m..b.....
03c0: .....R.D...I!..{.xU[...
03:00:09.731032 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:09.731303 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:09.731360 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A........kH&.Ta/..x..>.E$.f.....;.o.\.c.Y|s..........L.JV
0040: ....U..y.....wN.P..O6.B.N..EU...4[7F]...>C......Y...+.OP......-2.o)
0080: .....z...~(Z:<........{)&.L..h.......;>]H............>J..ClO?..'
00c0: ...3... .(...IZ,....O.89.`..B....TC..N...E.....BW..#9.P..b.....8
0100: e....+..l..J...C......6{y.N....V.T.z,......AQM.,...U...@...0..%.
0140: .E.P.}-....$.
03:00:09.746049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:09.746363 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:09.746419 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:09.862693 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:09.862939 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:09.862996 => Send SSL data, 70 bytes (0x46)
0000: ...BA......G.}!.....?"..$.x....X......5Q.!...w...:u....& P..f...
0040: ....y.
03:00:09.875141 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:09.875724 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:09.875788 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:09.897136 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:09.897210 => Send SSL data, 16 bytes (0x10)
0000: .....q.zc5h+V..h
03:00:09.909685 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:09.912270 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:09.913406 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:09.913469 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:09.916001 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:09.921886 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:09.921947 <= Recv SSL data, 16 bytes (0x10)
0000: ....%r.-..A.D.<.
03:00:09.950353 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:09.951023 == Info: ALPN, server did not agree to a protocol
03:00:09.953654 == Info: Server certificate:
03:00:09.961679 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:00:09.966527 == Info: start date: Sep 19 07:14:12 2018 GMT
03:00:09.967886 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:00:09.972589 == Info: subjectAltName does not match localhost
03:00:09.973335 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:00:09.974104 == Info: Marked for [closure]: Failed HTTPS connection
03:00:09.974640 == Info: multi_done
03:00:09.983544 == Info: Closing connection 0
03:00:09.988096 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:09.990990 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:00:09.991047 => Send SSL data, 2 bytes (0x2)
0000: ..
03:00:10.016531 == Info: The cache now contains 0 members
03:00:10.024205 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace312
=== Start of file valgrind312
==32386== Invalid read of size 8
==32386== at 0x53315A5: check_free (dlerror.c:188)
==32386== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32386== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32386== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32386== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32386== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32386== by 0x4D60EB9: exit (exit.c:139)
==32386== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32386== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
==32386== Invalid free() / delete / delete[] / realloc()
==32386== at 0x48369AB: free (vg_replace_malloc.c:540)
==32386== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32386== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32386== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32386== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32386== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32386== by 0x4D60EB9: exit (exit.c:139)
==32386== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32386== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
==32386== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32386== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32386== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32386== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32386== by 0x24B11C: err_get_state (err.c:210)
==32386== by 0x24BCF2: ERR_put_error (err.c:636)
==32386== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32386== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32386== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32386== by 0x27033E: by_file_ctrl (by_file.c:111)
==32386== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32386== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32386== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32386== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32386== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32386== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32386== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32386==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==32405== Invalid read of size 8
==32405== at 0x53315A5: check_free (dlerror.c:188)
==32405== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32405== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32405== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32405== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32405== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32405== by 0x4D60EB9: exit (exit.c:139)
==32405== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32405== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
==32405== Invalid free() / delete / delete[] / realloc()
==32405== at 0x48369AB: free (vg_replace_malloc.c:540)
==32405== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32405== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32405== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32405== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32405== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32405== by 0x4D60EB9: exit (exit.c:139)
==32405== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32405== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
==32405== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:10.107520 signalled to die
03:00:10.107611 ========> IPv4 sws (port 8990 pid: 32371) exits with signal (15)
03:00:16.126657 Running HTTP IPv4 version on port 8990
03:00:16.126797 Wrote pid 32392 to .http_server.pid
03:00:17.126555 ====> Client connect
03:00:17.126589 accept_connection 3 returned 4
03:00:17.126612 accept_connection 3 returned 0
03:00:17.126648 Read 96 bytes
03:00:17.126667 Process 96 bytes request
03:00:17.126708 Got request: GET /verifiedserver HTTP/1.1
03:00:17.126747 Are-we-friendly question received
03:00:17.126785 Wrote request (96 bytes) input to log/server.input
03:00:17.126825 Identifying ourselves as friends
03:00:17.126948 Response sent (56 bytes) and written to log/server.response
03:00:17.126969 special request received, no persistency
03:00:17.126984 ====> Client disconnect 0
03:00:19.169848 ====> Client connect
03:00:19.169876 accept_connection 3 returned 4
03:00:19.169893 accept_connection 3 returned 0
03:00:19.170030 Read 96 bytes
03:00:19.170067 Process 96 bytes request
03:00:19.170091 Got request: GET /verifiedserver HTTP/1.1
03:00:19.170106 Are-we-friendly question received
03:00:19.170121 Wrote request (96 bytes) input to log/server.input
03:00:19.170136 Identifying ourselves as friends
03:00:19.170214 Response sent (56 bytes) and written to log/server.response
03:00:19.170230 special request received, no persistency
03:00:19.170240 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55879b5c77c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55879b5c77c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55879b5c77c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55879b5c77c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55879b5c77c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55879b5c77c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55879b5c77c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55879b5c77c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32392
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 03:00:18 LOG5[32398]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:00:18 LOG5[32398]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:00:18 LOG5[32398]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:00:18 LOG5[32398]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:00:18 LOG5[32398]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:00:18 LOG5[32398]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 03:00:18 LOG5[32398]: FIPS mode disabled
2019.08.09 03:00:18 LOG5[32398]: Configuration successful
2019.08.09 03:00:19 LOG5[32401]: Service [curltest] accepted connection from 127.0.0.1:48694
2019.08.09 03:00:19 LOG5[32401]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:00:19 LOG5[32401]: Service [curltest] connected remote server from 127.0.0.1:52988
2019.08.09 03:00:19 LOG5[32401]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 03:00:21 LOG5[32408]: Service [curltest] accepted connection from 127.0.0.1:48702
2019.08.09 03:00:21 LOG3[32408]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.08.09 03:00:21 LOG5[32408]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x563cc85657c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x563cc85657c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563cc85657c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x563cc85657c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x563cc85657c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x563cc85657c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563cc85657c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x563cc85657c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563cc85657c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32392
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32392
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32392
=== End of file server.response
=== Start of file stderr313
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: CRL has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr313
=== Start of file trace313
03:00:21.107146 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:00:21.162046 == Info: Added connection 0. The cache now contains 1 members
03:00:21.217442 == Info: Trying ::1:8991...
03:00:21.218084 == Info: TCP_NODELAY set
03:00:21.222999 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:00:21.237533 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:21.239670 == Info: Trying 127.0.0.1:8991...
03:00:21.239732 == Info: TCP_NODELAY set
03:00:21.248035 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:21.248556 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:00:21.249594 == Info: Marked for [keep alive]: HTTP default
03:00:21.300371 == Info: ALPN, offering h2
03:00:21.300652 == Info: ALPN, offering http/1.1
03:00:21.390542 == Info: successfully set certificate verify locations:
03:00:21.390801 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:21.439870 == Info: successfully load CRL file:
03:00:21.440364 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:00:21.557488 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:21.562522 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:21.562579 => Send SSL data, 166 bytes (0xa6)
0000: ......<k).....$.4.....Imx.s.{.c...K..5....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:21.579682 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:21.585150 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:21.585206 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...vu...r...|Y9/.4..S.0.. .6=..vo. ...........>.*........W@o
0040: =x...././....................
03:00:21.629944 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:21.630399 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:21.630454 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:00:21.722684 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:21.725755 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:00:21.725812 => Send SSL data, 2 bytes (0x2)
0000: .-
03:00:21.732589 == Info: SSL certificate problem: CRL has expired
03:00:21.733079 == Info: Marked for [closure]: Failed HTTPS connection
03:00:21.733617 == Info: multi_done
03:00:21.742453 == Info: Closing connection 0
03:00:21.778870 == Info: The cache now contains 0 members
03:00:21.786572 == Info: Expire cleared (transfer 0x56c5c78)
=== End of file trace313
=== Start of file valgrind313
==32405== Invalid read of size 8
==32405== at 0x53315A5: check_free (dlerror.c:188)
==32405== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32405== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32405== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32405== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32405== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32405== by 0x4D60EB9: exit (exit.c:139)
==32405== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32405== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
==32405== Invalid free() / delete / delete[] / realloc()
==32405== at 0x48369AB: free (vg_replace_malloc.c:540)
==32405== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32405== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32405== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32405== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32405== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32405== by 0x4D60EB9: exit (exit.c:139)
==32405== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32405== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
==32405== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==32405== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32405== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32405== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32405== by 0x24B11C: err_get_state (err.c:210)
==32405== by 0x24BCF2: ERR_put_error (err.c:636)
==32405== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32405== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32405== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32405== by 0x27033E: by_file_ctrl (by_file.c:111)
==32405== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32405== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32405== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32405== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32405== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32405== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32405== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32405==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1250, remaining: 26:17, took 1.2s, duration: 08:49)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1250, remaining: 26:14, took 1.2s, duration: 08:50)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1250, remaining: 26:11, took 1.2s, duration: 08:51)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1250, remaining: 26:08, took 1.2s, duration: 08:52)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1250, remaining: 26:05, took 1.2s, duration: 08:54)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1250, remaining: 26:02, took 1.2s, duration: 08:55)
test 0320 SKIPPED: curl lacks TLS-SRP support
test 0321 SKIPPED: curl lacks TLS-SRP support
test 0322 SKIPPED: curl lacks TLS-SRP support
test 0325...[HTTPS with attempted redirect to denied HTTP]
goto problem 21
valgrind ERROR ==32449== Invalid read of size 8
==32449== at 0x53315A5: check_free (dlerror.c:188)
==32449== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32449== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32449== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32449== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32449== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32449== by 0x4D60EB9: exit (exit.c:139)
==32449== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32449== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
==32449== Invalid free() / delete / delete[] / realloc()
==32449== at 0x48369AB: free (vg_replace_malloc.c:540)
==32449== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32449== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32449== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32449== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32449== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32449== by 0x4D60EB9: exit (exit.c:139)
==32449== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32449== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
==32449== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
== Contents of files in the log/ dir after test 325
=== Start of file curl325.out
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
=== End of file curl325.out
=== Start of file http_server.log
03:00:29.133031 signalled to die
03:00:29.133135 ========> IPv4 sws (port 8990 pid: 32392) exits with signal (15)
03:00:34.154370 Running HTTP IPv4 version on port 8990
03:00:34.154627 Wrote pid 32436 to .http_server.pid
03:00:35.153174 ====> Client connect
03:00:35.153229 accept_connection 3 returned 4
03:00:35.153261 accept_connection 3 returned 0
03:00:35.153293 Read 96 bytes
03:00:35.153317 Process 96 bytes request
03:00:35.153365 Got request: GET /verifiedserver HTTP/1.1
03:00:35.153391 Are-we-friendly question received
03:00:35.153428 Wrote request (96 bytes) input to log/server.input
03:00:35.153474 Identifying ourselves as friends
03:00:35.153604 Response sent (56 bytes) and written to log/server.response
03:00:35.153631 special request received, no persistency
03:00:35.153649 ====> Client disconnect 0
03:00:37.197384 ====> Client connect
03:00:37.197409 accept_connection 3 returned 4
03:00:37.197423 accept_connection 3 returned 0
03:00:37.197566 Read 96 bytes
03:00:37.197605 Process 96 bytes request
03:00:37.197628 Got request: GET /verifiedserver HTTP/1.1
03:00:37.197643 Are-we-friendly question received
03:00:37.197657 Wrote request (96 bytes) input to log/server.input
03:00:37.197674 Identifying ourselves as friends
03:00:37.197726 Response sent (56 bytes) and written to log/server.response
03:00:37.197740 special request received, no persistency
03:00:37.197751 ====> Client disconnect 0
03:00:41.241693 ====> Client connect
03:00:41.241715 accept_connection 3 returned 4
03:00:41.241730 accept_connection 3 returned 0
03:00:41.325162 Read 85 bytes
03:00:41.325207 Process 85 bytes request
03:00:41.325229 Got request: GET /325 HTTP/1.1
03:00:41.325244 Requested test number 325 part 0
03:00:41.325288 - request found to be complete
03:00:41.325328 Wrote request (85 bytes) input to log/server.input
03:00:41.325355 Send response test325 section <data>
03:00:41.325423 Response sent (134 bytes) and written to log/server.response
03:00:41.325433 => persistent connection request ended, awaits new request
03:00:41.420148 Connection closed by client
03:00:41.420190 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55e49c99c7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55e49c99c7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e49c99c7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55e49c99c7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55e49c99c7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55e49c99c7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55e49c99c7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e49c99c7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 32436
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 03:00:36 LOG5[32444]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:00:36 LOG5[32444]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:00:36 LOG5[32444]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:00:36 LOG5[32444]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:00:36 LOG5[32444]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:00:36 LOG5[32444]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 03:00:36 LOG5[32444]: FIPS mode disabled
2019.08.09 03:00:36 LOG5[32444]: Configuration successful
2019.08.09 03:00:37 LOG5[32447]: Service [curltest] accepted connection from 127.0.0.1:48728
2019.08.09 03:00:37 LOG5[32447]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:00:37 LOG5[32447]: Service [curltest] connected remote server from 127.0.0.1:53022
2019.08.09 03:00:37 LOG5[32447]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 03:00:39 LOG5[32450]: Service [curltest] accepted connection from 127.0.0.1:48732
2019.08.09 03:00:41 LOG5[32450]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:00:41 LOG5[32450]: Service [curltest] connected remote server from 127.0.0.1:53026
2019.08.09 03:00:41 LOG5[32450]: Connection closed: 134 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5626ee4bd7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5626ee4bd7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5626ee4bd7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5626ee4bd7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5626ee4bd7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5626ee4bd7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5626ee4bd7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x5626ee4bd7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5626ee4bd7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 32436
=== End of file https_verify.out
=== Start of file server.input
GET /325 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32436
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 32436
HTTP/1.1 301 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
Location: http://somewhere/325
MooMoo
=== End of file server.response
=== Start of file stderr325
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
curl: (1) Protocol "http" not supported or disabled in libcurl
=== End of file stderr325
=== Start of file trace325
03:00:39.136057 == Info: STATE: INIT => CONNECT handle 0x56c5ba8; line 1362 (connection #-5000)
03:00:39.190862 == Info: Added connection 0. The cache now contains 1 members
03:00:39.208738 == Info: Trying 127.0.0.1:8991...
03:00:39.209349 == Info: TCP_NODELAY set
03:00:39.214449 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5ba8; line 1418 (connection #0)
03:00:39.226119 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:39.226679 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5ba8; line 1538 (connection #0)
03:00:39.227758 == Info: Marked for [keep alive]: HTTP default
03:00:39.279966 == Info: ALPN, offering h2
03:00:39.280253 == Info: ALPN, offering http/1.1
03:00:40.724240 == Info: successfully set certificate verify locations:
03:00:40.724496 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:40.838086 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:40.843056 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:40.843113 => Send SSL data, 148 bytes (0x94)
0000: ......z.......6G....F.D..d.H..P.2.........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:40.860218 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:40.865691 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:40.865748 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..h].*-.G..x....VY....|.JX..>...., ......f...'..j.&IS..0.f..
0040: '..6..Z./................
03:00:40.909562 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:40.910019 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:40.910075 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:00:41.008674 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:41.008933 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:41.008988 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...2@|..[7F]Be....F!G.u?....2....)d.A.....'..".&.B....9.M..
0040: Uz`_U...........<.[.r.:...J...."\.XW.w<.r..f#Ka..g..A.].j;..T...
0080: ..r.Xj&........U.3o.b.:...o.....M..k..n.*U.d.l.._>..W...i%....X.
00c0: )T:).Q..-._V8'.3q..w....>_....cQyd....[.....Y......\.e.a.H.G.|..
0100: ^)Q...Cm.2s..5"jY.^..soa........A........E.......t.*S........:v.
0140: .R.O.U..^...\
03:00:41.078178 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.078510 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:41.078565 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:41.194121 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:41.194360 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:41.194416 => Send SSL data, 70 bytes (0x46)
0000: ...BA....}.b}..P...+o......4..F.h.G..4k.P.H..J3......2i$3i.....Q
0040: @P..W.
03:00:41.206257 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:41.206860 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:41.206917 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:41.228267 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:41.228324 => Send SSL data, 16 bytes (0x10)
0000: .........|...o.b
03:00:41.240831 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.243481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:41.244581 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:41.244638 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:41.247088 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:41.252749 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:41.252804 <= Recv SSL data, 16 bytes (0x10)
0000: ....VuSj_.P.|...
03:00:41.281154 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:41.281812 == Info: ALPN, server did not agree to a protocol
03:00:41.284686 == Info: Server certificate:
03:00:41.292215 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.298365 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:41.299311 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:41.300252 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:41.301128 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:41.302654 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5ba8; line 1556 (connection #0)
03:00:41.323472 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:41.326423 => Send header, 85 bytes (0x55)
0000: GET /325 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
03:00:41.329346 == Info: STATE: DO => DO_DONE handle 0x56c5ba8; line 1627 (connection #0)
03:00:41.329814 == Info: STATE: DO_DONE => PERFORM handle 0x56c5ba8; line 1749 (connection #0)
03:00:41.334409 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:00:41.343562 == Info: Mark bundle as not supporting multiuse
03:00:41.344155 == Info: HTTP 1.1 or later with persistent connection
03:00:41.347015 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:41.357858 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:00:41.358107 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:41.358334 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:41.359494 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:41.360373 <= Recv SSL data, 5 bytes (0x5)
0000: ....:
03:00:41.362726 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:41.365424 <= Recv header, 1 bytes (0x1)
0000: .
03:00:41.365965 == Info: Ignoring the response-body
03:00:41.366316 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:41.368517 == Info: multi_done
03:00:41.377578 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:41.381483 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:41.382281 == Info: STATE: PERFORM => CONNECT handle 0x56c5ba8; line 1916 (connection #-5000)
03:00:41.385007 == Info: Protocol "http" not supported or disabled in libcurl
03:00:41.387062 == Info: Closing connection -1
=== End of file trace325
=== Start of file valgrind325
==32449== Invalid read of size 8
==32449== at 0x53315A5: check_free (dlerror.c:188)
==32449== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32449== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32449== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32449== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32449== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32449== by 0x4D60EB9: exit (exit.c:139)
==32449== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32449== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
==32449== Invalid free() / delete / delete[] / realloc()
==32449== at 0x48369AB: free (vg_replace_malloc.c:540)
==32449== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32449== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32449== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32449== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32449== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32449== by 0x4D60EB9: exit (exit.c:139)
==32449== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32449== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
==32449== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32449== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32449== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32449== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32449== by 0x24B11C: err_get_state (err.c:210)
==32449== by 0x24BCF2: ERR_put_error (err.c:636)
==32449== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32449== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32449== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32449== by 0x27033E: by_file_ctrl (by_file.c:111)
==32449== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32449== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32449== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32449== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32449== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32449== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==32449== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==32449==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1250, remaining: 25:55, took 1.2s, duration: 09:08)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1250, remaining: 25:53, took 1.3s, duration: 09:10)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1250, remaining: 25:49, took 1.2s, duration: 09:11)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1250, remaining: 25:47, took 1.3s, duration: 09:12)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1250, remaining: 25:44, took 1.2s, duration: 09:13)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1250, remaining: 25:41, took 1.2s, duration: 09:15)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1250, remaining: 25:38, took 1.1s, duration: 09:16)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1250, remaining: 25:34, took 0.9s, duration: 09:17)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1250, remaining: 25:31, took 1.2s, duration: 09:18)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (335 out of 1250, remaining: 25:28, took 1.1s, duration: 09:19)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (336 out of 1250, remaining: 25:25, took 1.2s, duration: 09:20)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (337 out of 1250, remaining: 25:22, took 1.2s, duration: 09:21)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (338 out of 1250, remaining: 25:19, took 1.2s, duration: 09:23)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (339 out of 1250, remaining: 25:16, took 1.2s, duration: 09:24)
test 0354...[FTP without password]
--pd---emv- OK (340 out of 1250, remaining: 25:13, took 1.2s, duration: 09:25)
test 0355 SKIPPED: curl lacks alt-svc support
test 0356 SKIPPED: curl lacks alt-svc support
test 0393...[HTTP max-filesize and out-of-range Content-Length]
--p----emv- OK (343 out of 1250, remaining: 24:58, took 1.2s, duration: 09:26)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (344 out of 1250, remaining: 24:55, took 1.2s, duration: 09:27)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (345 out of 1250, remaining: 24:52, took 1.2s, duration: 09:29)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==32538== Invalid read of size 8
==32538== at 0x53315A5: check_free (dlerror.c:188)
==32538== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32538== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32538== by 0x4D60EB9: exit (exit.c:139)
==32538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32538== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
==32538== Invalid free() / delete / delete[] / realloc()
==32538== at 0x48369AB: free (vg_replace_malloc.c:540)
==32538== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32538== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32538== by 0x4D60EB9: exit (exit.c:139)
==32538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32538== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
==32538== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
== Contents of files in the log/ dir after test 400
=== Start of file curl400.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl400.out
=== Start of file ftp_server.log
03:01:03.855100 ====> Client connect
03:01:03.855245 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:03.855764 < "USER anonymous"
03:01:03.855806 > "331 We are happy you popped in![CR][LF]"
03:01:03.856325 < "PASS ftp@example.com"
03:01:03.856375 > "230 Welcome you silly person[CR][LF]"
03:01:03.856908 < "PBSZ 0"
03:01:03.856957 > "500 PBSZ not implemented[CR][LF]"
03:01:03.857479 < "PROT C"
03:01:03.857530 > "500 PROT not implemented[CR][LF]"
03:01:03.857994 < "PWD"
03:01:03.858073 > "257 "/" is current directory[CR][LF]"
03:01:03.858580 < "EPSV"
03:01:03.858621 ====> Passive DATA channel requested by client
03:01:03.858656 DATA sockfilt for passive data channel starting...
03:01:03.860605 DATA sockfilt for passive data channel started (pid 32533)
03:01:03.860809 DATA sockfilt for passive data channel listens on port 37365
03:01:03.860880 > "229 Entering Passive Mode (|||37365|)[LF]"
03:01:03.860907 Client has been notified that DATA conn will be accepted on port 37365
03:01:03.861309 Client connects to port 37365
03:01:03.861372 ====> Client established passive DATA connection on port 37365
03:01:03.861472 < "TYPE I"
03:01:03.861511 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:03.861949 < "SIZE verifiedserver"
03:01:03.862004 > "213 17[CR][LF]"
03:01:03.862433 < "RETR verifiedserver"
03:01:03.862499 > "150 Binary junk (17 bytes).[CR][LF]"
03:01:03.862605 =====> Closing passive DATA connection...
03:01:03.862631 Server disconnects passive DATA connection
03:01:03.862792 DATA sockfilt for passive data channel quits (pid 32534)
03:01:03.862823 =====> Closed passive DATA connection
03:01:03.862881 > "226 File transfer complete[CR][LF]"
03:01:03.904260 < "QUIT"
03:01:03.904388 > "221 bye bye baby[CR][LF]"
03:01:03.904744 MAIN sockfilt said DISC
03:01:03.904820 ====> Client disconnected
03:01:03.904946 Awaiting input
03:01:07.884598 ====> Client connect
03:01:07.884700 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:07.971779 < "USER anonymous"
03:01:07.971823 > "331 We are happy you popped in![CR][LF]"
03:01:07.982741 < "PASS ftp@example.com"
03:01:07.982773 > "230 Welcome you silly person[CR][LF]"
03:01:07.985053 < "PBSZ 0"
03:01:07.985079 > "500 PBSZ not implemented[CR][LF]"
03:01:07.986500 < "PROT C"
03:01:07.986531 > "500 PROT not implemented[CR][LF]"
03:01:07.988001 < "PWD"
03:01:07.988038 > "257 "/" is current directory[CR][LF]"
03:01:07.994586 < "EPSV"
03:01:07.994616 ====> Passive DATA channel requested by client
03:01:07.994629 DATA sockfilt for passive data channel starting...
03:01:07.996113 DATA sockfilt for passive data channel started (pid 32540)
03:01:07.996269 DATA sockfilt for passive data channel listens on port 33811
03:01:07.996312 > "229 Entering Passive Mode (|||33811|)[LF]"
03:01:07.996328 Client has been notified that DATA conn will be accepted on port 33811
03:01:08.003535 Client connects to port 33811
03:01:08.003572 ====> Client established passive DATA connection on port 33811
03:01:08.008743 < "TYPE A"
03:01:08.008777 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:08.010907 < "LIST"
03:01:08.010938 > "150 here comes a directory[CR][LF]"
03:01:08.010968 pass LIST data on data connection
03:01:08.011048 =====> Closing passive DATA connection...
03:01:08.011063 Server disconnects passive DATA connection
03:01:08.011554 DATA sockfilt for passive data channel quits (pid 32541)
03:01:08.011580 =====> Closed passive DATA connection
03:01:08.011607 > "226 ASCII transfer complete[CR][LF]"
03:01:08.095741 < "QUIT"
03:01:08.095783 > "221 bye bye baby[CR][LF]"
03:01:08.100056 MAIN sockfilt said DISC
03:01:08.100092 ====> Client disconnected
03:01:08.100139 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:03.955801 ====> Client connect
03:01:03.956064 Received DATA (on stdin)
03:01:03.956097 > 160 bytes data, server => client
03:01:03.956123 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:03.956143 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:03.956158 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:03.956460 < 16 bytes data, client => server
03:01:03.956506 'USER anonymous\r\n'
03:01:03.956635 Received DATA (on stdin)
03:01:03.956668 > 33 bytes data, server => client
03:01:03.956691 '331 We are happy you popped in!\r\n'
03:01:03.957081 < 22 bytes data, client => server
03:01:03.957115 'PASS ftp@example.com\r\n'
03:01:03.957204 Received DATA (on stdin)
03:01:03.957249 > 30 bytes data, server => client
03:01:03.957271 '230 Welcome you silly person\r\n'
03:01:03.957643 < 8 bytes data, client => server
03:01:03.957693 'PBSZ 0\r\n'
03:01:03.957788 Received DATA (on stdin)
03:01:03.957833 > 26 bytes data, server => client
03:01:03.957854 '500 PBSZ not implemented\r\n'
03:01:03.958239 < 8 bytes data, client => server
03:01:03.958270 'PROT C\r\n'
03:01:03.958344 Received DATA (on stdin)
03:01:03.958376 > 26 bytes data, server => client
03:01:03.958397 '500 PROT not implemented\r\n'
03:01:03.958737 < 5 bytes data, client => server
03:01:03.958773 'PWD\r\n'
03:01:03.958890 Received DATA (on stdin)
03:01:03.958912 > 30 bytes data, server => client
03:01:03.958944 '257 "/" is current directory\r\n'
03:01:03.959322 < 6 bytes data, client => server
03:01:03.959353 'EPSV\r\n'
03:01:03.961680 Received DATA (on stdin)
03:01:03.961706 > 38 bytes data, server => client
03:01:03.961725 '229 Entering Passive Mode (|||37365|)\n'
03:01:03.962217 < 8 bytes data, client => server
03:01:03.962233 'TYPE I\r\n'
03:01:03.962316 Received DATA (on stdin)
03:01:03.962334 > 33 bytes data, server => client
03:01:03.962349 '200 I modify TYPE as you wanted\r\n'
03:01:03.962643 < 21 bytes data, client => server
03:01:03.962678 'SIZE verifiedserver\r\n'
03:01:03.962811 Received DATA (on stdin)
03:01:03.962826 > 8 bytes data, server => client
03:01:03.962838 '213 17\r\n'
03:01:03.963121 < 21 bytes data, client => server
03:01:03.963146 'RETR verifiedserver\r\n'
03:01:03.963304 Received DATA (on stdin)
03:01:03.963323 > 29 bytes data, server => client
03:01:03.963342 '150 Binary junk (17 bytes).\r\n'
03:01:03.963701 Received DATA (on stdin)
03:01:03.963749 > 28 bytes data, server => client
03:01:03.963780 '226 File transfer complete\r\n'
03:01:04.004843 < 6 bytes data, client => server
03:01:04.004912 'QUIT\r\n'
03:01:04.005196 Received DATA (on stdin)
03:01:04.005233 > 18 bytes data, server => client
03:01:04.005266 '221 bye bye baby\r\n'
03:01:04.005497 ====> Client disconnect
03:01:07.985349 ====> Client connect
03:01:07.985503 Received DATA (on stdin)
03:01:07.985520 > 160 bytes data, server => client
03:01:07.985540 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:07.985558 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:07.985574 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:08.072461 < 16 bytes data, client => server
03:01:08.072497 'USER anonymous\r\n'
03:01:08.072651 Received DATA (on stdin)
03:01:08.072674 > 33 bytes data, server => client
03:01:08.072690 '331 We are happy you popped in!\r\n'
03:01:08.083500 < 22 bytes data, client => server
03:01:08.083524 'PASS ftp@example.com\r\n'
03:01:08.083578 Received DATA (on stdin)
03:01:08.083589 > 30 bytes data, server => client
03:01:08.083599 '230 Welcome you silly person\r\n'
03:01:08.085827 < 8 bytes data, client => server
03:01:08.085849 'PBSZ 0\r\n'
03:01:08.085906 Received DATA (on stdin)
03:01:08.085928 > 26 bytes data, server => client
03:01:08.085943 '500 PBSZ not implemented\r\n'
03:01:08.087235 < 8 bytes data, client => server
03:01:08.087257 'PROT C\r\n'
03:01:08.087361 Received DATA (on stdin)
03:01:08.087384 > 26 bytes data, server => client
03:01:08.087399 '500 PROT not implemented\r\n'
03:01:08.088737 < 5 bytes data, client => server
03:01:08.088760 'PWD\r\n'
03:01:08.088868 Received DATA (on stdin)
03:01:08.088897 > 30 bytes data, server => client
03:01:08.088913 '257 "/" is current directory\r\n'
03:01:08.095318 < 6 bytes data, client => server
03:01:08.095342 'EPSV\r\n'
03:01:08.097139 Received DATA (on stdin)
03:01:08.097163 > 38 bytes data, server => client
03:01:08.097179 '229 Entering Passive Mode (|||33811|)\n'
03:01:08.109462 < 8 bytes data, client => server
03:01:08.109486 'TYPE A\r\n'
03:01:08.109606 Received DATA (on stdin)
03:01:08.109629 > 33 bytes data, server => client
03:01:08.109644 '200 I modify TYPE as you wanted\r\n'
03:01:08.111642 < 6 bytes data, client => server
03:01:08.111665 'LIST\r\n'
03:01:08.111745 Received DATA (on stdin)
03:01:08.111757 > 28 bytes data, server => client
03:01:08.111772 '150 here comes a directory\r\n'
03:01:08.112416 Received DATA (on stdin)
03:01:08.112437 > 29 bytes data, server => client
03:01:08.112453 '226 ASCII transfer complete\r\n'
03:01:08.196453 < 6 bytes data, client => server
03:01:08.196483 'QUIT\r\n'
03:01:08.196611 Received DATA (on stdin)
03:01:08.196634 > 18 bytes data, server => client
03:01:08.196648 '221 bye bye baby\r\n'
03:01:08.200812 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:03.961137 Running IPv4 version
03:01:03.961261 Listening on port 37365
03:01:03.961306 Wrote pid 32534 to ./.ftp_sockdata.pid
03:01:03.961333 Received PING (on stdin)
03:01:03.961479 Received PORT (on stdin)
03:01:03.962057 ====> Client connect
03:01:03.963379 Received DATA (on stdin)
03:01:03.963430 > 17 bytes data, server => client
03:01:03.963452 'WE ROOLZ: 31737\r\n'
03:01:03.963518 Received DISC (on stdin)
03:01:03.963540 ====> Client forcibly disconnected
03:01:03.963569 Received QUIT (on stdin)
03:01:03.963585 quits
03:01:03.963606 ============> sockfilt quits
03:01:07.096764 Running IPv4 version
03:01:07.096823 Listening on port 33811
03:01:07.096859 Wrote pid 32541 to ./.ftp_sockdata.pid
03:01:07.096875 Received PING (on stdin)
03:01:07.096984 Received PORT (on stdin)
03:01:07.104290 ====> Client connect
03:01:07.111833 Received DATA (on stdin)
03:01:07.111856 > 10 bytes data, server => client
03:01:07.111870 'total 20\r\n'
03:01:07.111898 Received DATA (on stdin)
03:01:07.111909 > 57 bytes data, server => client
03:01:07.111921 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:07.111937 Received DATA (on stdin)
03:01:07.111947 > 58 bytes data, server => client
03:01:07.111959 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:07.111973 Received DATA (on stdin)
03:01:07.111983 > 61 bytes data, server => client
03:01:07.111995 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:07.112002 '\n'
03:01:07.112016 Received DATA (on stdin)
03:01:07.112025 > 62 bytes data, server => client
03:01:07.112037 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:07.112045 '\n'
03:01:07.112058 Received DATA (on stdin)
03:01:07.112067 > 70 bytes data, server => client
03:01:07.112079 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:07.112087 'usr/bin\r\n'
03:01:07.112101 Received DATA (on stdin)
03:01:07.112110 > 59 bytes data, server => client
03:01:07.112122 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:07.112136 Received DATA (on stdin)
03:01:07.112146 > 69 bytes data, server => client
03:01:07.112158 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:07.112165 'd.html\r\n'
03:01:07.112179 Received DATA (on stdin)
03:01:07.112189 > 59 bytes data, server => client
03:01:07.112200 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:07.112214 Received DATA (on stdin)
03:01:07.112224 > 59 bytes data, server => client
03:01:07.112236 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:07.112250 Received DATA (on stdin)
03:01:07.112259 > 59 bytes data, server => client
03:01:07.112271 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:07.112285 Received DISC (on stdin)
03:01:07.112297 ====> Client forcibly disconnected
03:01:07.112349 Received QUIT (on stdin)
03:01:07.112371 quits
03:01:07.112390 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.09 03:01:02 LOG5[32529]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:01:02 LOG5[32529]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:01:02 LOG5[32529]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:01:02 LOG5[32529]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:01:02 LOG5[32529]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:01:02 LOG5[32529]: Reading configuration from file /build-29962/tests/ftps_stunnel.conf
2019.08.09 03:01:02 LOG5[32529]: FIPS mode disabled
2019.08.09 03:01:02 LOG5[32529]: Configuration successful
2019.08.09 03:01:03 LOG5[32532]: Service [curltest] accepted connection from 127.0.0.1:56512
2019.08.09 03:01:03 LOG5[32532]: s_connect: connected 127.0.0.1:8992
2019.08.09 03:01:03 LOG5[32532]: Service [curltest] connected remote server from 127.0.0.1:45474
2019.08.09 03:01:03 LOG5[32532]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.09 03:01:05 LOG5[32539]: Service [curltest] accepted connection from 127.0.0.1:56518
2019.08.09 03:01:07 LOG5[32539]: s_connect: connected 127.0.0.1:8992
2019.08.09 03:01:07 LOG5[32539]: Service [curltest] connected remote server from 127.0.0.1:45480
2019.08.09 03:01:08 LOG5[32539]: Connection closed: 451 byte(s) sent to SSL, 85 byte(s) sent to socket
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x55a1c764d798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a1c764d798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a1c764d798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x55a1c7663370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55a1c764d798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55a1c7663370 (line 792) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x55a1c7663370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55a1c7663370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55a1c7663370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55a1c7663370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55a1c7663370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55a1c764d798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55a1c7663370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55a1c764d798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||37365|)
* Trying 127.0.0.1:37365...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 37365
* FTP 0x55a1c7663370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55a1c764d798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x55a1c7663370 (line 3418) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x55a1c7663370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55a1c7663370 (line 2229) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (17 bytes).
* Maxdownload = -1
* Getting file with size: 17
* FTP 0x55a1c7663370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55a1c764d798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a1c764d798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55a1c764d798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a1c764d798)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr400
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 281 0 --:--:-- 0:00:02 --:--:-- 292
=== End of file stderr400
=== Start of file trace400
03:01:05.947394 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:06.002691 == Info: Added connection 0. The cache now contains 1 members
03:01:06.020603 == Info: Trying 127.0.0.1:8993...
03:01:06.021211 == Info: TCP_NODELAY set
03:01:06.026330 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:06.037936 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:06.038501 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:06.039572 == Info: Marked for [keep alive]: FTP default
03:01:07.464954 == Info: successfully set certificate verify locations:
03:01:07.465219 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:07.578570 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:07.583611 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:07.583671 => Send SSL data, 126 bytes (0x7e)
0000: ...z..u.n1U....D3 ...'..........A.5y......+./.,.0...............
0040: ../.5.....3...................................................
03:01:07.600519 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:07.606164 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:07.606222 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....E;m#.@k..8....(Du...}"...u.ak. .9.$..$.Z.5....n.........
0040: {'.K..*./................
03:01:07.651401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.651887 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:07.651944 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:07.751015 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:07.751276 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:07.751333 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P..............+.^.h!...4W./%..._.....[:..]z.!................
0080: /HI.4...S./...\..".NZFq..D,.y.O.^8.U....h.l.NKu.t...x.2!..H..T..
00c0: ....o.#.T..>...E.g..6.G4..v..;3...|9,.pa..0...H..`......e...,>..
0100: ......{N..i....GV...g......6....s.A.[....D............D.o...'x.y
0140: ".$...H...|}.
03:01:07.820975 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.821304 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:07.821363 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:07.937381 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:07.937624 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:07.937681 => Send SSL data, 70 bytes (0x46)
0000: ...BA....q"/G.8.Y.......1xp....J...&....T$da..;....u.Qh..Oi.....
0040: ..46F.
03:01:07.949632 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.950249 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:07.950308 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:07.971954 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:07.972014 => Send SSL data, 16 bytes (0x10)
0000: .....zm.f....a N
03:01:07.984507 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.987044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.988149 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:07.988207 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:07.990658 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.996341 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:07.996399 <= Recv SSL data, 16 bytes (0x10)
0000: ....].....@.....
03:01:08.024985 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:08.027250 == Info: Server certificate:
03:01:08.034763 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:08.040926 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:08.041878 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:08.042810 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:08.043679 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:08.045204 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:08.051237 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:08.058983 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:08.062512 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:08.062708 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:08.062894 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:08.063078 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:08.070786 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:08.073707 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:08.074488 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:08.075248 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:08.081386 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:08.082054 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:08.083314 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:08.083435 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:08.083815 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:08.084837 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:08.084983 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:08.085669 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:08.085789 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:08.086114 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:08.086409 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:08.086548 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:08.087085 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:08.087203 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:08.087532 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:08.087784 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:08.087923 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:08.088586 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:08.088704 => Send header, 5 bytes (0x5)
0000: PWD
03:01:08.089018 == Info: FTP 0x57410b0 (line 804) state change from PROT to PWD
03:01:08.089344 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:08.089483 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:08.090605 == Info: Entry path is '/'
03:01:08.090830 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:08.090996 == Info: protocol connect phase DONE
03:01:08.091244 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:08.093168 == Info: DO phase starts
03:01:08.095159 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:08.095282 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:08.095624 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:08.095804 == Info: Connect data stream passively
03:01:08.096575 == Info: ftp_perform ends with SECONDARY: 0
03:01:08.097363 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:08.098280 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:08.098440 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||33811|).
03:01:08.104106 == Info: Trying 127.0.0.1:33811...
03:01:08.104169 == Info: TCP_NODELAY set
03:01:08.104864 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 33811
03:01:08.105978 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:08.106619 == Info: DO phase is complete2
03:01:08.107044 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:08.107762 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:08.107983 == Info: DO-MORE connected phase starts
03:01:08.109301 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:08.109425 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:08.109768 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:08.110152 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:08.110295 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:08.111489 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:08.111609 => Send header, 6 bytes (0x6)
0000: LIST
03:01:08.112170 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:08.113765 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:08.113908 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:08.114502 == Info: Maxdownload = -1
03:01:08.115871 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:08.116583 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:08.116975 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:08.120411 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:08.129014 == Info: nread <= 0, server closed connection, bailing
03:01:08.130183 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:08.130510 == Info: multi_done
03:01:08.133774 == Info: Remembering we are in dir ""
03:01:08.156407 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:08.156635 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:08.165696 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:08.168988 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace400
=== Start of file valgrind400
==32538== Invalid read of size 8
==32538== at 0x53315A5: check_free (dlerror.c:188)
==32538== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32538== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32538== by 0x4D60EB9: exit (exit.c:139)
==32538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32538== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
==32538== Invalid free() / delete / delete[] / realloc()
==32538== at 0x48369AB: free (vg_replace_malloc.c:540)
==32538== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32538== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32538== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32538== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32538== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32538== by 0x4D60EB9: exit (exit.c:139)
==32538== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32538== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
==32538== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32538== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32538== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32538== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32538== by 0x24B11C: err_get_state (err.c:210)
==32538== by 0x24BCF2: ERR_put_error (err.c:636)
==32538== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32538== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32538== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32538== by 0x27033E: by_file_ctrl (by_file.c:111)
==32538== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32538== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32538== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32538== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32538== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32538== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32538== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32538==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==32544== Invalid read of size 8
==32544== at 0x53315A5: check_free (dlerror.c:188)
==32544== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32544== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32544== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32544== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32544== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32544== by 0x4D60EB9: exit (exit.c:139)
==32544== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32544== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
==32544== Invalid free() / delete / delete[] / realloc()
==32544== at 0x48369AB: free (vg_replace_malloc.c:540)
==32544== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32544== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32544== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32544== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32544== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32544== by 0x4D60EB9: exit (exit.c:139)
==32544== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32544== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
==32544== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:01:11.259628 ====> Client connect
03:01:11.259735 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:11.346458 < "USER anonymous"
03:01:11.346507 > "331 We are happy you popped in![CR][LF]"
03:01:11.357554 < "PASS ftp@example.com"
03:01:11.357589 > "230 Welcome you silly person[CR][LF]"
03:01:11.361088 < "PBSZ 0"
03:01:11.361129 > "500 PBSZ not implemented[CR][LF]"
03:01:11.362705 < "PROT C"
03:01:11.362738 > "500 PROT not implemented[CR][LF]"
03:01:11.364238 < "PWD"
03:01:11.364277 > "257 "/" is current directory[CR][LF]"
03:01:11.371882 < "EPSV"
03:01:11.371914 ====> Passive DATA channel requested by client
03:01:11.371927 DATA sockfilt for passive data channel starting...
03:01:11.373411 DATA sockfilt for passive data channel started (pid 32548)
03:01:11.373503 DATA sockfilt for passive data channel listens on port 38033
03:01:11.373542 > "229 Entering Passive Mode (|||38033|)[LF]"
03:01:11.373564 Client has been notified that DATA conn will be accepted on port 38033
03:01:11.380746 Client connects to port 38033
03:01:11.380779 ====> Client established passive DATA connection on port 38033
03:01:11.385661 < "TYPE I"
03:01:11.385698 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:11.387936 < "STOR 401"
03:01:11.387961 STOR test number 401 in log/upload.401
03:01:11.387984 > "125 Gimme gimme gimme![CR][LF]"
03:01:11.396828 > Appending 52 bytes to file
03:01:11.405164 =====> Closing passive DATA connection...
03:01:11.405183 Server knows passive DATA connection is already disconnected
03:01:11.405232 DATA sockfilt for passive data channel quits (pid 32549)
03:01:11.405255 =====> Closed passive DATA connection
03:01:11.405279 received 52 bytes upload
03:01:11.405310 > "226 File transfer complete[CR][LF]"
03:01:11.467033 < "QUIT"
03:01:11.467069 > "221 bye bye baby[CR][LF]"
03:01:11.471362 MAIN sockfilt said DISC
03:01:11.471397 ====> Client disconnected
03:01:11.471439 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:11.360333 ====> Client connect
03:01:11.360539 Received DATA (on stdin)
03:01:11.360561 > 160 bytes data, server => client
03:01:11.360581 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:11.360598 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:11.360614 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:11.447153 < 16 bytes data, client => server
03:01:11.447187 'USER anonymous\r\n'
03:01:11.447334 Received DATA (on stdin)
03:01:11.447357 > 33 bytes data, server => client
03:01:11.447373 '331 We are happy you popped in!\r\n'
03:01:11.458304 < 22 bytes data, client => server
03:01:11.458329 'PASS ftp@example.com\r\n'
03:01:11.458399 Received DATA (on stdin)
03:01:11.458414 > 30 bytes data, server => client
03:01:11.458428 '230 Welcome you silly person\r\n'
03:01:11.461806 < 8 bytes data, client => server
03:01:11.461835 'PBSZ 0\r\n'
03:01:11.461935 Received DATA (on stdin)
03:01:11.461950 > 26 bytes data, server => client
03:01:11.461967 '500 PBSZ not implemented\r\n'
03:01:11.463433 < 8 bytes data, client => server
03:01:11.463452 'PROT C\r\n'
03:01:11.463545 Received DATA (on stdin)
03:01:11.463557 > 26 bytes data, server => client
03:01:11.463566 '500 PROT not implemented\r\n'
03:01:11.464987 < 5 bytes data, client => server
03:01:11.465003 'PWD\r\n'
03:01:11.465084 Received DATA (on stdin)
03:01:11.465095 > 30 bytes data, server => client
03:01:11.465105 '257 "/" is current directory\r\n'
03:01:11.472611 < 6 bytes data, client => server
03:01:11.472634 'EPSV\r\n'
03:01:11.474344 Received DATA (on stdin)
03:01:11.474365 > 38 bytes data, server => client
03:01:11.474385 '229 Entering Passive Mode (|||38033|)\n'
03:01:11.486396 < 8 bytes data, client => server
03:01:11.486425 'TYPE I\r\n'
03:01:11.486503 Received DATA (on stdin)
03:01:11.486522 > 33 bytes data, server => client
03:01:11.486539 '200 I modify TYPE as you wanted\r\n'
03:01:11.488684 < 10 bytes data, client => server
03:01:11.488713 'STOR 401\r\n'
03:01:11.488791 Received DATA (on stdin)
03:01:11.488810 > 24 bytes data, server => client
03:01:11.488834 '125 Gimme gimme gimme!\r\n'
03:01:11.506117 Received DATA (on stdin)
03:01:11.506139 > 28 bytes data, server => client
03:01:11.506150 '226 File transfer complete\r\n'
03:01:11.567757 < 6 bytes data, client => server
03:01:11.567789 'QUIT\r\n'
03:01:11.567897 Received DATA (on stdin)
03:01:11.567919 > 18 bytes data, server => client
03:01:11.567933 '221 bye bye baby\r\n'
03:01:11.572118 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:11.474067 Running IPv4 version
03:01:11.474146 Listening on port 38033
03:01:11.474176 Wrote pid 32549 to ./.ftp_sockdata.pid
03:01:11.474191 Received PING (on stdin)
03:01:11.474253 Received PORT (on stdin)
03:01:11.481518 ====> Client connect
03:01:11.497593 < 52 bytes data, client => server
03:01:11.497628 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:01:11.505879 ====> Client disconnect
03:01:11.506011 Received QUIT (on stdin)
03:01:11.506028 quits
03:01:11.506048 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 401
QUIT
=== End of file server.input
=== Start of file stderr401
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 52 0 0 100 52 0 22 0:00:02 0:00:02 --:--:-- 23
=== End of file stderr401
=== Start of file test401.txt
data
to
see
that FTPS
works
so does it?
=== End of file test401.txt
=== Start of file trace401
03:01:09.273220 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:09.327217 == Info: Added connection 0. The cache now contains 1 members
03:01:09.345134 == Info: Trying 127.0.0.1:8993...
03:01:09.345743 == Info: TCP_NODELAY set
03:01:09.350902 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:09.362591 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:09.363161 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:09.364245 == Info: Marked for [keep alive]: FTP default
03:01:10.841581 == Info: successfully set certificate verify locations:
03:01:10.841844 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:10.955968 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:10.961042 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:10.961106 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....:Rf..?/".7gQ...F_..}..i;C..C/....+./.,.0...............
0040: ../.5.....3...................................................
03:01:10.978342 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:10.983963 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:10.984028 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..Y.uC..|.....od.rds.>.....:w-.... ....|.....=.._......+:..`
0040: .e..p1i./................
03:01:11.027816 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.028287 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:11.028346 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:11.126703 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:11.126961 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:11.127020 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P...........+..r.V.K..p......[7F]..S.....b..h.q9g.&..8...%y>.i...
0080: ct....K..$. 3V.x.[....0%..!......>.......$..O...`Ue...Lsw./.0...
00c0: M(..c.d....A.....9.......6.H..g. ..........![...E....pYP(*...uq0
0100: ..17\.w........O...|.....[7F]..,..?....Y6l...R....x.....k..K.%.M..B
0140: ~[7F]O'.?..yZ...
03:01:11.196617 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.196963 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:11.197023 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:11.312615 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:11.312862 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:11.312920 => Send SSL data, 70 bytes (0x46)
0000: ...BA....<..C...e4...2..*>cwyR..^...0...+N........ ...*.;..!1C..
0040: Yd_f..
03:01:11.324886 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.325470 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:11.325527 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:11.346981 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:11.347041 => Send SSL data, 16 bytes (0x10)
0000: ......"6....P...
03:01:11.359518 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:11.362041 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.363134 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:11.363195 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:11.365658 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:11.371328 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:11.371384 <= Recv SSL data, 16 bytes (0x10)
0000: .......kB....q..
03:01:11.399725 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:11.401996 == Info: Server certificate:
03:01:11.409537 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:11.415696 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:11.416647 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:11.417668 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:11.418540 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:11.420042 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:11.426033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:11.433729 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:11.437257 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:11.437448 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:11.437629 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:11.437806 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:11.445498 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:11.448412 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:11.449194 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:11.449954 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:11.456082 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:11.456746 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:11.458090 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.458256 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:11.458787 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:11.460289 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:11.460516 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:11.461583 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:11.461779 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:11.462203 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:11.462566 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:11.462723 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:11.463277 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:11.463400 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:11.463742 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:11.464005 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:11.464151 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:11.464823 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.464945 => Send header, 5 bytes (0x5)
0000: PWD
03:01:11.465265 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:11.465594 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:11.465735 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:11.466856 == Info: Entry path is '/'
03:01:11.467079 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:11.467247 == Info: protocol connect phase DONE
03:01:11.467495 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:11.470418 == Info: DO phase starts
03:01:11.472442 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:11.472567 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:11.472909 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:11.473083 == Info: Connect data stream passively
03:01:11.473868 == Info: ftp_perform ends with SECONDARY: 0
03:01:11.474583 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:11.475496 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:11.475655 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38033|).
03:01:11.481331 == Info: Trying 127.0.0.1:38033...
03:01:11.481397 == Info: TCP_NODELAY set
03:01:11.482092 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38033
03:01:11.483206 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:11.483841 == Info: DO phase is complete2
03:01:11.484270 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:11.484988 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:11.485203 == Info: DO-MORE connected phase starts
03:01:11.486231 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:11.486355 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:11.486696 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:11.487076 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:11.487220 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:11.488532 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:11.488655 => Send header, 10 bytes (0xa)
0000: STOR 401
03:01:11.488989 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:11.490705 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:11.490847 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:11.492653 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:11.493368 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:11.493807 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:11.498114 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:01:11.498792 == Info: We are completely uploaded and fine
03:01:11.501195 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:11.501520 == Info: multi_done
03:01:11.504354 == Info: Remembering we are in dir ""
03:01:11.532942 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:11.533383 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:11.546221 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:11.548073 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace401
=== Start of file upload.401
data
to
see
that FTPS
works
so does it?
=== End of file upload.401
=== Start of file valgrind401
==32544== Invalid read of size 8
==32544== at 0x53315A5: check_free (dlerror.c:188)
==32544== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32544== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32544== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32544== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32544== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32544== by 0x4D60EB9: exit (exit.c:139)
==32544== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32544== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
==32544== Invalid free() / delete / delete[] / realloc()
==32544== at 0x48369AB: free (vg_replace_malloc.c:540)
==32544== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32544== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32544== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32544== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32544== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32544== by 0x4D60EB9: exit (exit.c:139)
==32544== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32544== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
==32544== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32544== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32544== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32544== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32544== by 0x24B11C: err_get_state (err.c:210)
==32544== by 0x24BCF2: ERR_put_error (err.c:636)
==32544== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32544== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32544== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32544== by 0x27033E: by_file_ctrl (by_file.c:111)
==32544== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32544== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32544== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32544== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32544== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32544== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32544== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32544==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (348 out of 1250, remaining: 25:00, took 1.1s, duration: 09:39)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==32555== Invalid read of size 8
==32555== at 0x53315A5: check_free (dlerror.c:188)
==32555== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32555== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32555== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32555== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32555== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32555== by 0x4D60EB9: exit (exit.c:139)
==32555== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32555== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
==32555== Invalid free() / delete / delete[] / realloc()
==32555== at 0x48369AB: free (vg_replace_malloc.c:540)
==32555== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32555== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32555== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32555== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32555== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32555== by 0x4D60EB9: exit (exit.c:139)
==32555== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32555== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
==32555== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
== Contents of files in the log/ dir after test 403
=== Start of file curl403.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl403.out
=== Start of file ftp_server.log
03:01:15.747568 ====> Client connect
03:01:15.747669 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:15.834719 < "USER anonymous"
03:01:15.834765 > "331 We are happy you popped in![CR][LF]"
03:01:15.845836 < "PASS ftp@example.com"
03:01:15.845875 > "230 Welcome you silly person[CR][LF]"
03:01:15.848262 < "PBSZ 0"
03:01:15.848293 > "500 PBSZ not implemented[CR][LF]"
03:01:15.849664 < "PROT C"
03:01:15.849695 > "500 PROT not implemented[CR][LF]"
03:01:15.851111 < "CCC"
03:01:15.851134 CCC wasn't handled
03:01:15.851156 > "500 CCC is not dealt with![CR][LF]"
03:01:15.852497 < "PWD"
03:01:15.852534 > "257 "/" is current directory[CR][LF]"
03:01:15.859249 < "EPSV"
03:01:15.859282 ====> Passive DATA channel requested by client
03:01:15.859296 DATA sockfilt for passive data channel starting...
03:01:15.861209 DATA sockfilt for passive data channel started (pid 32557)
03:01:15.861346 DATA sockfilt for passive data channel listens on port 41251
03:01:15.861391 > "229 Entering Passive Mode (|||41251|)[LF]"
03:01:15.861407 Client has been notified that DATA conn will be accepted on port 41251
03:01:15.868337 Client connects to port 41251
03:01:15.868381 ====> Client established passive DATA connection on port 41251
03:01:15.873716 < "TYPE A"
03:01:15.873753 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:15.875899 < "LIST"
03:01:15.875930 > "150 here comes a directory[CR][LF]"
03:01:15.875955 pass LIST data on data connection
03:01:15.876032 =====> Closing passive DATA connection...
03:01:15.876048 Server disconnects passive DATA connection
03:01:15.876779 DATA sockfilt for passive data channel quits (pid 32558)
03:01:15.876808 =====> Closed passive DATA connection
03:01:15.876846 > "226 ASCII transfer complete[CR][LF]"
03:01:15.958404 < "QUIT"
03:01:15.958450 > "221 bye bye baby[CR][LF]"
03:01:15.962712 MAIN sockfilt said DISC
03:01:15.962751 ====> Client disconnected
03:01:15.962796 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:15.848274 ====> Client connect
03:01:15.848486 Received DATA (on stdin)
03:01:15.848502 > 160 bytes data, server => client
03:01:15.848519 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:15.848534 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:15.848547 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:15.935378 < 16 bytes data, client => server
03:01:15.935412 'USER anonymous\r\n'
03:01:15.935569 Received DATA (on stdin)
03:01:15.935579 > 33 bytes data, server => client
03:01:15.935590 '331 We are happy you popped in!\r\n'
03:01:15.946542 < 22 bytes data, client => server
03:01:15.946572 'PASS ftp@example.com\r\n'
03:01:15.946702 Received DATA (on stdin)
03:01:15.946725 > 30 bytes data, server => client
03:01:15.946740 '230 Welcome you silly person\r\n'
03:01:15.948996 < 8 bytes data, client => server
03:01:15.949018 'PBSZ 0\r\n'
03:01:15.949121 Received DATA (on stdin)
03:01:15.949143 > 26 bytes data, server => client
03:01:15.949158 '500 PBSZ not implemented\r\n'
03:01:15.950400 < 8 bytes data, client => server
03:01:15.950415 'PROT C\r\n'
03:01:15.950524 Received DATA (on stdin)
03:01:15.950546 > 26 bytes data, server => client
03:01:15.950561 '500 PROT not implemented\r\n'
03:01:15.951848 < 5 bytes data, client => server
03:01:15.951870 'CCC\r\n'
03:01:15.951978 Received DATA (on stdin)
03:01:15.951991 > 28 bytes data, server => client
03:01:15.952005 '500 CCC is not dealt with!\r\n'
03:01:15.953233 < 5 bytes data, client => server
03:01:15.953247 'PWD\r\n'
03:01:15.953356 Received DATA (on stdin)
03:01:15.953369 > 30 bytes data, server => client
03:01:15.953383 '257 "/" is current directory\r\n'
03:01:15.959999 < 6 bytes data, client => server
03:01:15.960022 'EPSV\r\n'
03:01:15.962196 Received DATA (on stdin)
03:01:15.962215 > 38 bytes data, server => client
03:01:15.962230 '229 Entering Passive Mode (|||41251|)\n'
03:01:15.974427 < 8 bytes data, client => server
03:01:15.974452 'TYPE A\r\n'
03:01:15.974582 Received DATA (on stdin)
03:01:15.974605 > 33 bytes data, server => client
03:01:15.974620 '200 I modify TYPE as you wanted\r\n'
03:01:15.976634 < 6 bytes data, client => server
03:01:15.976656 'LIST\r\n'
03:01:15.976759 Received DATA (on stdin)
03:01:15.976782 > 28 bytes data, server => client
03:01:15.976797 '150 here comes a directory\r\n'
03:01:15.977653 Received DATA (on stdin)
03:01:15.977672 > 29 bytes data, server => client
03:01:15.977684 '226 ASCII transfer complete\r\n'
03:01:16.059108 < 6 bytes data, client => server
03:01:16.059159 'QUIT\r\n'
03:01:16.059275 Received DATA (on stdin)
03:01:16.059299 > 18 bytes data, server => client
03:01:16.059314 '221 bye bye baby\r\n'
03:01:16.063474 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:15.961786 Running IPv4 version
03:01:15.961894 Listening on port 41251
03:01:15.961936 Wrote pid 32558 to ./.ftp_sockdata.pid
03:01:15.961959 Received PING (on stdin)
03:01:15.962063 Received PORT (on stdin)
03:01:15.969085 ====> Client connect
03:01:15.976793 Received DATA (on stdin)
03:01:15.976817 > 10 bytes data, server => client
03:01:15.976835 'total 20\r\n'
03:01:15.976865 Received DATA (on stdin)
03:01:15.976881 > 57 bytes data, server => client
03:01:15.976902 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:15.976929 Received DATA (on stdin)
03:01:15.976944 > 58 bytes data, server => client
03:01:15.976965 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:15.976990 Received DATA (on stdin)
03:01:15.977005 > 61 bytes data, server => client
03:01:15.977025 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:15.977039 '\n'
03:01:15.977062 Received DATA (on stdin)
03:01:15.977078 > 62 bytes data, server => client
03:01:15.977098 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:15.977110 '\n'
03:01:15.977133 Received DATA (on stdin)
03:01:15.977148 > 70 bytes data, server => client
03:01:15.977169 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:15.977182 'usr/bin\r\n'
03:01:15.977205 Received DATA (on stdin)
03:01:15.977219 > 59 bytes data, server => client
03:01:15.977238 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:15.977261 Received DATA (on stdin)
03:01:15.977277 > 69 bytes data, server => client
03:01:15.977297 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:15.977310 'd.html\r\n'
03:01:15.977335 Received DATA (on stdin)
03:01:15.977352 > 59 bytes data, server => client
03:01:15.977372 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:15.977395 Received DATA (on stdin)
03:01:15.977410 > 59 bytes data, server => client
03:01:15.977430 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:15.977454 Received DATA (on stdin)
03:01:15.977469 > 59 bytes data, server => client
03:01:15.977489 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:15.977514 Received DISC (on stdin)
03:01:15.977530 ====> Client forcibly disconnected
03:01:15.977558 Received QUIT (on stdin)
03:01:15.977572 quits
03:01:15.977593 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
CCC
PWD
EPSV
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr403
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 277 0 --:--:-- 0:00:02 --:--:-- 287
=== End of file stderr403
=== Start of file trace403
03:01:13.778494 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:13.833655 == Info: Added connection 0. The cache now contains 1 members
03:01:13.851579 == Info: Trying 127.0.0.1:8993...
03:01:13.852187 == Info: TCP_NODELAY set
03:01:13.857448 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:13.869112 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:13.869676 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:13.870741 == Info: Marked for [keep alive]: FTP default
03:01:15.328438 == Info: successfully set certificate verify locations:
03:01:15.328719 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:15.442355 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:15.447393 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:15.447453 => Send SSL data, 126 bytes (0x7e)
0000: ...z...y...0..o...`*!.Z.......fm."........+./.,.0...............
0040: ../.5.....3...................................................
03:01:15.464398 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:15.470091 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:15.470167 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...#.vU..(..!...r...RZ......[..k3. .Y...S`|.....f.cYc.0O....
0040: ..P..`8./................
03:01:15.514200 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.514663 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:15.514719 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:15.613437 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:15.613690 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:15.613746 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P..............a....|.z..W.........J.Ze.:.........!...J4.*..n.
0080: sP.)e...;..C.a.e....V..m.......v.C.O.,)K.........B..udW.......L7
00c0: ...\y.....gd.M....vz.........N........... .UVk...%..B.....l...t.
0100: ...-A..A......je5G..3...6..$.ed.4...:.1..Ad...K.v.KPh>L...t.@r..
0140: A..y..^.f..d(
03:01:15.683523 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.683849 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:15.683908 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:15.800470 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:15.800717 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:15.800773 => Send SSL data, 70 bytes (0x46)
0000: ...BA.^.he.....C..H......,.8.j:l.R....X..U..C.,z..D.........9..p
0040: a..)fE
03:01:15.812732 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.813311 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:15.813369 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:15.834833 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:15.834890 => Send SSL data, 16 bytes (0x10)
0000: .....c.N.[pJ....
03:01:15.847440 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.849949 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.851116 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:15.851174 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:15.853637 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.859294 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:15.859350 <= Recv SSL data, 16 bytes (0x10)
0000: ....:f.;.p...K.+
03:01:15.887810 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:15.890072 == Info: Server certificate:
03:01:15.897537 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:15.903746 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:15.904699 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:15.905634 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:15.906500 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:15.907993 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:15.914084 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.921812 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:15.925468 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:15.925661 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:15.925844 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:15.926024 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:15.933720 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.936739 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:15.937521 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:15.938283 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:15.944408 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:15.945083 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:15.946360 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.946489 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:15.946862 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:15.947897 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:15.948044 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:15.948835 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.948954 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:15.949284 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:15.949578 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:15.949717 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:15.950253 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.950369 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:15.950696 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:15.950942 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:15.951080 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:15.951684 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.951806 => Send header, 5 bytes (0x5)
0000: CCC
03:01:15.952120 == Info: FTP 0x57410b0 (line 2728) state change from PROT to CCC
03:01:15.952367 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:15.952504 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:01:15.953089 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.953205 => Send header, 5 bytes (0x5)
0000: PWD
03:01:15.953518 == Info: FTP 0x57410b0 (line 804) state change from CCC to PWD
03:01:15.953842 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:15.953980 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:15.955097 == Info: Entry path is '/'
03:01:15.955319 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:15.955483 == Info: protocol connect phase DONE
03:01:15.955729 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:15.957627 == Info: DO phase starts
03:01:15.959825 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.959953 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:15.960298 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:15.960471 == Info: Connect data stream passively
03:01:15.961243 == Info: ftp_perform ends with SECONDARY: 0
03:01:15.962174 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:15.963113 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:15.963270 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||41251|).
03:01:15.968915 == Info: Trying 127.0.0.1:41251...
03:01:15.968979 == Info: TCP_NODELAY set
03:01:15.969684 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 41251
03:01:15.970791 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:15.971425 == Info: DO phase is complete2
03:01:15.971937 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:15.972695 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:15.972911 == Info: DO-MORE connected phase starts
03:01:15.974245 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.974373 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:15.974715 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:15.975103 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:15.975252 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:15.976471 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.976590 => Send header, 6 bytes (0x6)
0000: LIST
03:01:15.977305 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:15.979000 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:15.979144 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:15.979736 == Info: Maxdownload = -1
03:01:15.981075 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:15.981786 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:15.982178 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:15.985722 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:15.994315 == Info: nread <= 0, server closed connection, bailing
03:01:15.995525 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:15.995888 == Info: multi_done
03:01:15.999308 == Info: Remembering we are in dir ""
03:01:16.024351 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:16.024546 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:16.030468 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:16.032535 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace403
=== Start of file valgrind403
==32555== Invalid read of size 8
==32555== at 0x53315A5: check_free (dlerror.c:188)
==32555== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32555== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32555== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32555== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32555== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32555== by 0x4D60EB9: exit (exit.c:139)
==32555== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32555== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
==32555== Invalid free() / delete / delete[] / realloc()
==32555== at 0x48369AB: free (vg_replace_malloc.c:540)
==32555== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32555== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32555== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32555== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32555== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32555== by 0x4D60EB9: exit (exit.c:139)
==32555== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32555== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
==32555== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32555== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32555== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32555== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32555== by 0x24B11C: err_get_state (err.c:210)
==32555== by 0x24BCF2: ERR_put_error (err.c:636)
==32555== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32555== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32555== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32555== by 0x27033E: by_file_ctrl (by_file.c:111)
==32555== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32555== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32555== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32555== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32555== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32555== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32555== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32555==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==32561== Invalid read of size 8
==32561== at 0x53315A5: check_free (dlerror.c:188)
==32561== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32561== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32561== by 0x4D60EB9: exit (exit.c:139)
==32561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32561== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
==32561== Invalid free() / delete / delete[] / realloc()
==32561== at 0x48369AB: free (vg_replace_malloc.c:540)
==32561== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32561== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32561== by 0x4D60EB9: exit (exit.c:139)
==32561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32561== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
==32561== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
== Contents of files in the log/ dir after test 404
=== Start of file stderr404
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr404
=== Start of file trace404
03:01:17.125812 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:17.183098 == Info: Added connection 0. The cache now contains 1 members
03:01:17.201502 == Info: Trying 127.0.0.1:8993...
03:01:17.202161 == Info: TCP_NODELAY set
03:01:17.207401 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:17.219302 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:17.219903 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:17.220990 == Info: Marked for [keep alive]: FTP default
03:01:17.280778 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:17.281643 == Info: multi_done
03:01:17.283926 == Info: Marked for [closure]: FTP ended with bad error code
03:01:17.292196 == Info: Closing connection 0
03:01:17.312781 == Info: The cache now contains 0 members
03:01:17.320795 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace404
=== Start of file valgrind404
==32561== Invalid read of size 8
==32561== at 0x53315A5: check_free (dlerror.c:188)
==32561== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32561== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32561== by 0x4D60EB9: exit (exit.c:139)
==32561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32561== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
==32561== Invalid free() / delete / delete[] / realloc()
==32561== at 0x48369AB: free (vg_replace_malloc.c:540)
==32561== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32561== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32561== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32561== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32561== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32561== by 0x4D60EB9: exit (exit.c:139)
==32561== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32561== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
==32561== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==32561== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32561== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32561== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32561== by 0x24B11C: err_get_state (err.c:210)
==32561== by 0x24BCF2: ERR_put_error (err.c:636)
==32561== by 0x23B5C3: BIO_new_file (file.c:99)
==32561== by 0x27080B: X509_load_cert_crl_file (by_file.c:250)
==32561== by 0x27033E: by_file_ctrl (by_file.c:111)
==32561== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32561== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32561== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32561== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32561== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32561== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32561== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32561== by 0x1D3A7F: ftp_connect (ftp.c:3083)
==32561==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==32568== Invalid read of size 8
==32568== at 0x53315A5: check_free (dlerror.c:188)
==32568== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32568== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32568== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32568== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32568== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32568== by 0x4D60EB9: exit (exit.c:139)
==32568== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32568== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
==32568== Invalid free() / delete / delete[] / realloc()
==32568== at 0x48369AB: free (vg_replace_malloc.c:540)
==32568== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32568== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32568== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32568== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32568== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32568== by 0x4D60EB9: exit (exit.c:139)
==32568== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32568== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
==32568== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:01:18.331039 ====> Client connect
03:01:18.331166 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:20.071685 MAIN sockfilt said DISC
03:01:20.071740 ====> Client disconnected
03:01:20.071797 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:18.431772 ====> Client connect
03:01:18.431963 Received DATA (on stdin)
03:01:18.431977 > 160 bytes data, server => client
03:01:18.431993 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:18.432004 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:18.432014 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:20.069954 < 131 bytes data, client => server
03:01:20.069993 '....~...z...xl...}.....; ........4.kW(.7.m.....+./.,.0..... .'
03:01:20.070005 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:01:20.070013 '.............'
03:01:20.088123 < 7 bytes data, client => server
03:01:20.088138 '......F'
03:01:20.172421 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file server.input
[16][03][01]
[C0][14]
[01]


=== End of file server.input
=== Start of file stderr405
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (35) error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
=== End of file stderr405
=== Start of file trace405
03:01:18.348351 == Info: STATE: INIT => CONNECT handle 0x56c52f8; line 1362 (connection #-5000)
03:01:18.410797 == Info: Added connection 0. The cache now contains 1 members
03:01:18.428642 == Info: Trying 127.0.0.1:8992...
03:01:18.429250 == Info: TCP_NODELAY set
03:01:18.433713 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52f8; line 1418 (connection #0)
03:01:18.445356 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:01:18.445921 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52f8; line 1538 (connection #0)
03:01:18.446990 == Info: Marked for [keep alive]: FTP default
03:01:19.945446 == Info: successfully set certificate verify locations:
03:01:19.945709 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:20.059616 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:20.064690 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:20.064749 => Send SSL data, 126 bytes (0x7e)
0000: ...z...xl...}.....; ........4.kW(.7.m.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:20.086625 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.089754 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:01:20.089813 => Send SSL data, 2 bytes (0x2)
0000: .F
03:01:20.098293 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:01:20.099121 == Info: multi_done
03:01:20.101251 == Info: Marked for [closure]: FTP ended with bad error code
03:01:20.109842 == Info: Closing connection 0
03:01:20.175383 == Info: The cache now contains 0 members
03:01:20.183187 == Info: Expire cleared (transfer 0x56c52f8)
=== End of file trace405
=== Start of file valgrind405
==32568== Invalid read of size 8
==32568== at 0x53315A5: check_free (dlerror.c:188)
==32568== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32568== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32568== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32568== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32568== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32568== by 0x4D60EB9: exit (exit.c:139)
==32568== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32568== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
==32568== Invalid free() / delete / delete[] / realloc()
==32568== at 0x48369AB: free (vg_replace_malloc.c:540)
==32568== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32568== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32568== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32568== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32568== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32568== by 0x4D60EB9: exit (exit.c:139)
==32568== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32568== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
==32568== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==32568== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32568== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32568== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32568== by 0x24B11C: err_get_state (err.c:210)
==32568== by 0x24BCF2: ERR_put_error (err.c:636)
==32568== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32568== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32568== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32568== by 0x27033E: by_file_ctrl (by_file.c:111)
==32568== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32568== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32568== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32568== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32568== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32568== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32568== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32568==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==32571== Invalid read of size 8
==32571== at 0x53315A5: check_free (dlerror.c:188)
==32571== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32571== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32571== by 0x4D60EB9: exit (exit.c:139)
==32571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32571== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
==32571== Invalid free() / delete / delete[] / realloc()
==32571== at 0x48369AB: free (vg_replace_malloc.c:540)
==32571== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32571== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32571== by 0x4D60EB9: exit (exit.c:139)
==32571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32571== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
==32571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
== Contents of files in the log/ dir after test 406
=== Start of file curl406.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl406.out
=== Start of file ftp_server.log
03:01:23.204844 ====> Client connect
03:01:23.204958 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:23.294118 < "USER anonymous"
03:01:23.294164 > "331 We are happy you popped in![CR][LF]"
03:01:23.305155 < "PASS ftp@example.com"
03:01:23.305193 > "230 Welcome you silly person[CR][LF]"
03:01:23.307526 < "PBSZ 0"
03:01:23.307559 > "500 PBSZ not implemented[CR][LF]"
03:01:23.308941 < "PROT C"
03:01:23.308972 > "500 PROT not implemented[CR][LF]"
03:01:23.310438 < "PWD"
03:01:23.310475 > "257 "/" is current directory[CR][LF]"
03:01:23.331206 < "EPRT |1|127.0.0.1|55681|"
03:01:23.331239 ====> Active DATA channel requested by client
03:01:23.331268 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:23.331285 DATA sockfilt for active data channel starting...
03:01:23.332922 DATA sockfilt for active data channel started (pid 32575)
03:01:23.332951 ====> Active DATA channel connected to client port 55681
03:01:23.336220 < "TYPE A"
03:01:23.336260 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:23.338399 < "LIST"
03:01:23.338431 > "150 here comes a directory[CR][LF]"
03:01:23.338455 pass LIST data on data connection
03:01:23.338554 =====> Closing active DATA connection...
03:01:23.338577 Server disconnects active DATA connection
03:01:23.339019 DATA sockfilt for active data channel quits (pid 32576)
03:01:23.339043 =====> Closed active DATA connection
03:01:23.339076 > "226 ASCII transfer complete[CR][LF]"
03:01:23.421318 < "QUIT"
03:01:23.421365 > "221 bye bye baby[CR][LF]"
03:01:23.425571 MAIN sockfilt said DISC
03:01:23.425594 ====> Client disconnected
03:01:23.425637 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:23.305558 ====> Client connect
03:01:23.305760 Received DATA (on stdin)
03:01:23.305783 > 160 bytes data, server => client
03:01:23.305803 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:23.305821 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:23.305837 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:23.394774 < 16 bytes data, client => server
03:01:23.394810 'USER anonymous\r\n'
03:01:23.394970 Received DATA (on stdin)
03:01:23.394983 > 33 bytes data, server => client
03:01:23.394994 '331 We are happy you popped in!\r\n'
03:01:23.405872 < 22 bytes data, client => server
03:01:23.405899 'PASS ftp@example.com\r\n'
03:01:23.406022 Received DATA (on stdin)
03:01:23.406045 > 30 bytes data, server => client
03:01:23.406061 '230 Welcome you silly person\r\n'
03:01:23.408258 < 8 bytes data, client => server
03:01:23.408281 'PBSZ 0\r\n'
03:01:23.408388 Received DATA (on stdin)
03:01:23.408411 > 26 bytes data, server => client
03:01:23.408426 '500 PBSZ not implemented\r\n'
03:01:23.409676 < 8 bytes data, client => server
03:01:23.409698 'PROT C\r\n'
03:01:23.409801 Received DATA (on stdin)
03:01:23.409824 > 26 bytes data, server => client
03:01:23.409840 '500 PROT not implemented\r\n'
03:01:23.411173 < 5 bytes data, client => server
03:01:23.411195 'PWD\r\n'
03:01:23.411304 Received DATA (on stdin)
03:01:23.411327 > 30 bytes data, server => client
03:01:23.411343 '257 "/" is current directory\r\n'
03:01:23.431926 < 26 bytes data, client => server
03:01:23.431953 'EPRT |1|127.0.0.1|55681|\r\n'
03:01:23.432097 Received DATA (on stdin)
03:01:23.432120 > 50 bytes data, server => client
03:01:23.432137 '200 Thanks for dropping by. We contact you later\r\n'
03:01:23.436932 < 8 bytes data, client => server
03:01:23.436956 'TYPE A\r\n'
03:01:23.437086 Received DATA (on stdin)
03:01:23.437108 > 33 bytes data, server => client
03:01:23.437124 '200 I modify TYPE as you wanted\r\n'
03:01:23.439132 < 6 bytes data, client => server
03:01:23.439154 'LIST\r\n'
03:01:23.439261 Received DATA (on stdin)
03:01:23.439284 > 28 bytes data, server => client
03:01:23.439299 '150 here comes a directory\r\n'
03:01:23.439905 Received DATA (on stdin)
03:01:23.439928 > 29 bytes data, server => client
03:01:23.439943 '226 ASCII transfer complete\r\n'
03:01:23.522024 < 6 bytes data, client => server
03:01:23.522065 'QUIT\r\n'
03:01:23.522193 Received DATA (on stdin)
03:01:23.522218 > 18 bytes data, server => client
03:01:23.522233 '221 bye bye baby\r\n'
03:01:23.526348 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:23.433579 ====> Client connect
03:01:23.433654 Running IPv4 version
03:01:23.433664 Connected to port 55681
03:01:23.433690 Wrote pid 32576 to ./.ftp_sockdata.pid
03:01:23.433705 Received PING (on stdin)
03:01:23.439291 Received DATA (on stdin)
03:01:23.439312 > 10 bytes data, server => client
03:01:23.439327 'total 20\r\n'
03:01:23.439357 Received DATA (on stdin)
03:01:23.439374 > 57 bytes data, server => client
03:01:23.439394 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:23.439418 Received DATA (on stdin)
03:01:23.439430 > 58 bytes data, server => client
03:01:23.439442 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:23.439456 Received DATA (on stdin)
03:01:23.439466 > 61 bytes data, server => client
03:01:23.439478 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:23.439485 '\n'
03:01:23.439499 Received DATA (on stdin)
03:01:23.439508 > 62 bytes data, server => client
03:01:23.439520 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:23.439527 '\n'
03:01:23.439540 Received DATA (on stdin)
03:01:23.439549 > 70 bytes data, server => client
03:01:23.439562 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:23.439570 'usr/bin\r\n'
03:01:23.439584 Received DATA (on stdin)
03:01:23.439593 > 59 bytes data, server => client
03:01:23.439605 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:23.439619 Received DATA (on stdin)
03:01:23.439628 > 69 bytes data, server => client
03:01:23.439640 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:23.439647 'd.html\r\n'
03:01:23.439661 Received DATA (on stdin)
03:01:23.439670 > 59 bytes data, server => client
03:01:23.439682 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:23.439696 Received DATA (on stdin)
03:01:23.439705 > 59 bytes data, server => client
03:01:23.439716 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:23.439730 Received DATA (on stdin)
03:01:23.439739 > 59 bytes data, server => client
03:01:23.439751 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:23.439765 Received DISC (on stdin)
03:01:23.439784 ====> Client forcibly disconnected
03:01:23.439808 disconnected, no socket to read on
03:01:23.439823 Received QUIT (on stdin)
03:01:23.439835 quits
03:01:23.439851 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPRT |1|127.0.0.1|55681|
TYPE A
LIST
QUIT
=== End of file server.input
=== Start of file stderr406
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 623 0 623 0 0 272 0 --:--:-- 0:00:02 --:--:-- 282
=== End of file stderr406
=== Start of file trace406
03:01:21.197052 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:21.252169 == Info: Added connection 0. The cache now contains 1 members
03:01:21.270223 == Info: Trying 127.0.0.1:8993...
03:01:21.270830 == Info: TCP_NODELAY set
03:01:21.275940 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:21.287555 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:21.288126 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:21.289213 == Info: Marked for [keep alive]: FTP default
03:01:22.781453 == Info: successfully set certificate verify locations:
03:01:22.781729 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:22.899100 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:22.904341 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:22.904407 => Send SSL data, 126 bytes (0x7e)
0000: ...z..i..g.....d.....;....`B...1...U@C....+./.,.0...............
0040: ../.5.....3...................................................
03:01:22.921843 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:22.927639 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:22.927697 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..+.X.......1.vQ..6."..k.......... !.]M....T....d......p=...
0040: .M[7F](.!../................
03:01:22.972765 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.973225 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:22.973284 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:23.072301 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:23.072561 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:23.072620 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P...............>.....x...f..V.U@./..>....-x..l..m...am.."I..)
0080: .7.=....8.4...\.g....SC....u..../]j...W.s.f...!.h_)x...K..C.y..A
00c0: .y[7F].z0cxuB...1</E/J.].e...?cx_.i.9.L2...I..J.f....H6r...U-_\.'@.
0100: ../..`.R*..n.`.i..c...XJ9...PKCP..Y.'.]....k..6..G^..Qv#.6.s...P
0140: d.\.&.....X..
03:01:23.142077 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.142402 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:23.142459 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:23.257955 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:23.258194 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:23.258256 => Send SSL data, 70 bytes (0x46)
0000: ...BA..O...\......@oX#}.,.....|....[...`..?x...^C..`.^...[......
0040: ......
03:01:23.270196 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.270780 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:23.270838 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:23.292198 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:23.292256 => Send SSL data, 16 bytes (0x10)
0000: ....af.'.a..o.!.
03:01:23.304733 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.307725 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.309021 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:23.309084 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:23.311783 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.317489 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:23.317547 <= Recv SSL data, 16 bytes (0x10)
0000: .....>d........{
03:01:23.346936 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:23.349234 == Info: Server certificate:
03:01:23.356782 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:23.362937 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:23.363900 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:23.364836 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:23.365707 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:23.367205 == Info: FTP 0x57419f0 (line 3092) state change from STOP to WAIT220
03:01:23.373247 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:23.381257 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:23.384821 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:23.385022 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:23.385209 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:23.385393 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:23.393144 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:23.396072 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:23.396863 == Info: FTP 0x57419f0 (line 792) state change from WAIT220 to USER
03:01:23.397629 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5768; line 1553 (connection #0)
03:01:23.403773 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:23.404445 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:23.405705 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.405830 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:23.406207 == Info: FTP 0x57419f0 (line 2520) state change from USER to PASS
03:01:23.407229 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:23.407376 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:23.408074 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.408195 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:23.408519 == Info: FTP 0x57419f0 (line 2496) state change from PASS to PBSZ
03:01:23.408815 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:23.408955 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:23.409495 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.409612 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:23.409941 == Info: FTP 0x57419f0 (line 2709) state change from PBSZ to PROT
03:01:23.410206 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:23.410352 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:23.411014 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.411132 => Send header, 5 bytes (0x5)
0000: PWD
03:01:23.411447 == Info: FTP 0x57419f0 (line 804) state change from PROT to PWD
03:01:23.411784 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:23.411924 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:23.413043 == Info: Entry path is '/'
03:01:23.413270 == Info: FTP 0x57419f0 (line 2844) state change from PWD to STOP
03:01:23.413437 == Info: protocol connect phase DONE
03:01:23.413684 == Info: STATE: PROTOCONNECT => DO handle 0x56c5768; line 1572 (connection #0)
03:01:23.415587 == Info: DO phase starts
03:01:23.431723 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:23.431856 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|55681|
03:01:23.432435 == Info: FTP 0x57419f0 (line 1293) state change from STOP to PORT
03:01:23.433134 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:23.433500 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:23.434031 == Info: Connect data stream actively
03:01:23.434235 == Info: FTP 0x57419f0 (line 2011) state change from PORT to STOP
03:01:23.434794 == Info: ftp_perform ends with SECONDARY: 1
03:01:23.435008 == Info: DO phase is complete1
03:01:23.436769 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:23.436892 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:23.437232 == Info: FTP 0x57419f0 (line 3418) state change from STOP to LIST_TYPE
03:01:23.437619 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:23.437763 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:23.438979 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:23.439098 => Send header, 6 bytes (0x6)
0000: LIST
03:01:23.439643 == Info: FTP 0x57419f0 (line 1486) state change from LIST_TYPE to LIST
03:01:23.440718 == Info: STATE: DO => DO_MORE handle 0x56c5768; line 1622 (connection #0)
03:01:23.441952 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:23.442096 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:23.442685 == Info: Maxdownload = -1
03:01:23.442987 == Info: Preparing for accepting server on data port
03:01:23.444044 == Info: Checking for server connect
03:01:23.444878 == Info: Ready to accept data connection from server
03:01:23.446613 == Info: Connection accepted from server
03:01:23.448121 == Info: FTP 0x57419f0 (line 477) state change from LIST to STOP
03:01:23.449110 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5768; line 1724 (connection #0)
03:01:23.449499 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
03:01:23.453087 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:23.461721 == Info: nread <= 0, server closed connection, bailing
03:01:23.462891 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
03:01:23.463220 == Info: multi_done
03:01:23.466483 == Info: Remembering we are in dir ""
03:01:23.484318 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:23.484473 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:23.492327 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==32571== Invalid read of size 8
==32571== at 0x53315A5: check_free (dlerror.c:188)
==32571== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32571== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32571== by 0x4D60EB9: exit (exit.c:139)
==32571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32571== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
==32571== Invalid free() / delete / delete[] / realloc()
==32571== at 0x48369AB: free (vg_replace_malloc.c:540)
==32571== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32571== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32571== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32571== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32571== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32571== by 0x4D60EB9: exit (exit.c:139)
==32571== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32571== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
==32571== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32571== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32571== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32571== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32571== by 0x24B11C: err_get_state (err.c:210)
==32571== by 0x24BCF2: ERR_put_error (err.c:636)
==32571== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32571== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32571== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32571== by 0x27033E: by_file_ctrl (by_file.c:111)
==32571== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32571== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32571== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32571== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32571== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32571== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32571== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32571==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==32579== Invalid read of size 8
==32579== at 0x53315A5: check_free (dlerror.c:188)
==32579== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32579== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32579== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32579== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32579== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32579== by 0x4D60EB9: exit (exit.c:139)
==32579== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32579== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
==32579== Invalid free() / delete / delete[] / realloc()
==32579== at 0x48369AB: free (vg_replace_malloc.c:540)
==32579== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32579== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32579== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32579== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32579== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32579== by 0x4D60EB9: exit (exit.c:139)
==32579== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32579== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
==32579== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
== Contents of files in the log/ dir after test 407
=== Start of file curl407.out
data blobb
=== End of file curl407.out
=== Start of file ftp_server.log
03:01:26.599186 ====> Client connect
03:01:26.599289 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:26.686376 < "USER anonymous"
03:01:26.686423 > "331 We are happy you popped in![CR][LF]"
03:01:26.697454 < "PASS ftp@example.com"
03:01:26.697489 > "230 Welcome you silly person[CR][LF]"
03:01:26.699835 < "PBSZ 0"
03:01:26.699866 > "500 PBSZ not implemented[CR][LF]"
03:01:26.701311 < "PROT C"
03:01:26.701341 > "500 PROT not implemented[CR][LF]"
03:01:26.702867 < "PWD"
03:01:26.702903 > "257 "/" is current directory[CR][LF]"
03:01:26.709945 < "CWD a"
03:01:26.709976 > "250 CWD command successful.[CR][LF]"
03:01:26.711682 < "CWD path"
03:01:26.711713 > "250 CWD command successful.[CR][LF]"
03:01:26.715355 < "EPSV"
03:01:26.715387 ====> Passive DATA channel requested by client
03:01:26.715400 DATA sockfilt for passive data channel starting...
03:01:26.717050 DATA sockfilt for passive data channel started (pid 32581)
03:01:26.717255 DATA sockfilt for passive data channel listens on port 43539
03:01:26.717316 > "229 Entering Passive Mode (|||43539|)[LF]"
03:01:26.717339 Client has been notified that DATA conn will be accepted on port 43539
03:01:26.723716 Client connects to port 43539
03:01:26.723753 ====> Client established passive DATA connection on port 43539
03:01:26.728837 < "TYPE I"
03:01:26.728871 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:26.731113 < "SIZE 407"
03:01:26.731271 > "213 11[CR][LF]"
03:01:26.734988 < "RETR 407"
03:01:26.735085 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:26.735143 =====> Closing passive DATA connection...
03:01:26.735159 Server disconnects passive DATA connection
03:01:26.735243 DATA sockfilt for passive data channel quits (pid 32582)
03:01:26.735258 =====> Closed passive DATA connection
03:01:26.735282 > "226 File transfer complete[CR][LF]"
03:01:26.837140 < "EPSV"
03:01:26.837180 ====> Passive DATA channel requested by client
03:01:26.837194 DATA sockfilt for passive data channel starting...
03:01:26.839146 DATA sockfilt for passive data channel started (pid 32583)
03:01:26.839312 DATA sockfilt for passive data channel listens on port 33019
03:01:26.839362 > "229 Entering Passive Mode (|||33019|)[LF]"
03:01:26.839384 Client has been notified that DATA conn will be accepted on port 33019
03:01:26.840898 Client connects to port 33019
03:01:26.840924 ====> Client established passive DATA connection on port 33019
03:01:26.842279 < "SIZE 407"
03:01:26.842450 > "213 11[CR][LF]"
03:01:26.843363 < "RETR 407"
03:01:26.843475 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:26.843532 =====> Closing passive DATA connection...
03:01:26.843547 Server disconnects passive DATA connection
03:01:26.843644 DATA sockfilt for passive data channel quits (pid 32584)
03:01:26.843660 =====> Closed passive DATA connection
03:01:26.843684 > "226 File transfer complete[CR][LF]"
03:01:26.905757 < "QUIT"
03:01:26.905800 > "221 bye bye baby[CR][LF]"
03:01:26.910222 MAIN sockfilt said DISC
03:01:26.910265 ====> Client disconnected
03:01:26.910315 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:26.699902 ====> Client connect
03:01:26.700091 Received DATA (on stdin)
03:01:26.700112 > 160 bytes data, server => client
03:01:26.700133 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:26.700153 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:26.700170 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:26.787051 < 16 bytes data, client => server
03:01:26.787089 'USER anonymous\r\n'
03:01:26.787230 Received DATA (on stdin)
03:01:26.787250 > 33 bytes data, server => client
03:01:26.787269 '331 We are happy you popped in!\r\n'
03:01:26.798174 < 22 bytes data, client => server
03:01:26.798202 'PASS ftp@example.com\r\n'
03:01:26.798297 Received DATA (on stdin)
03:01:26.798314 > 30 bytes data, server => client
03:01:26.798332 '230 Welcome you silly person\r\n'
03:01:26.800571 < 8 bytes data, client => server
03:01:26.800592 'PBSZ 0\r\n'
03:01:26.800675 Received DATA (on stdin)
03:01:26.800693 > 26 bytes data, server => client
03:01:26.800709 '500 PBSZ not implemented\r\n'
03:01:26.802047 < 8 bytes data, client => server
03:01:26.802068 'PROT C\r\n'
03:01:26.802150 Received DATA (on stdin)
03:01:26.802169 > 26 bytes data, server => client
03:01:26.802184 '500 PROT not implemented\r\n'
03:01:26.803604 < 5 bytes data, client => server
03:01:26.803624 'PWD\r\n'
03:01:26.803712 Received DATA (on stdin)
03:01:26.803730 > 30 bytes data, server => client
03:01:26.803748 '257 "/" is current directory\r\n'
03:01:26.810680 < 7 bytes data, client => server
03:01:26.810701 'CWD a\r\n'
03:01:26.810786 Received DATA (on stdin)
03:01:26.810804 > 29 bytes data, server => client
03:01:26.810820 '250 CWD command successful.\r\n'
03:01:26.812419 < 10 bytes data, client => server
03:01:26.812440 'CWD path\r\n'
03:01:26.812522 Received DATA (on stdin)
03:01:26.812540 > 29 bytes data, server => client
03:01:26.812557 '250 CWD command successful.\r\n'
03:01:26.816092 < 6 bytes data, client => server
03:01:26.816112 'EPSV\r\n'
03:01:26.818140 Received DATA (on stdin)
03:01:26.818174 > 38 bytes data, server => client
03:01:26.818198 '229 Entering Passive Mode (|||43539|)\n'
03:01:26.829560 < 8 bytes data, client => server
03:01:26.829583 'TYPE I\r\n'
03:01:26.829680 Received DATA (on stdin)
03:01:26.829698 > 33 bytes data, server => client
03:01:26.829716 '200 I modify TYPE as you wanted\r\n'
03:01:26.831873 < 10 bytes data, client => server
03:01:26.831896 'SIZE 407\r\n'
03:01:26.832081 Received DATA (on stdin)
03:01:26.832101 > 8 bytes data, server => client
03:01:26.832116 '213 11\r\n'
03:01:26.835750 < 10 bytes data, client => server
03:01:26.835779 'RETR 407\r\n'
03:01:26.835895 Received DATA (on stdin)
03:01:26.835914 > 51 bytes data, server => client
03:01:26.835934 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:26.836091 Received DATA (on stdin)
03:01:26.836111 > 28 bytes data, server => client
03:01:26.836128 '226 File transfer complete\r\n'
03:01:26.937841 < 6 bytes data, client => server
03:01:26.937876 'EPSV\r\n'
03:01:26.940187 Received DATA (on stdin)
03:01:26.940224 > 38 bytes data, server => client
03:01:26.940261 '229 Entering Passive Mode (|||33019|)\n'
03:01:26.942986 < 10 bytes data, client => server
03:01:26.943012 'SIZE 407\r\n'
03:01:26.943259 Received DATA (on stdin)
03:01:26.943281 > 8 bytes data, server => client
03:01:26.943298 '213 11\r\n'
03:01:26.944125 < 10 bytes data, client => server
03:01:26.944146 'RETR 407\r\n'
03:01:26.944283 Received DATA (on stdin)
03:01:26.944303 > 51 bytes data, server => client
03:01:26.944323 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:26.944493 Received DATA (on stdin)
03:01:26.944513 > 28 bytes data, server => client
03:01:26.944530 '226 File transfer complete\r\n'
03:01:27.006466 < 6 bytes data, client => server
03:01:27.006503 'QUIT\r\n'
03:01:27.006608 Received DATA (on stdin)
03:01:27.006627 > 18 bytes data, server => client
03:01:27.006644 '221 bye bye baby\r\n'
03:01:27.010995 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:26.817637 Running IPv4 version
03:01:26.817740 Listening on port 43539
03:01:26.817779 Wrote pid 32582 to ./.ftp_sockdata.pid
03:01:26.817799 Received PING (on stdin)
03:01:26.817938 Received PORT (on stdin)
03:01:26.824470 ====> Client connect
03:01:26.835942 Received DATA (on stdin)
03:01:26.835966 > 11 bytes data, server => client
03:01:26.835980 'data blobb\n'
03:01:26.836007 Received DISC (on stdin)
03:01:26.836020 ====> Client forcibly disconnected
03:01:26.836038 Received QUIT (on stdin)
03:01:26.836047 quits
03:01:26.836060 ============> sockfilt quits
03:01:26.939754 Running IPv4 version
03:01:26.939849 Listening on port 33019
03:01:26.939895 Wrote pid 32584 to ./.ftp_sockdata.pid
03:01:26.939918 Received PING (on stdin)
03:01:26.940020 Received PORT (on stdin)
03:01:26.941674 ====> Client connect
03:01:26.944316 Received DATA (on stdin)
03:01:26.944343 > 11 bytes data, server => client
03:01:26.944360 'data blobb\n'
03:01:26.944398 Received DISC (on stdin)
03:01:26.944417 ====> Client forcibly disconnected
03:01:26.944447 Received QUIT (on stdin)
03:01:26.944462 quits
03:01:26.944483 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD a
CWD path
EPSV
TYPE I
SIZE 407
RETR 407
EPSV
SIZE 407
RETR 407
QUIT
=== End of file server.input
=== Start of file stderr407
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 11 100 11 0 0 4 0 0:00:02 0:00:02 --:--:-- 5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 11 100 11 0 0 164 0 --:--:-- --:--:-- --:--:-- 203
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:01:24.611174 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:01:24.666162 == Info: Added connection 0. The cache now contains 1 members
03:01:24.683953 == Info: Trying 127.0.0.1:8993...
03:01:24.684558 == Info: TCP_NODELAY set
03:01:24.689684 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:01:24.701331 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:24.701895 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:01:24.702967 == Info: Marked for [keep alive]: FTP default
03:01:26.178391 == Info: successfully set certificate verify locations:
03:01:26.178654 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:26.292000 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:26.297065 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:26.297129 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....n"5..&..>.R.........o..g..-......+./.,.0...............
0040: ../.5.....3...................................................
03:01:26.314082 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:26.319763 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:26.319829 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....ny.~.8d('..A#T.9k..p .q,O.... ..I...N..+w.G.NC.....zc3Z
0040: ..BE!.../................
03:01:26.363716 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:26.364190 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:26.364246 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:26.462790 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:26.463043 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:26.463103 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P.............V....46..T|AX..a.U.....K2D.RV.PZ.*1........<sT.`
0080: .._.....IP.....<%SGK.Qa.....#..g..._...[7F].|...........DS...s.T..|
00c0: .f.$..e.v%_.....r.E.(..z..:^rI*<tn`t!...h.........6..E..~!......
0100: .u2.4...#....3.9.4u......2.i9....*...w...'[7F]....(.U...:..{..kPyy.
0140: .b....?....$.
03:01:26.534112 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:26.534464 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:26.534524 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:26.650440 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:26.650670 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:26.650727 => Send SSL data, 70 bytes (0x46)
0000: ...BA...C.[.k.T.R0..T....'G....`.."....k.'=.......}..Rp.!5_N2C..
0040: .rg.2{
03:01:26.662939 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.663567 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:26.663630 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:26.686048 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:26.686159 => Send SSL data, 16 bytes (0x10)
0000: ........t.R.....
03:01:26.699024 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:26.701696 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:26.702798 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:26.702858 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:26.705329 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:26.711037 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:26.711094 <= Recv SSL data, 16 bytes (0x10)
0000: ......,./.?....9
03:01:26.739590 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:26.741866 == Info: Server certificate:
03:01:26.749387 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:26.755541 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:26.756501 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:26.757434 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:26.758306 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:26.759865 == Info: FTP 0x579ad20 (line 3092) state change from STOP to WAIT220
03:01:26.765862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:26.773601 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:26.777134 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:26.777326 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:26.777509 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:26.777690 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:26.785396 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:26.788379 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:26.789161 == Info: FTP 0x579ad20 (line 792) state change from WAIT220 to USER
03:01:26.789920 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5c78; line 1553 (connection #0)
03:01:26.796085 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:26.796765 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:26.798026 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.798149 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:26.798577 == Info: FTP 0x579ad20 (line 2520) state change from USER to PASS
03:01:26.799600 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:26.799743 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:26.800439 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:26.800559 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:26.800950 == Info: FTP 0x579ad20 (line 2496) state change from PASS to PBSZ
03:01:26.801244 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:26.801382 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:26.801914 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:26.802031 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:26.802411 == Info: FTP 0x579ad20 (line 2709) state change from PBSZ to PROT
03:01:26.802657 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:26.802795 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:26.803472 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.803589 => Send header, 5 bytes (0x5)
0000: PWD
03:01:26.803957 == Info: FTP 0x579ad20 (line 804) state change from PROT to PWD
03:01:26.804284 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:26.804424 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:26.805547 == Info: Entry path is '/'
03:01:26.805772 == Info: FTP 0x579ad20 (line 2844) state change from PWD to STOP
03:01:26.805938 == Info: protocol connect phase DONE
03:01:26.806183 == Info: STATE: PROTOCONNECT => DO handle 0x56c5c78; line 1572 (connection #0)
03:01:26.809450 == Info: DO phase starts
03:01:26.810544 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.810665 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:26.811100 == Info: FTP 0x579ad20 (line 895) state change from STOP to CWD
03:01:26.811510 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:26.811654 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:26.812288 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:26.812405 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:26.812776 == Info: ftp_perform ends with SECONDARY: 0
03:01:26.813495 == Info: STATE: DO => DOING handle 0x56c5c78; line 1614 (connection #0)
03:01:26.814400 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:26.814543 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:26.815958 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.816078 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:26.816444 == Info: FTP 0x579ad20 (line 1330) state change from CWD to PASV
03:01:26.816617 == Info: Connect data stream passively
03:01:26.818444 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:26.818593 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43539|).
03:01:26.824285 == Info: Trying 127.0.0.1:43539...
03:01:26.824348 == Info: TCP_NODELAY set
03:01:26.825194 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43539
03:01:26.826312 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:26.826863 == Info: DO phase is complete2
03:01:26.827129 == Info: STATE: DOING => DO_MORE handle 0x56c5c78; line 1699 (connection #0)
03:01:26.827851 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:26.828067 == Info: DO-MORE connected phase starts
03:01:26.829416 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:26.829541 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:26.829941 == Info: FTP 0x579ad20 (line 3418) state change from STOP to RETR_TYPE
03:01:26.830377 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:26.830521 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:26.831703 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:26.831830 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:26.832212 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:26.833823 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:26.833996 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:26.835609 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:26.835729 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:26.836138 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:26.836653 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:26.837002 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:26.837856 == Info: Maxdownload = -1
03:01:26.838063 == Info: Getting file with size: 11
03:01:26.839435 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:26.840002 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5c78; line 1724 (connection #0)
03:01:26.840398 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c78; line 1749 (connection #0)
03:01:26.843849 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:26.849069 == Info: readwrite_data: we're done
03:01:26.849331 == Info: nread <= 0, server closed connection, bailing
03:01:26.850677 == Info: STATE: PERFORM => DONE handle 0x56c5c78; line 1939 (connection #0)
03:01:26.851003 == Info: multi_done
03:01:26.853862 == Info: Remembering we are in dir "a/path/"
03:01:26.880923 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:26.881300 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:26.893553 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:26.895402 == Info: Expire cleared (transfer 0x56c5c78)
03:01:26.921520 == Info: STATE: INIT => CONNECT handle 0x571fc98; line 1362 (connection #-5000)
03:01:26.925481 == Info: Found bundle for host 127.0.0.1: 0x57a8d98 [serially]
03:01:26.933937 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:26.934738 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:26.934947 == Info: STATE: CONNECT => DO handle 0x571fc98; line 1411 (connection #0)
03:01:26.937040 == Info: Request has same path as previous transfer
03:01:26.937229 == Info: DO phase starts
03:01:26.937653 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:26.937799 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:26.937972 == Info: FTP 0x579ad20 (line 1330) state change from STOP to PASV
03:01:26.938033 == Info: Connect data stream passively
03:01:26.938234 == Info: ftp_perform ends with SECONDARY: 0
03:01:26.938314 == Info: STATE: DO => DOING handle 0x571fc98; line 1614 (connection #0)
03:01:26.940592 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:26.940752 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||33019|).
03:01:26.941510 == Info: Trying 127.0.0.1:33019...
03:01:26.941570 == Info: TCP_NODELAY set
03:01:26.941708 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 33019
03:01:26.941858 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:26.941918 == Info: DO phase is complete2
03:01:26.941992 == Info: STATE: DOING => DO_MORE handle 0x571fc98; line 1699 (connection #0)
03:01:26.942089 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:26.942148 == Info: DO-MORE connected phase starts
03:01:26.942394 == Info: FTP 0x579ad20 (line 3413) state change from STOP to RETR_TYPE
03:01:26.942831 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:26.942954 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:26.943159 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:26.943517 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:26.943660 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:26.943988 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:26.944107 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:26.944286 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:26.944527 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:26.944680 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:26.944942 == Info: Maxdownload = -1
03:01:26.945000 == Info: Getting file with size: 11
03:01:26.945072 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:26.945155 == Info: STATE: DO_MORE => DO_DONE handle 0x571fc98; line 1724 (connection #0)
03:01:26.945241 == Info: STATE: DO_DONE => PERFORM handle 0x571fc98; line 1749 (connection #0)
03:01:26.945349 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:26.945798 == Info: readwrite_data: we're done
03:01:26.945862 == Info: nread <= 0, server closed connection, bailing
03:01:26.945949 == Info: STATE: PERFORM => DONE handle 0x571fc98; line 1939 (connection #0)
03:01:26.946011 == Info: multi_done
03:01:26.946226 == Info: Remembering we are in dir "a/path/"
03:01:26.988366 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:26.988804 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:26.991086 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:26.991417 == Info: Expire cleared (transfer 0x571fc98)
=== End of file trace407
=== Start of file valgrind407
==32579== Invalid read of size 8
==32579== at 0x53315A5: check_free (dlerror.c:188)
==32579== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32579== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32579== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32579== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32579== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32579== by 0x4D60EB9: exit (exit.c:139)
==32579== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32579== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
==32579== Invalid free() / delete / delete[] / realloc()
==32579== at 0x48369AB: free (vg_replace_malloc.c:540)
==32579== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32579== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32579== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32579== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32579== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32579== by 0x4D60EB9: exit (exit.c:139)
==32579== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32579== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
==32579== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32579== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32579== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32579== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32579== by 0x24B11C: err_get_state (err.c:210)
==32579== by 0x24BCF2: ERR_put_error (err.c:636)
==32579== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32579== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32579== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32579== by 0x27033E: by_file_ctrl (by_file.c:111)
==32579== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32579== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32579== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32579== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32579== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32579== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32579== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32579==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==32587== Invalid read of size 8
==32587== at 0x53315A5: check_free (dlerror.c:188)
==32587== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32587== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32587== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32587== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32587== by 0x4D60EB9: exit (exit.c:139)
==32587== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32587== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
==32587== Invalid free() / delete / delete[] / realloc()
==32587== at 0x48369AB: free (vg_replace_malloc.c:540)
==32587== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32587== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32587== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32587== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32587== by 0x4D60EB9: exit (exit.c:139)
==32587== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32587== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
==32587== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:30.078239 ====> Client connect
03:01:30.078343 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:30.165336 < "USER anonymous"
03:01:30.165380 > "331 We are happy you popped in![CR][LF]"
03:01:30.176359 < "PASS ftp@example.com"
03:01:30.176393 > "230 Welcome you silly person[CR][LF]"
03:01:30.178707 < "PBSZ 0"
03:01:30.178739 > "500 PBSZ not implemented[CR][LF]"
03:01:30.180131 < "PROT C"
03:01:30.180157 > "500 PROT not implemented[CR][LF]"
03:01:30.181632 < "PWD"
03:01:30.181665 > "257 "/" is current directory[CR][LF]"
03:01:30.188745 < "CWD CWD"
03:01:30.188770 > "250 CWD command successful.[CR][LF]"
03:01:30.190397 < "CWD STOR"
03:01:30.190424 > "250 CWD command successful.[CR][LF]"
03:01:30.193014 < "CWD RETR"
03:01:30.193042 > "250 CWD command successful.[CR][LF]"
03:01:30.198926 < "EPRT |1|127.0.0.1|38729|"
03:01:30.198955 ====> Active DATA channel requested by client
03:01:30.198992 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:30.199009 DATA sockfilt for active data channel starting...
03:01:30.200501 DATA sockfilt for active data channel started (pid 32591)
03:01:30.200527 ====> Active DATA channel connected to client port 38729
03:01:30.203601 < "TYPE I"
03:01:30.203634 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:30.205893 < "STOR 408"
03:01:30.205916 STOR test number 408 in log/upload.408
03:01:30.205935 > "125 Gimme gimme gimme![CR][LF]"
03:01:30.218936 > Appending 27 bytes to file
03:01:30.226763 =====> Closing active DATA connection...
03:01:30.226784 Server knows active DATA connection is already disconnected
03:01:30.226833 DATA sockfilt for active data channel quits (pid 32592)
03:01:30.226849 =====> Closed active DATA connection
03:01:30.226865 received 27 bytes upload
03:01:30.226892 > "226 File transfer complete[CR][LF]"
03:01:30.283778 < "QUIT"
03:01:30.283821 > "221 bye bye baby[CR][LF]"
03:01:30.288108 MAIN sockfilt said DISC
03:01:30.288151 ====> Client disconnected
03:01:30.288211 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:30.178946 ====> Client connect
03:01:30.179145 Received DATA (on stdin)
03:01:30.179159 > 160 bytes data, server => client
03:01:30.179174 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:30.179188 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:30.179199 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:30.266018 < 16 bytes data, client => server
03:01:30.266053 'USER anonymous\r\n'
03:01:30.266208 Received DATA (on stdin)
03:01:30.266231 > 33 bytes data, server => client
03:01:30.266246 '331 We are happy you popped in!\r\n'
03:01:30.277102 < 22 bytes data, client => server
03:01:30.277129 'PASS ftp@example.com\r\n'
03:01:30.277222 Received DATA (on stdin)
03:01:30.277244 > 30 bytes data, server => client
03:01:30.277259 '230 Welcome you silly person\r\n'
03:01:30.279466 < 8 bytes data, client => server
03:01:30.279488 'PBSZ 0\r\n'
03:01:30.279558 Received DATA (on stdin)
03:01:30.279571 > 26 bytes data, server => client
03:01:30.279585 '500 PBSZ not implemented\r\n'
03:01:30.280900 < 8 bytes data, client => server
03:01:30.280922 'PROT C\r\n'
03:01:30.280985 Received DATA (on stdin)
03:01:30.281007 > 26 bytes data, server => client
03:01:30.281022 '500 PROT not implemented\r\n'
03:01:30.282407 < 5 bytes data, client => server
03:01:30.282428 'PWD\r\n'
03:01:30.282490 Received DATA (on stdin)
03:01:30.282512 > 30 bytes data, server => client
03:01:30.282528 '257 "/" is current directory\r\n'
03:01:30.289514 < 9 bytes data, client => server
03:01:30.289536 'CWD CWD\r\n'
03:01:30.289597 Received DATA (on stdin)
03:01:30.289620 > 29 bytes data, server => client
03:01:30.289635 '250 CWD command successful.\r\n'
03:01:30.291172 < 10 bytes data, client => server
03:01:30.291193 'CWD STOR\r\n'
03:01:30.291252 Received DATA (on stdin)
03:01:30.291275 > 29 bytes data, server => client
03:01:30.291290 '250 CWD command successful.\r\n'
03:01:30.293787 < 10 bytes data, client => server
03:01:30.293809 'CWD RETR\r\n'
03:01:30.293870 Received DATA (on stdin)
03:01:30.293892 > 29 bytes data, server => client
03:01:30.293908 '250 CWD command successful.\r\n'
03:01:30.299683 < 26 bytes data, client => server
03:01:30.299708 'EPRT |1|127.0.0.1|38729|\r\n'
03:01:30.299817 Received DATA (on stdin)
03:01:30.299840 > 50 bytes data, server => client
03:01:30.299857 '200 Thanks for dropping by. We contact you later\r\n'
03:01:30.304353 < 8 bytes data, client => server
03:01:30.304375 'TYPE I\r\n'
03:01:30.304459 Received DATA (on stdin)
03:01:30.304481 > 33 bytes data, server => client
03:01:30.304496 '200 I modify TYPE as you wanted\r\n'
03:01:30.306663 < 10 bytes data, client => server
03:01:30.306685 'STOR 408\r\n'
03:01:30.306764 Received DATA (on stdin)
03:01:30.306786 > 24 bytes data, server => client
03:01:30.306801 '125 Gimme gimme gimme!\r\n'
03:01:30.327702 Received DATA (on stdin)
03:01:30.327727 > 28 bytes data, server => client
03:01:30.327743 '226 File transfer complete\r\n'
03:01:30.384484 < 6 bytes data, client => server
03:01:30.384524 'QUIT\r\n'
03:01:30.384648 Received DATA (on stdin)
03:01:30.384671 > 18 bytes data, server => client
03:01:30.384686 '221 bye bye baby\r\n'
03:01:30.388864 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:30.301160 ====> Client connect
03:01:30.301237 Running IPv4 version
03:01:30.301247 Connected to port 38729
03:01:30.301271 Wrote pid 32592 to ./.ftp_sockdata.pid
03:01:30.301286 Received PING (on stdin)
03:01:30.319684 < 27 bytes data, client => server
03:01:30.319718 'Moooooooooooo\n upload this\n'
03:01:30.327453 ====> Client disconnect
03:01:30.327502 disconnected, no socket to read on
03:01:30.327628 Received QUIT (on stdin)
03:01:30.327641 quits
03:01:30.327656 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
CWD CWD
CWD STOR
CWD RETR
EPRT |1|127.0.0.1|38729|
TYPE I
STOR 408
QUIT
=== End of file server.input
=== Start of file stderr408
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 27 0 0 100 27 0 11 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:27.083052 == Info: STATE: INIT => CONNECT handle 0x56c8638; line 1362 (connection #-5000)
03:01:27.136852 == Info: Added connection 0. The cache now contains 1 members
03:01:27.154695 == Info: Trying 127.0.0.1:8993...
03:01:27.155303 == Info: TCP_NODELAY set
03:01:27.160452 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8638; line 1418 (connection #0)
03:01:27.172091 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:27.172658 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8638; line 1538 (connection #0)
03:01:27.173731 == Info: Marked for [keep alive]: FTP default
03:01:28.657310 == Info: successfully set certificate verify locations:
03:01:28.657574 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:28.771095 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:28.776178 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:28.776238 => Send SSL data, 126 bytes (0x7e)
0000: ...z..3.......c.i,.&.@p.E..3`T'..f[2Q.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:28.793147 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:28.798744 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:28.798802 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..;n.A.,..Z...9..|...E...j..i.Y... .....ipHd......Pwbi8kx.k.
0040: ._..e.E./................
03:01:28.842635 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:28.843096 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:28.843153 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:28.941796 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:28.942057 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:28.942114 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P............-A.#..}..#mm$.D>.......`......jj..j......Q....p..
0080: W.A..@W.h.J.|...7...Ub.N[7F]..G.2w.VzF.....2.Rhk..-..{eM|.E...o..`.
00c0: 9.S...u...we0..,.1.(...u.ks.:H|.6.'.jL|..c$..8...>d.........q.m.
0100: ..r...Y.&O...].........H#....h..|...Z...oU....l...w...a...6h...~
0140: xo...........
03:01:29.011977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.012349 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:29.012408 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:29.130950 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:29.131191 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:29.131249 => Send SSL data, 70 bytes (0x46)
0000: ...BA.tb.....z._>.s.@....4..C.C...@...C.e.e..(:..;t....-........
0040: `\J..Q
03:01:29.143151 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.143738 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:29.143803 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:29.165554 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:29.165633 => Send SSL data, 16 bytes (0x10)
0000: ..... g.....$...
03:01:29.178132 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.180702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.181822 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:29.181881 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:29.184340 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.190020 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:29.190078 <= Recv SSL data, 16 bytes (0x10)
0000: .......E.._;....
03:01:29.218468 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:29.220743 == Info: Server certificate:
03:01:29.228277 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:29.234514 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:29.235468 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:29.236401 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:29.237275 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:29.238766 == Info: FTP 0x577e550 (line 3092) state change from STOP to WAIT220
03:01:29.244784 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.252524 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:29.256065 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:29.256260 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:29.256447 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:29.256631 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:29.264355 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.267266 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:29.268057 == Info: FTP 0x577e550 (line 792) state change from WAIT220 to USER
03:01:29.268820 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8638; line 1553 (connection #0)
03:01:29.274976 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:29.275651 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:29.276929 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.277055 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:29.277455 == Info: FTP 0x577e550 (line 2520) state change from USER to PASS
03:01:29.278476 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:29.278621 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:29.279312 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.279432 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:29.279756 == Info: FTP 0x577e550 (line 2496) state change from PASS to PBSZ
03:01:29.280057 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.280198 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:29.280738 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.280869 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:29.281204 == Info: FTP 0x577e550 (line 2709) state change from PBSZ to PROT
03:01:29.281452 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.281593 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:29.282257 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.282375 => Send header, 5 bytes (0x5)
0000: PWD
03:01:29.282694 == Info: FTP 0x577e550 (line 804) state change from PROT to PWD
03:01:29.283021 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:29.283165 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:29.284288 == Info: Entry path is '/'
03:01:29.284513 == Info: FTP 0x577e550 (line 2844) state change from PWD to STOP
03:01:29.284679 == Info: protocol connect phase DONE
03:01:29.284925 == Info: STATE: PROTOCONNECT => DO handle 0x56c8638; line 1572 (connection #0)
03:01:29.288256 == Info: DO phase starts
03:01:29.289358 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.289480 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:29.289829 == Info: FTP 0x577e550 (line 895) state change from STOP to CWD
03:01:29.290241 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.290388 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.291021 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.291140 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:29.291466 == Info: ftp_perform ends with SECONDARY: 0
03:01:29.292189 == Info: STATE: DO => DOING handle 0x56c8638; line 1614 (connection #0)
03:01:29.293097 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.293243 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.293637 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.293754 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:29.294346 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.294493 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.299518 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.299645 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|38729|
03:01:29.300227 == Info: FTP 0x577e550 (line 1293) state change from CWD to PORT
03:01:29.300767 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:29.301124 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:29.301650 == Info: Connect data stream actively
03:01:29.301854 == Info: FTP 0x577e550 (line 2011) state change from PORT to STOP
03:01:29.302530 == Info: DO phase is complete2
03:01:29.302797 == Info: STATE: DOING => DO_MORE handle 0x56c8638; line 1699 (connection #0)
03:01:29.304194 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.304317 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:29.304661 == Info: FTP 0x577e550 (line 3418) state change from STOP to STOR_TYPE
03:01:29.305045 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:29.305190 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:29.306510 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.306630 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:29.306968 == Info: FTP 0x577e550 (line 1651) state change from STOR_TYPE to STOR
03:01:29.308347 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:29.308501 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:29.309026 == Info: FTP 0x577e550 (line 2330) state change from STOR to STOP
03:01:29.309210 == Info: Preparing for accepting server on data port
03:01:29.310282 == Info: Checking for server connect
03:01:29.311136 == Info: Ready to accept data connection from server
03:01:29.312910 == Info: Connection accepted from server
03:01:29.315447 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8638; line 1724 (connection #0)
03:01:29.315888 == Info: STATE: DO_DONE => PERFORM handle 0x56c8638; line 1749 (connection #0)
03:01:29.320209 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:29.320810 == Info: We are completely uploaded and fine
03:01:29.323236 == Info: STATE: PERFORM => DONE handle 0x56c8638; line 1939 (connection #0)
03:01:29.323565 == Info: multi_done
03:01:29.326204 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:29.348526 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:29.348754 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:29.359597 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace408
=== Start of file upload.408
Moooooooooooo
upload this
=== End of file upload.408
=== Start of file upload408
Moooooooooooo
upload this
=== End of file upload408
=== Start of file valgrind408
==32587== Invalid read of size 8
==32587== at 0x53315A5: check_free (dlerror.c:188)
==32587== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32587== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32587== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32587== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32587== by 0x4D60EB9: exit (exit.c:139)
==32587== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32587== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
==32587== Invalid free() / delete / delete[] / realloc()
==32587== at 0x48369AB: free (vg_replace_malloc.c:540)
==32587== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32587== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32587== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32587== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32587== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32587== by 0x4D60EB9: exit (exit.c:139)
==32587== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32587== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
==32587== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32587== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32587== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32587== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32587== by 0x24B11C: err_get_state (err.c:210)
==32587== by 0x24BCF2: ERR_put_error (err.c:636)
==32587== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32587== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32587== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32587== by 0x27033E: by_file_ctrl (by_file.c:111)
==32587== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32587== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32587== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32587== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32587== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32587== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32587== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32587==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==32595== Invalid read of size 8
==32595== at 0x53315A5: check_free (dlerror.c:188)
==32595== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32595== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32595== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32595== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32595== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32595== by 0x4D60EB9: exit (exit.c:139)
==32595== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32595== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
==32595== Invalid free() / delete / delete[] / realloc()
==32595== at 0x48369AB: free (vg_replace_malloc.c:540)
==32595== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32595== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32595== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32595== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32595== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32595== by 0x4D60EB9: exit (exit.c:139)
==32595== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32595== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
==32595== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:33.459220 ====> Client connect
03:01:33.459335 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:33.546149 < "USER anonymous"
03:01:33.546195 > "331 We are happy you popped in![CR][LF]"
03:01:33.557137 < "PASS ftp@example.com"
03:01:33.557170 > "230 Welcome you silly person[CR][LF]"
03:01:33.559498 < "PBSZ 0"
03:01:33.559531 > "500 PBSZ not implemented[CR][LF]"
03:01:33.560907 < "PROT C"
03:01:33.560938 > "500 PROT not implemented[CR][LF]"
03:01:33.562397 < "PWD"
03:01:33.562434 > "257 "/" is current directory[CR][LF]"
03:01:33.569707 < "EPSV"
03:01:33.569738 ====> Passive DATA channel requested by client
03:01:33.569752 DATA sockfilt for passive data channel starting...
03:01:33.571290 DATA sockfilt for passive data channel started (pid 32599)
03:01:33.571447 DATA sockfilt for passive data channel listens on port 35621
03:01:33.571492 > "229 Entering Passive Mode (|||35621|)[LF]"
03:01:33.571508 Client has been notified that DATA conn will be accepted on port 35621
03:01:33.578500 Client connects to port 35621
03:01:33.578538 ====> Client established passive DATA connection on port 35621
03:01:33.583424 < "TYPE I"
03:01:33.583456 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:33.585683 < "STOR 409"
03:01:33.585708 STOR test number 409 in log/upload.409
03:01:33.585729 > "125 Gimme gimme gimme![CR][LF]"
03:01:33.594569 > Appending 51 bytes to file
03:01:33.602887 =====> Closing passive DATA connection...
03:01:33.602907 Server knows passive DATA connection is already disconnected
03:01:33.602949 DATA sockfilt for passive data channel quits (pid 32600)
03:01:33.602975 =====> Closed passive DATA connection
03:01:33.602993 received 51 bytes upload
03:01:33.603014 > "226 File transfer complete[CR][LF]"
03:01:33.669443 < "QUIT"
03:01:33.669479 > "221 bye bye baby[CR][LF]"
03:01:33.673734 MAIN sockfilt said DISC
03:01:33.673772 ====> Client disconnected
03:01:33.673825 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:33.559920 ====> Client connect
03:01:33.560138 Received DATA (on stdin)
03:01:33.560159 > 160 bytes data, server => client
03:01:33.560179 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:33.560196 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:33.560211 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:33.646812 < 16 bytes data, client => server
03:01:33.646845 'USER anonymous\r\n'
03:01:33.647021 Received DATA (on stdin)
03:01:33.647045 > 33 bytes data, server => client
03:01:33.647060 '331 We are happy you popped in!\r\n'
03:01:33.657865 < 22 bytes data, client => server
03:01:33.657888 'PASS ftp@example.com\r\n'
03:01:33.657999 Received DATA (on stdin)
03:01:33.658021 > 30 bytes data, server => client
03:01:33.658036 '230 Welcome you silly person\r\n'
03:01:33.660233 < 8 bytes data, client => server
03:01:33.660255 'PBSZ 0\r\n'
03:01:33.660359 Received DATA (on stdin)
03:01:33.660387 > 26 bytes data, server => client
03:01:33.660403 '500 PBSZ not implemented\r\n'
03:01:33.661643 < 8 bytes data, client => server
03:01:33.661665 'PROT C\r\n'
03:01:33.661766 Received DATA (on stdin)
03:01:33.661788 > 26 bytes data, server => client
03:01:33.661804 '500 PROT not implemented\r\n'
03:01:33.663133 < 5 bytes data, client => server
03:01:33.663155 'PWD\r\n'
03:01:33.663264 Received DATA (on stdin)
03:01:33.663286 > 30 bytes data, server => client
03:01:33.663301 '257 "/" is current directory\r\n'
03:01:33.670443 < 6 bytes data, client => server
03:01:33.670466 'EPSV\r\n'
03:01:33.672319 Received DATA (on stdin)
03:01:33.672342 > 38 bytes data, server => client
03:01:33.672358 '229 Entering Passive Mode (|||35621|)\n'
03:01:33.684168 < 8 bytes data, client => server
03:01:33.684184 'TYPE I\r\n'
03:01:33.684262 Received DATA (on stdin)
03:01:33.684273 > 33 bytes data, server => client
03:01:33.684283 '200 I modify TYPE as you wanted\r\n'
03:01:33.686438 < 10 bytes data, client => server
03:01:33.686450 'STOR 409\r\n'
03:01:33.686536 Received DATA (on stdin)
03:01:33.686546 > 24 bytes data, server => client
03:01:33.686555 '125 Gimme gimme gimme!\r\n'
03:01:33.703823 Received DATA (on stdin)
03:01:33.703842 > 28 bytes data, server => client
03:01:33.703853 '226 File transfer complete\r\n'
03:01:33.770154 < 6 bytes data, client => server
03:01:33.770181 'QUIT\r\n'
03:01:33.770308 Received DATA (on stdin)
03:01:33.770331 > 18 bytes data, server => client
03:01:33.770345 '221 bye bye baby\r\n'
03:01:33.774512 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:33.671934 Running IPv4 version
03:01:33.672007 Listening on port 35621
03:01:33.672034 Wrote pid 32600 to ./.ftp_sockdata.pid
03:01:33.672050 Received PING (on stdin)
03:01:33.672162 Received PORT (on stdin)
03:01:33.679264 ====> Client connect
03:01:33.695321 < 51 bytes data, client => server
03:01:33.695342 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:33.703592 ====> Client disconnect
03:01:33.703734 Received QUIT (on stdin)
03:01:33.703746 quits
03:01:33.703760 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
STOR 409
QUIT
=== End of file server.input
=== Start of file stderr409
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 51 0 0 100 51 0 22 0:00:02 0:00:02 --:--:-- 23
=== End of file stderr409
=== Start of file test409.txt
data
to
see
that FTP
works
so does it?
=== End of file test409.txt
=== Start of file trace409
03:01:31.467750 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:31.522719 == Info: Added connection 0. The cache now contains 1 members
03:01:31.540667 == Info: Trying 127.0.0.1:8993...
03:01:31.541275 == Info: TCP_NODELAY set
03:01:31.546456 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:31.558136 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:31.558703 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:31.559779 == Info: Marked for [keep alive]: FTP default
03:01:33.041785 == Info: successfully set certificate verify locations:
03:01:33.042049 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:33.155516 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:33.160595 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:33.160657 => Send SSL data, 126 bytes (0x7e)
0000: ...z..wy..02...........e.7vP.zC..@........+./.,.0...............
0040: ../.5.....3...................................................
03:01:33.177513 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:33.183149 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:33.183214 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..8.4.d...@;....r.H.J-.......Q;*`. ...c.p.....,.....U_..U.\.
0040: .s.evV../................
03:01:33.226906 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.227347 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:33.227402 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:33.325874 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:33.326128 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:33.326187 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..0/.BM)..|#H...D...I..H..Q.uW&>8...Iyo....K.22..ee.....
0040: ..P...........y.:3e...X.T.5io....T.$...hk.x!.v..m.]....T.......M
0080: ..-I..L=.5........#Fe.I.`........D..".[!..X)o.8....u.3.\..F.nWW.
00c0: .....%S..EW....TW....[7F]....b!.u.......K..B.;'`.zg....d..^5....e..
0100: .q./...x.$.e..yp.N........>..f..(^2.64B.~O_....x.ZG..$.l..+*J..:
0140: ...9._....2U.
03:01:33.396165 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.396495 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:33.396556 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:33.512256 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:33.512494 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:33.512552 => Send SSL data, 70 bytes (0x46)
0000: ...BA...jm......IU.u..v!J...X..cn...G{....#q..Ex..W..:.>...G.FwS
0040: 8.....
03:01:33.524476 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.525061 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:33.525119 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:33.546552 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:33.546611 => Send SSL data, 16 bytes (0x10)
0000: .......k.a.../..
03:01:33.559075 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.561614 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.562711 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:33.562772 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:33.565235 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.570933 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:33.570989 <= Recv SSL data, 16 bytes (0x10)
0000: ..........S.^&..
03:01:33.599345 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:33.601616 == Info: Server certificate:
03:01:33.609156 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:33.615298 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:33.616249 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:33.617289 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:33.618175 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:33.619672 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:33.625657 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.633376 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:33.636899 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:33.637089 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:33.637269 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:33.637448 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:33.645150 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.648061 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:33.648842 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:33.649601 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:33.655754 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:33.656422 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:33.657679 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.657799 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:33.658175 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:33.659194 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:33.659338 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:33.660049 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.660169 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:33.660493 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:33.660790 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:33.660930 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:33.661463 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.661579 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:33.661909 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:33.662153 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:33.662292 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:33.662950 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.663069 => Send header, 5 bytes (0x5)
0000: PWD
03:01:33.663382 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:33.663704 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:33.663849 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:33.664995 == Info: Entry path is '/'
03:01:33.665217 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:33.665387 == Info: protocol connect phase DONE
03:01:33.665633 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:33.668271 == Info: DO phase starts
03:01:33.670259 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.670379 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:33.670713 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:33.670885 == Info: Connect data stream passively
03:01:33.671655 == Info: ftp_perform ends with SECONDARY: 0
03:01:33.672371 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:33.673278 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:33.673431 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||35621|).
03:01:33.679098 == Info: Trying 127.0.0.1:35621...
03:01:33.679164 == Info: TCP_NODELAY set
03:01:33.679862 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 35621
03:01:33.680982 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:33.681613 == Info: DO phase is complete2
03:01:33.682042 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:33.682759 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:33.682974 == Info: DO-MORE connected phase starts
03:01:33.684004 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.684126 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:33.684470 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:33.684849 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:33.684992 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:33.686283 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:33.686404 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:33.686738 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:33.688458 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:33.688600 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:33.690416 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:33.691130 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:33.691566 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:33.695872 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:33.696546 == Info: We are completely uploaded and fine
03:01:33.698942 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:33.699268 == Info: multi_done
03:01:33.702094 == Info: Remembering we are in dir ""
03:01:33.733025 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:33.733443 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:33.748593 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:33.750438 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace409
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==32595== Invalid read of size 8
==32595== at 0x53315A5: check_free (dlerror.c:188)
==32595== by 0x5331AB1: free_key_mem (dlerror.c:221)
==32595== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==32595== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32595== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32595== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32595== by 0x4D60EB9: exit (exit.c:139)
==32595== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32595== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
==32595== Invalid free() / delete / delete[] / realloc()
==32595== at 0x48369AB: free (vg_replace_malloc.c:540)
==32595== by 0x5331AB9: free_key_mem (dlerror.c:223)
==32595== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==32595== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==32595== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==32595== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==32595== by 0x4D60EB9: exit (exit.c:139)
==32595== by 0x4D4B0A1: (below main) (libc-start.c:342)
==32595== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
==32595== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==32595== at 0x483577F: malloc (vg_replace_malloc.c:309)
==32595== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==32595== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==32595== by 0x24B11C: err_get_state (err.c:210)
==32595== by 0x24BCF2: ERR_put_error (err.c:636)
==32595== by 0x260992: PEM_read_bio (pem_lib.c:622)
==32595== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==32595== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==32595== by 0x27033E: by_file_ctrl (by_file.c:111)
==32595== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==32595== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==32595== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==32595== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==32595== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==32595== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==32595== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==32595==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (356 out of 1250, remaining: 25:09, took 1.1s, duration: 10:01)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (357 out of 1250, remaining: 25:06, took 0.9s, duration: 10:02)
test 0502...[simple multi file:// get]
---d---emv- OK (358 out of 1250, remaining: 25:02, took 1.0s, duration: 10:03)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (359 out of 1250, remaining: 25:00, took 1.6s, duration: 10:04)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (360 out of 1250, remaining: 24:57, took 1.0s, duration: 10:05)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (361 out of 1250, remaining: 24:54, took 1.1s, duration: 10:06)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (362 out of 1250, remaining: 24:51, took 1.2s, duration: 10:07)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (363 out of 1250, remaining: 24:47, took 1.0s, duration: 10:08)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (364 out of 1250, remaining: 24:44, took 1.1s, duration: 10:10)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (365 out of 1250, remaining: 24:41, took 0.9s, duration: 10:10)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (366 out of 1250, remaining: 24:40, took 2.1s, duration: 10:12)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (367 out of 1250, remaining: 24:37, took 1.1s, duration: 10:14)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (368 out of 1250, remaining: 24:34, took 1.1s, duration: 10:15)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (369 out of 1250, remaining: 24:33, took 2.0s, duration: 10:17)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (370 out of 1250, remaining: 24:32, took 2.1s, duration: 10:19)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (371 out of 1250, remaining: 24:29, took 1.0s, duration: 10:20)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (372 out of 1250, remaining: 24:26, took 1.0s, duration: 10:21)
test 0517...[curl_getdate() testing]
-------emv- OK (373 out of 1250, remaining: 24:22, took 0.8s, duration: 10:22)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (374 out of 1250, remaining: 24:17, took 0.0s, duration: 10:22)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (375 out of 1250, remaining: 24:14, took 1.1s, duration: 10:23)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (376 out of 1250, remaining: 24:11, took 1.1s, duration: 10:24)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (377 out of 1250, remaining: 24:08, took 1.1s, duration: 10:25)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (378 out of 1250, remaining: 24:05, took 1.0s, duration: 10:26)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (379 out of 1250, remaining: 24:02, took 1.1s, duration: 10:27)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (380 out of 1250, remaining: 23:59, took 1.0s, duration: 10:28)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (381 out of 1250, remaining: 23:56, took 1.1s, duration: 10:29)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (382 out of 1250, remaining: 24:00, took 4.3s, duration: 10:33)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1250, remaining: 24:04, took 4.3s, duration: 10:38)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (384 out of 1250, remaining: 24:08, took 4.1s, duration: 10:42)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (385 out of 1250, remaining: 24:05, took 1.1s, duration: 10:43)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (386 out of 1250, remaining: 24:02, took 1.1s, duration: 10:44)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (387 out of 1250, remaining: 24:06, took 4.3s, duration: 10:48)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (388 out of 1250, remaining: 24:06, took 2.1s, duration: 10:50)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (389 out of 1250, remaining: 24:05, took 2.1s, duration: 10:53)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (390 out of 1250, remaining: 24:04, took 2.1s, duration: 10:55)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (391 out of 1250, remaining: 24:02, took 1.6s, duration: 10:56)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (392 out of 1250, remaining: 23:59, took 1.0s, duration: 10:57)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (393 out of 1250, remaining: 23:56, took 1.2s, duration: 10:58)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (394 out of 1250, remaining: 23:53, took 1.1s, duration: 10:59)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (395 out of 1250, remaining: 23:51, took 1.2s, duration: 11:01)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (396 out of 1250, remaining: 23:48, took 1.0s, duration: 11:02)
test 0543...[curl_easy_escape]
s------emv- OK (397 out of 1250, remaining: 23:44, took 0.9s, duration: 11:03)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (398 out of 1250, remaining: 23:41, took 1.0s, duration: 11:04)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (399 out of 1250, remaining: 23:38, took 1.0s, duration: 11:05)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (400 out of 1250, remaining: 23:37, took 2.1s, duration: 11:07)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (401 out of 1250, remaining: 23:35, took 1.2s, duration: 11:08)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (402 out of 1250, remaining: 23:32, took 1.2s, duration: 11:09)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (403 out of 1250, remaining: 23:29, took 1.0s, duration: 11:10)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (404 out of 1250, remaining: 23:26, took 1.0s, duration: 11:11)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (405 out of 1250, remaining: 23:23, took 1.1s, duration: 11:12)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (406 out of 1250, remaining: 23:28, took 4.5s, duration: 11:17)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (407 out of 1250, remaining: 23:25, took 1.1s, duration: 11:18)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (408 out of 1250, remaining: 23:22, took 1.2s, duration: 11:19)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (409 out of 1250, remaining: 23:19, took 1.2s, duration: 11:20)
test 0556...[send and recv HTTP]
--pd---emv- OK (410 out of 1250, remaining: 23:16, took 1.1s, duration: 11:21)
test 0557...[curl_mprintf() testing]
s------emv- OK (411 out of 1250, remaining: 23:13, took 0.9s, duration: 11:22)
test 0558...[libtest memory tracking operational]
------oemv- OK (412 out of 1250, remaining: 23:10, took 0.8s, duration: 11:23)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (413 out of 1250, remaining: 23:07, took 1.0s, duration: 11:24)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==415== Invalid read of size 8
==415== at 0x53315A5: check_free (dlerror.c:188)
==415== by 0x5331AB1: free_key_mem (dlerror.c:221)
==415== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==415== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==415== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==415== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==415== by 0x4D60EB9: exit (exit.c:139)
==415== by 0x4D4B0A1: (below main) (libc-start.c:342)
==415== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
==415== Invalid free() / delete / delete[] / realloc()
==415== at 0x48369AB: free (vg_replace_malloc.c:540)
==415== by 0x5331AB9: free_key_mem (dlerror.c:223)
==415== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==415== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==415== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==415== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==415== by 0x4D60EB9: exit (exit.c:139)
==415== by 0x4D4B0A1: (below main) (libc-start.c:342)
==415== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
==415== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:03:01.269390 ====> Client connect
03:03:01.269429 accept_connection 3 returned 4
03:03:01.269442 accept_connection 3 returned 0
03:03:01.348834 Read 56 bytes
03:03:01.348879 Process 56 bytes request
03:03:01.348895 Got request: GET /560 HTTP/1.1
03:03:01.348904 Requested test number 560 part 0
03:03:01.348927 - request found to be complete
03:03:01.348952 Wrote request (56 bytes) input to log/server.input
03:03:01.348971 Send response test560 section <data>
03:03:01.349040 Response sent (108 bytes) and written to log/server.response
03:03:01.349050 => persistent connection request ended, awaits new request
03:03:01.398654 Connection closed by client
03:03:01.398688 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /560 HTTP/1.1
Host: 127.0.0.1:8991
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr560
URL: https://127.0.0.1:8991/560
=== End of file stderr560
=== Start of file stdout560
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file stdout560
=== Start of file valgrind560
==415== Invalid read of size 8
==415== at 0x53315A5: check_free (dlerror.c:188)
==415== by 0x5331AB1: free_key_mem (dlerror.c:221)
==415== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==415== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==415== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==415== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==415== by 0x4D60EB9: exit (exit.c:139)
==415== by 0x4D4B0A1: (below main) (libc-start.c:342)
==415== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
==415== Invalid free() / delete / delete[] / realloc()
==415== at 0x48369AB: free (vg_replace_malloc.c:540)
==415== by 0x5331AB9: free_key_mem (dlerror.c:223)
==415== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==415== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==415== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==415== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==415== by 0x4D60EB9: exit (exit.c:139)
==415== by 0x4D4B0A1: (below main) (libc-start.c:342)
==415== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
==415== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==415== at 0x483577F: malloc (vg_replace_malloc.c:309)
==415== by 0x2369E8: OPENSSL_malloc (mem.c:106)
==415== by 0x249694: CRYPTO_set_thread_local (thread_pthread.c:182)
==415== by 0x22586A: err_get_state (err.c:210)
==415== by 0x226440: ERR_put_error (err.c:636)
==415== by 0x23B0E0: PEM_read_bio (pem_lib.c:622)
==415== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==415== by 0x24AFAA: X509_load_cert_crl_file (by_file.c:255)
==415== by 0x24AA8C: by_file_ctrl (by_file.c:111)
==415== by 0x24E646: X509_LOOKUP_ctrl (x509_lu.c:123)
==415== by 0x24DB27: X509_STORE_load_locations (x509_d2.c:91)
==415== by 0x1D1AAB: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==415== by 0x1A243E: ossl_connect_step1 (openssl.c:2599)
==415== by 0x1A4E53: ossl_connect_common (openssl.c:3549)
==415== by 0x1A50CF: Curl_ossl_connect_nonblocking (openssl.c:3635)
==415== by 0x154BF4: Curl_ssl_connect_nonblocking (vtls.c:275)
==415==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (415 out of 1250, remaining: 23:05, took 1.1s, duration: 11:28)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (416 out of 1250, remaining: 23:03, took 1.1s, duration: 11:29)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (417 out of 1250, remaining: 23:00, took 1.0s, duration: 11:30)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (418 out of 1250, remaining: 22:59, took 2.1s, duration: 11:33)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (419 out of 1250, remaining: 22:58, took 2.1s, duration: 11:35)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (420 out of 1250, remaining: 22:55, took 1.0s, duration: 11:36)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (421 out of 1250, remaining: 22:56, took 3.1s, duration: 11:39)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (422 out of 1250, remaining: 22:54, took 1.1s, duration: 11:40)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (423 out of 1250, remaining: 22:51, took 1.1s, duration: 11:41)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (424 out of 1250, remaining: 22:48, took 1.1s, duration: 11:42)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (425 out of 1250, remaining: 22:45, took 1.1s, duration: 11:43)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (426 out of 1250, remaining: 22:42, took 1.1s, duration: 11:44)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (427 out of 1250, remaining: 22:40, took 1.1s, duration: 11:45)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (428 out of 1250, remaining: 22:38, took 1.9s, duration: 11:47)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (429 out of 1250, remaining: 22:38, took 2.3s, duration: 11:49)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (430 out of 1250, remaining: 22:36, took 1.4s, duration: 11:51)
test 0577...[Funny RTSP version in response]
--p----emv- OK (431 out of 1250, remaining: 22:33, took 1.0s, duration: 11:52)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (432 out of 1250, remaining: 22:30, took 1.1s, duration: 11:53)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (433 out of 1250, remaining: 22:30, took 2.1s, duration: 11:55)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (434 out of 1250, remaining: 22:27, took 1.0s, duration: 11:56)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (435 out of 1250, remaining: 22:24, took 1.0s, duration: 11:57)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
--pd---emv- OK (438 out of 1250, remaining: 22:12, took 1.1s, duration: 11:58)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (439 out of 1250, remaining: 22:09, took 1.1s, duration: 11:59)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (440 out of 1250, remaining: 22:07, took 1.1s, duration: 12:00)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (441 out of 1250, remaining: 22:04, took 1.1s, duration: 12:01)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (442 out of 1250, remaining: 22:01, took 1.0s, duration: 12:03)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (443 out of 1250, remaining: 21:59, took 1.2s, duration: 12:04)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (444 out of 1250, remaining: 21:56, took 1.1s, duration: 12:05)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (445 out of 1250, remaining: 21:53, took 1.1s, duration: 12:06)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (446 out of 1250, remaining: 21:54, took 3.0s, duration: 12:09)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (447 out of 1250, remaining: 21:52, took 1.1s, duration: 12:10)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (448 out of 1250, remaining: 21:49, took 1.1s, duration: 12:11)
test 0597...[FTP connect only option]
--p----emv- OK (449 out of 1250, remaining: 21:47, took 1.0s, duration: 12:12)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (450 out of 1250, remaining: 21:44, took 1.1s, duration: 12:13)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (451 out of 1250, remaining: 21:41, took 1.1s, duration: 12:14)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
--pd---emv- OK (495 out of 1250, remaining: 18:42, took 1.2s, duration: 12:15)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (496 out of 1250, remaining: 18:40, took 1.0s, duration: 12:17)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (497 out of 1250, remaining: 18:41, took 3.2s, duration: 12:20)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (498 out of 1250, remaining: 18:42, took 3.3s, duration: 12:23)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (499 out of 1250, remaining: 18:44, took 3.4s, duration: 12:26)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (500 out of 1250, remaining: 18:42, took 1.2s, duration: 12:28)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (501 out of 1250, remaining: 18:40, took 1.3s, duration: 12:29)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (502 out of 1250, remaining: 18:39, took 2.1s, duration: 12:31)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (503 out of 1250, remaining: 18:39, took 2.1s, duration: 12:33)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (504 out of 1250, remaining: 18:37, took 1.1s, duration: 12:34)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (505 out of 1250, remaining: 18:35, took 1.1s, duration: 12:35)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (506 out of 1250, remaining: 18:34, took 2.2s, duration: 12:38)
test 0655...[resolver start callback]
---d---emv- OK (507 out of 1250, remaining: 18:32, took 1.1s, duration: 12:39)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (509 out of 1250, remaining: 18:26, took 1.0s, duration: 12:40)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (510 out of 1250, remaining: 18:24, took 1.1s, duration: 12:41)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (511 out of 1250, remaining: 18:22, took 1.0s, duration: 12:42)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (512 out of 1250, remaining: 18:20, took 1.2s, duration: 12:43)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (513 out of 1250, remaining: 18:18, took 1.2s, duration: 12:44)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (514 out of 1250, remaining: 18:16, took 1.1s, duration: 12:45)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (515 out of 1250, remaining: 18:14, took 1.1s, duration: 12:46)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (516 out of 1250, remaining: 18:12, took 1.1s, duration: 12:48)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (517 out of 1250, remaining: 18:10, took 1.1s, duration: 12:49)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (518 out of 1250, remaining: 18:08, took 1.2s, duration: 12:50)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (519 out of 1250, remaining: 18:06, took 1.3s, duration: 12:51)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (520 out of 1250, remaining: 18:04, took 1.2s, duration: 12:52)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (521 out of 1250, remaining: 18:03, took 1.2s, duration: 12:54)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (522 out of 1250, remaining: 18:01, took 1.2s, duration: 12:55)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (523 out of 1250, remaining: 17:59, took 1.3s, duration: 12:56)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (524 out of 1250, remaining: 17:57, took 1.3s, duration: 12:57)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (525 out of 1250, remaining: 17:56, took 1.3s, duration: 12:59)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (526 out of 1250, remaining: 17:56, took 2.7s, duration: 13:01)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (527 out of 1250, remaining: 17:56, took 2.7s, duration: 13:04)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (528 out of 1250, remaining: 17:54, took 1.1s, duration: 13:05)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (529 out of 1250, remaining: 17:52, took 1.2s, duration: 13:06)
test 0800...[IMAP FETCH message]
--pd---emv- OK (530 out of 1250, remaining: 17:50, took 1.3s, duration: 13:08)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (531 out of 1250, remaining: 17:49, took 1.3s, duration: 13:09)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (532 out of 1250, remaining: 17:47, took 1.3s, duration: 13:10)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (533 out of 1250, remaining: 17:45, took 1.3s, duration: 13:12)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (534 out of 1250, remaining: 17:43, took 1.4s, duration: 13:13)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (535 out of 1250, remaining: 17:42, took 1.3s, duration: 13:14)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (536 out of 1250, remaining: 17:40, took 1.2s, duration: 13:15)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (537 out of 1250, remaining: 17:38, took 1.3s, duration: 13:17)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (538 out of 1250, remaining: 17:36, took 1.2s, duration: 13:18)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1250, remaining: 17:34, took 1.2s, duration: 13:19)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (540 out of 1250, remaining: 17:33, took 1.3s, duration: 13:20)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (541 out of 1250, remaining: 17:31, took 1.2s, duration: 13:22)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1250, remaining: 17:29, took 1.2s, duration: 13:23)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1250, remaining: 17:27, took 1.2s, duration: 13:24)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1250, remaining: 17:25, took 1.3s, duration: 13:25)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1250, remaining: 17:24, took 1.4s, duration: 13:27)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1250, remaining: 17:22, took 1.4s, duration: 13:28)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1250, remaining: 17:20, took 1.2s, duration: 13:29)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (548 out of 1250, remaining: 17:18, took 1.2s, duration: 13:31)
test 0819...[IMAP plain authentication]
--pd---emv- OK (549 out of 1250, remaining: 17:17, took 1.3s, duration: 13:32)
test 0820...[IMAP login authentication]
--pd---emv- OK (550 out of 1250, remaining: 17:15, took 1.3s, duration: 13:33)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (551 out of 1250, remaining: 17:13, took 1.3s, duration: 13:35)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (552 out of 1250, remaining: 17:12, took 1.4s, duration: 13:36)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (553 out of 1250, remaining: 17:10, took 1.3s, duration: 13:37)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (554 out of 1250, remaining: 17:09, took 1.3s, duration: 13:39)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (555 out of 1250, remaining: 17:07, took 1.3s, duration: 13:40)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (556 out of 1250, remaining: 17:05, took 1.3s, duration: 13:41)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (557 out of 1250, remaining: 17:04, took 1.4s, duration: 13:43)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (558 out of 1250, remaining: 17:02, took 1.4s, duration: 13:44)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (559 out of 1250, remaining: 17:00, took 1.2s, duration: 13:45)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (560 out of 1250, remaining: 16:58, took 1.2s, duration: 13:46)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (561 out of 1250, remaining: 16:57, took 1.2s, duration: 13:48)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (562 out of 1250, remaining: 16:55, took 1.2s, duration: 13:49)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (563 out of 1250, remaining: 16:53, took 1.3s, duration: 13:50)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (564 out of 1250, remaining: 16:51, took 1.3s, duration: 13:51)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (565 out of 1250, remaining: 16:50, took 1.3s, duration: 13:53)
test 0837...[IMAP external authentication]
--pd---emv- OK (566 out of 1250, remaining: 16:48, took 1.3s, duration: 13:54)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (567 out of 1250, remaining: 16:46, took 1.3s, duration: 13:55)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (568 out of 1250, remaining: 16:45, took 1.3s, duration: 13:57)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (569 out of 1250, remaining: 16:43, took 1.3s, duration: 13:58)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (570 out of 1250, remaining: 16:42, took 1.3s, duration: 13:59)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (571 out of 1250, remaining: 16:40, took 1.3s, duration: 14:01)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (572 out of 1250, remaining: 16:38, took 1.3s, duration: 14:02)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (573 out of 1250, remaining: 16:36, took 1.2s, duration: 14:03)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (574 out of 1250, remaining: 16:35, took 1.2s, duration: 14:05)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (575 out of 1250, remaining: 16:33, took 1.3s, duration: 14:06)
test 0847...[IMAP FETCH message]
--pd---emv- OK (576 out of 1250, remaining: 16:31, took 1.3s, duration: 14:07)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (577 out of 1250, remaining: 16:30, took 1.3s, duration: 14:08)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (578 out of 1250, remaining: 16:28, took 1.2s, duration: 14:10)
test 0850...[POP3 RETR message]
--pd---emv- OK (579 out of 1250, remaining: 16:28, took 3.3s, duration: 14:13)
test 0851...[POP3 LIST one message]
--p----emv- OK (580 out of 1250, remaining: 16:27, took 1.2s, duration: 14:14)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (581 out of 1250, remaining: 16:25, took 1.2s, duration: 14:15)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (582 out of 1250, remaining: 16:27, took 4.3s, duration: 14:20)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (583 out of 1250, remaining: 16:25, took 1.2s, duration: 14:21)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (584 out of 1250, remaining: 16:23, took 1.2s, duration: 14:22)
test 0856...[POP3 invalid login]
--p----emv- OK (585 out of 1250, remaining: 16:21, took 1.2s, duration: 14:23)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (586 out of 1250, remaining: 16:19, took 1.2s, duration: 14:24)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (587 out of 1250, remaining: 16:18, took 1.2s, duration: 14:25)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1250, remaining: 16:16, took 1.2s, duration: 14:27)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1250, remaining: 16:14, took 1.2s, duration: 14:28)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (590 out of 1250, remaining: 16:12, took 1.3s, duration: 14:29)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1250, remaining: 16:10, took 1.3s, duration: 14:30)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (592 out of 1250, remaining: 16:09, took 1.2s, duration: 14:31)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (593 out of 1250, remaining: 16:07, took 1.2s, duration: 14:33)
test 0865...[POP3 plain authentication]
--pd---emv- OK (594 out of 1250, remaining: 16:05, took 1.3s, duration: 14:34)
test 0866...[POP3 login authentication]
--pd---emv- OK (595 out of 1250, remaining: 16:04, took 1.3s, duration: 14:35)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (596 out of 1250, remaining: 16:02, took 1.3s, duration: 14:36)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (597 out of 1250, remaining: 16:00, took 1.3s, duration: 14:38)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (598 out of 1250, remaining: 15:59, took 1.3s, duration: 14:39)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (599 out of 1250, remaining: 15:57, took 1.3s, duration: 14:40)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (600 out of 1250, remaining: 15:55, took 1.3s, duration: 14:42)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (601 out of 1250, remaining: 15:53, took 1.3s, duration: 14:43)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (602 out of 1250, remaining: 15:52, took 1.4s, duration: 14:44)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (603 out of 1250, remaining: 15:50, took 1.3s, duration: 14:46)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (604 out of 1250, remaining: 15:48, took 1.1s, duration: 14:47)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (605 out of 1250, remaining: 15:47, took 1.2s, duration: 14:48)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (606 out of 1250, remaining: 15:45, took 1.2s, duration: 14:49)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (607 out of 1250, remaining: 15:43, took 1.2s, duration: 14:50)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (608 out of 1250, remaining: 15:41, took 1.3s, duration: 14:52)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (609 out of 1250, remaining: 15:40, took 1.3s, duration: 14:53)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (610 out of 1250, remaining: 15:38, took 1.3s, duration: 14:54)
test 0883...[POP3 external authentication]
--pd---emv- OK (611 out of 1250, remaining: 15:36, took 1.3s, duration: 14:55)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (612 out of 1250, remaining: 15:35, took 1.3s, duration: 14:57)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (613 out of 1250, remaining: 15:33, took 1.3s, duration: 14:58)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (614 out of 1250, remaining: 15:31, took 1.3s, duration: 14:59)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (615 out of 1250, remaining: 15:30, took 1.3s, duration: 15:00)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (616 out of 1250, remaining: 15:28, took 1.3s, duration: 15:02)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (617 out of 1250, remaining: 15:26, took 1.2s, duration: 15:03)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (618 out of 1250, remaining: 15:25, took 1.2s, duration: 15:04)
test 0891...[POP3 with short authentication response]
--p----emv- OK (619 out of 1250, remaining: 15:23, took 1.2s, duration: 15:05)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (620 out of 1250, remaining: 15:21, took 1.3s, duration: 15:07)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (621 out of 1250, remaining: 15:19, took 1.2s, duration: 15:08)
test 0900...[SMTP]
--p-u--emv- OK (622 out of 1250, remaining: 15:18, took 1.2s, duration: 15:09)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (623 out of 1250, remaining: 15:16, took 1.2s, duration: 15:10)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (624 out of 1250, remaining: 15:14, took 1.2s, duration: 15:11)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (625 out of 1250, remaining: 15:13, took 1.2s, duration: 15:13)
test 0904...[SMTP login authentication]
--p-u--emv- OK (626 out of 1250, remaining: 15:11, took 1.3s, duration: 15:14)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (627 out of 1250, remaining: 15:09, took 1.3s, duration: 15:15)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (628 out of 1250, remaining: 15:08, took 1.3s, duration: 15:16)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (629 out of 1250, remaining: 15:06, took 1.3s, duration: 15:18)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (630 out of 1250, remaining: 15:04, took 1.2s, duration: 15:19)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (631 out of 1250, remaining: 15:03, took 1.2s, duration: 15:20)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (632 out of 1250, remaining: 15:01, took 1.2s, duration: 15:21)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (633 out of 1250, remaining: 14:59, took 1.2s, duration: 15:22)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (634 out of 1250, remaining: 14:57, took 1.2s, duration: 15:24)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (635 out of 1250, remaining: 14:56, took 1.2s, duration: 15:25)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (636 out of 1250, remaining: 14:54, took 1.2s, duration: 15:26)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (637 out of 1250, remaining: 14:52, took 1.2s, duration: 15:27)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (638 out of 1250, remaining: 14:51, took 1.2s, duration: 15:28)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (639 out of 1250, remaining: 14:49, took 1.2s, duration: 15:30)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (640 out of 1250, remaining: 14:47, took 1.2s, duration: 15:31)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (641 out of 1250, remaining: 14:45, took 1.2s, duration: 15:32)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (642 out of 1250, remaining: 14:44, took 1.2s, duration: 15:33)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (643 out of 1250, remaining: 14:42, took 1.3s, duration: 15:35)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (644 out of 1250, remaining: 14:41, took 1.2s, duration: 15:36)
test 0923...[SMTP VRFY]
--pd---emv- OK (645 out of 1250, remaining: 14:39, took 1.2s, duration: 15:37)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (646 out of 1250, remaining: 14:37, took 1.2s, duration: 15:38)
test 0925...[SMTP external VRFY]
--pd---emv- OK (647 out of 1250, remaining: 14:35, took 1.2s, duration: 15:39)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (648 out of 1250, remaining: 14:34, took 1.2s, duration: 15:40)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (649 out of 1250, remaining: 14:32, took 1.2s, duration: 15:42)
test 0928...[SMTP HELP]
--pd---emv- OK (650 out of 1250, remaining: 14:30, took 1.2s, duration: 15:43)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (651 out of 1250, remaining: 14:29, took 1.2s, duration: 15:44)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1250, remaining: 14:27, took 1.2s, duration: 15:45)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (653 out of 1250, remaining: 14:25, took 1.1s, duration: 15:46)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (654 out of 1250, remaining: 14:23, took 1.2s, duration: 15:48)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (655 out of 1250, remaining: 14:22, took 1.2s, duration: 15:49)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (656 out of 1250, remaining: 14:20, took 1.2s, duration: 15:50)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (657 out of 1250, remaining: 14:18, took 1.2s, duration: 15:51)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1250, remaining: 14:17, took 1.2s, duration: 15:52)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1250, remaining: 14:15, took 1.2s, duration: 15:54)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (660 out of 1250, remaining: 14:13, took 1.2s, duration: 15:55)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (661 out of 1250, remaining: 14:12, took 1.2s, duration: 15:56)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (662 out of 1250, remaining: 14:10, took 1.2s, duration: 15:57)
test 0942...[SMTP external authentication]
--p-u--emv- OK (663 out of 1250, remaining: 14:09, took 1.3s, duration: 15:58)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (664 out of 1250, remaining: 14:07, took 1.2s, duration: 16:00)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (665 out of 1250, remaining: 14:05, took 1.2s, duration: 16:01)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (666 out of 1250, remaining: 14:04, took 1.2s, duration: 16:02)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (667 out of 1250, remaining: 14:02, took 1.2s, duration: 16:03)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (668 out of 1250, remaining: 14:00, took 1.2s, duration: 16:05)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (669 out of 1250, remaining: 13:59, took 1.2s, duration: 16:06)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (670 out of 1250, remaining: 13:57, took 1.2s, duration: 16:07)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (671 out of 1250, remaining: 13:55, took 1.2s, duration: 16:08)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (672 out of 1250, remaining: 13:54, took 1.2s, duration: 16:09)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (673 out of 1250, remaining: 13:52, took 1.2s, duration: 16:11)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (674 out of 1250, remaining: 13:50, took 1.2s, duration: 16:12)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (675 out of 1250, remaining: 13:49, took 1.2s, duration: 16:13)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (676 out of 1250, remaining: 13:47, took 1.2s, duration: 16:14)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (677 out of 1250, remaining: 13:46, took 2.3s, duration: 16:16)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (678 out of 1250, remaining: 13:47, took 3.3s, duration: 16:20)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (679 out of 1250, remaining: 13:45, took 1.3s, duration: 16:21)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (680 out of 1250, remaining: 13:42, took 0.0s, duration: 16:21)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (681 out of 1250, remaining: 13:41, took 1.3s, duration: 16:22)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (682 out of 1250, remaining: 13:39, took 1.3s, duration: 16:24)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (683 out of 1250, remaining: 13:38, took 1.1s, duration: 16:25)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (684 out of 1250, remaining: 13:36, took 1.5s, duration: 16:26)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (685 out of 1250, remaining: 13:34, took 1.2s, duration: 16:28)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (686 out of 1250, remaining: 13:33, took 1.3s, duration: 16:29)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (687 out of 1250, remaining: 13:31, took 1.3s, duration: 16:30)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (688 out of 1250, remaining: 13:30, took 1.3s, duration: 16:31)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (689 out of 1250, remaining: 13:28, took 0.9s, duration: 16:32)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (690 out of 1250, remaining: 13:26, took 0.9s, duration: 16:33)
test 1015...[--data-urlencode]
--pd---emv- OK (691 out of 1250, remaining: 13:24, took 1.2s, duration: 16:34)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (692 out of 1250, remaining: 13:23, took 1.1s, duration: 16:35)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1250, remaining: 13:21, took 1.1s, duration: 16:37)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (694 out of 1250, remaining: 13:19, took 1.1s, duration: 16:38)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (695 out of 1250, remaining: 13:17, took 1.1s, duration: 16:39)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (696 out of 1250, remaining: 13:16, took 1.1s, duration: 16:40)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (697 out of 1250, remaining: 13:14, took 1.3s, duration: 16:41)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (698 out of 1250, remaining: 13:12, took 0.9s, duration: 16:42)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (699 out of 1250, remaining: 13:10, took 0.9s, duration: 16:43)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (700 out of 1250, remaining: 13:09, took 1.3s, duration: 16:44)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (701 out of 1250, remaining: 13:07, took 1.2s, duration: 16:45)
test 1026...[curl --manual ]
-------emv- OK (702 out of 1250, remaining: 13:05, took 0.9s, duration: 16:46)
test 1027...[curl --help]
-------emv- OK (703 out of 1250, remaining: 13:04, took 0.9s, duration: 16:47)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (704 out of 1250, remaining: 13:02, took 1.3s, duration: 16:48)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (705 out of 1250, remaining: 13:00, took 1.2s, duration: 16:50)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (706 out of 1250, remaining: 13:00, took 3.3s, duration: 16:53)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (707 out of 1250, remaining: 12:59, took 1.2s, duration: 16:54)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (708 out of 1250, remaining: 12:57, took 1.2s, duration: 16:55)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (709 out of 1250, remaining: 12:56, took 1.2s, duration: 16:56)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (710 out of 1250, remaining: 12:54, took 1.1s, duration: 16:58)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (711 out of 1250, remaining: 12:52, took 1.2s, duration: 16:59)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (712 out of 1250, remaining: 12:51, took 1.3s, duration: 17:00)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (713 out of 1250, remaining: 12:49, took 1.2s, duration: 17:01)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (714 out of 1250, remaining: 12:47, took 1.3s, duration: 17:03)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (715 out of 1250, remaining: 12:46, took 1.2s, duration: 17:04)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (716 out of 1250, remaining: 12:44, took 1.2s, duration: 17:05)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (717 out of 1250, remaining: 12:43, took 2.2s, duration: 17:07)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (718 out of 1250, remaining: 12:42, took 1.2s, duration: 17:08)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (719 out of 1250, remaining: 12:40, took 1.2s, duration: 17:09)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (720 out of 1250, remaining: 12:39, took 1.2s, duration: 17:11)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (721 out of 1250, remaining: 12:37, took 1.2s, duration: 17:12)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1250, remaining: 12:35, took 1.2s, duration: 17:13)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (723 out of 1250, remaining: 12:34, took 1.2s, duration: 17:14)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1250, remaining: 12:32, took 1.2s, duration: 17:16)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (725 out of 1250, remaining: 12:31, took 1.1s, duration: 17:17)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (726 out of 1250, remaining: 12:29, took 1.2s, duration: 17:18)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (727 out of 1250, remaining: 12:29, took 3.2s, duration: 17:21)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (728 out of 1250, remaining: 12:27, took 1.2s, duration: 17:22)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (729 out of 1250, remaining: 12:26, took 1.3s, duration: 17:24)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (730 out of 1250, remaining: 12:24, took 1.3s, duration: 17:25)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (731 out of 1250, remaining: 12:23, took 2.3s, duration: 17:27)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (732 out of 1250, remaining: 12:22, took 1.3s, duration: 17:29)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (733 out of 1250, remaining: 12:20, took 1.2s, duration: 17:30)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (734 out of 1250, remaining: 12:19, took 1.2s, duration: 17:31)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (735 out of 1250, remaining: 12:17, took 1.2s, duration: 17:32)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (736 out of 1250, remaining: 12:17, took 3.5s, duration: 17:36)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (737 out of 1250, remaining: 12:17, took 3.6s, duration: 17:39)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (738 out of 1250, remaining: 12:16, took 1.3s, duration: 17:41)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (739 out of 1250, remaining: 12:14, took 1.1s, duration: 17:42)
test 1064...[HTTP PUT twice]
s-p----emv- OK (740 out of 1250, remaining: 12:12, took 1.2s, duration: 17:43)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (741 out of 1250, remaining: 12:11, took 1.3s, duration: 17:44)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (742 out of 1250, remaining: 12:09, took 1.2s, duration: 17:45)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (743 out of 1250, remaining: 12:08, took 1.2s, duration: 17:47)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (744 out of 1250, remaining: 12:07, took 2.2s, duration: 17:49)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (745 out of 1250, remaining: 12:05, took 1.1s, duration: 17:50)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (746 out of 1250, remaining: 12:04, took 2.2s, duration: 17:52)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (747 out of 1250, remaining: 12:03, took 2.3s, duration: 17:54)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (748 out of 1250, remaining: 12:02, took 2.2s, duration: 17:57)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (749 out of 1250, remaining: 12:01, took 2.2s, duration: 17:59)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (750 out of 1250, remaining: 12:01, took 3.2s, duration: 18:02)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (751 out of 1250, remaining: 12:01, took 3.2s, duration: 18:05)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (752 out of 1250, remaining: 11:59, took 1.3s, duration: 18:07)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (753 out of 1250, remaining: 11:58, took 1.2s, duration: 18:08)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (754 out of 1250, remaining: 11:57, took 1.7s, duration: 18:09)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (755 out of 1250, remaining: 11:55, took 1.3s, duration: 18:11)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (756 out of 1250, remaining: 11:53, took 1.2s, duration: 18:12)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (757 out of 1250, remaining: 11:52, took 1.2s, duration: 18:13)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (758 out of 1250, remaining: 11:50, took 1.2s, duration: 18:14)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (759 out of 1250, remaining: 11:49, took 1.2s, duration: 18:16)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (760 out of 1250, remaining: 11:47, took 1.1s, duration: 18:17)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (761 out of 1250, remaining: 11:45, took 1.1s, duration: 18:18)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (762 out of 1250, remaining: 11:52, took 14.1s, duration: 18:32)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (763 out of 1250, remaining: 11:50, took 1.3s, duration: 18:33)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (764 out of 1250, remaining: 11:49, took 1.3s, duration: 18:35)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (765 out of 1250, remaining: 11:47, took 1.2s, duration: 18:36)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (766 out of 1250, remaining: 11:46, took 1.2s, duration: 18:37)
test 1091...[FTP URL with type=i]
--pd---emv- OK (767 out of 1250, remaining: 11:45, took 3.3s, duration: 18:40)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (768 out of 1250, remaining: 11:44, took 1.2s, duration: 18:42)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (769 out of 1250, remaining: 11:42, took 1.1s, duration: 18:43)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (770 out of 1250, remaining: 11:40, took 1.2s, duration: 18:44)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (771 out of 1250, remaining: 11:39, took 1.3s, duration: 18:45)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (772 out of 1250, remaining: 11:37, took 1.2s, duration: 18:46)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (773 out of 1250, remaining: 11:36, took 1.2s, duration: 18:48)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (774 out of 1250, remaining: 11:34, took 1.2s, duration: 18:49)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (775 out of 1250, remaining: 11:32, took 1.2s, duration: 18:50)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (776 out of 1250, remaining: 11:31, took 1.3s, duration: 18:51)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (777 out of 1250, remaining: 11:29, took 1.2s, duration: 18:52)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (778 out of 1250, remaining: 11:28, took 1.2s, duration: 18:54)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (779 out of 1250, remaining: 11:26, took 1.2s, duration: 18:55)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (780 out of 1250, remaining: 11:24, took 1.2s, duration: 18:56)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (781 out of 1250, remaining: 11:23, took 1.2s, duration: 18:57)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (782 out of 1250, remaining: 11:21, took 1.2s, duration: 18:59)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (783 out of 1250, remaining: 11:20, took 1.2s, duration: 19:00)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (784 out of 1250, remaining: 11:18, took 1.2s, duration: 19:01)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (785 out of 1250, remaining: 11:16, took 1.2s, duration: 19:02)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (786 out of 1250, remaining: 11:15, took 1.2s, duration: 19:03)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (787 out of 1250, remaining: 11:13, took 1.2s, duration: 19:04)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==1980== Invalid read of size 8
==1980== at 0x53315A5: check_free (dlerror.c:188)
==1980== by 0x5331AB1: free_key_mem (dlerror.c:221)
==1980== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==1980== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==1980== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==1980== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==1980== by 0x4D60EB9: exit (exit.c:139)
==1980== by 0x4D4B0A1: (below main) (libc-start.c:342)
==1980== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
==1980== Invalid free() / delete / delete[] / realloc()
==1980== at 0x48369AB: free (vg_replace_malloc.c:540)
==1980== by 0x5331AB9: free_key_mem (dlerror.c:223)
==1980== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==1980== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==1980== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==1980== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==1980== by 0x4D60EB9: exit (exit.c:139)
==1980== by 0x4D4B0A1: (below main) (libc-start.c:342)
==1980== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
==1980== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
== Contents of files in the log/ dir after test 1112
=== Start of file curl1112.out
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that couldn't possibly be sent in the time allotted.
Long chunk of data that
=== End of file curl1112.out
=== Start of file ftp_server.log
03:10:39.701415 ====> Client connect
03:10:39.701534 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:39.702167 < "USER anonymous"
03:10:39.702212 > "331 We are happy you popped in![CR][LF]"
03:10:39.702611 < "PASS ftp@example.com"
03:10:39.702658 > "230 Welcome you silly person[CR][LF]"
03:10:39.702970 < "PBSZ 0"
03:10:39.703011 > "500 PBSZ not implemented[CR][LF]"
03:10:39.703383 < "PROT C"
03:10:39.703419 > "500 PROT not implemented[CR][LF]"
03:10:39.703779 < "PWD"
03:10:39.703817 > "257 "/" is current directory[CR][LF]"
03:10:39.704161 < "EPSV"
03:10:39.704194 ====> Passive DATA channel requested by client
03:10:39.704211 DATA sockfilt for passive data channel starting...
03:10:39.706701 DATA sockfilt for passive data channel started (pid 1977)
03:10:39.706839 DATA sockfilt for passive data channel listens on port 43125
03:10:39.706882 > "229 Entering Passive Mode (|||43125|)[LF]"
03:10:39.706902 Client has been notified that DATA conn will be accepted on port 43125
03:10:39.707224 Client connects to port 43125
03:10:39.707246 ====> Client established passive DATA connection on port 43125
03:10:39.707401 < "TYPE I"
03:10:39.707444 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:39.707868 < "SIZE verifiedserver"
03:10:39.707918 > "213 16[CR][LF]"
03:10:39.708317 < "RETR verifiedserver"
03:10:39.708360 > "150 Binary junk (16 bytes).[CR][LF]"
03:10:39.708435 =====> Closing passive DATA connection...
03:10:39.708455 Server disconnects passive DATA connection
03:10:39.708583 DATA sockfilt for passive data channel quits (pid 1978)
03:10:39.708599 =====> Closed passive DATA connection
03:10:39.708618 > "226 File transfer complete[CR][LF]"
03:10:39.752139 < "QUIT"
03:10:39.752216 > "221 bye bye baby[CR][LF]"
03:10:39.752679 MAIN sockfilt said DISC
03:10:39.752769 ====> Client disconnected
03:10:39.752856 Awaiting input
03:10:43.769490 ====> Client connect
03:10:43.769570 FTPD: Getting commands from log/ftpserver.cmd
03:10:43.769596 FTPD: send response with 0.01 sec delay between each byte
03:10:43.769664 FTPD: set custom reply for USER command
03:10:43.769702 FTPD: set custom reply for PASS command
03:10:43.769735 FTPD: set custom reply for PWD command
03:10:43.769776 FTPD: set custom reply for TYPE command
03:10:45.384777 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:45.391792 < "USER anonymous"
03:10:45.472562 > "331 OK[CR][LF]"
03:10:45.472759 < "PASS ftp@example.com"
03:10:45.553586 > "230 OK[CR][LF]"
03:10:45.553784 < "PBSZ 0"
03:10:45.816248 > "500 PBSZ not implemented[CR][LF]"
03:10:45.816493 < "PROT C"
03:10:46.078801 > "500 PROT not implemented[CR][LF]"
03:10:46.079042 < "PWD"
03:10:46.169948 > "257 "/"[CR][LF]"
03:10:46.173788 < "EPSV"
03:10:46.173831 ====> Passive DATA channel requested by client
03:10:46.173852 DATA sockfilt for passive data channel starting...
03:10:46.175375 DATA sockfilt for passive data channel started (pid 1982)
03:10:46.175495 DATA sockfilt for passive data channel listens on port 44035
03:10:46.559062 > "229 Entering Passive Mode (|||44035|)[LF]"
03:10:46.559124 Client has been notified that DATA conn will be accepted on port 44035
03:10:46.562552 Client connects to port 44035
03:10:46.562610 ====> Client established passive DATA connection on port 44035
03:10:46.570342 < "TYPE I"
03:10:46.651107 > "200 OK[CR][LF]"
03:10:46.651362 < "SIZE 1112"
03:10:46.752987 > "213 3600[CR][LF]"
03:10:46.753236 < "RETR 1112"
03:10:47.298573 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:39.802115 ====> Client connect
03:10:39.802372 Received DATA (on stdin)
03:10:39.802415 > 160 bytes data, server => client
03:10:39.802442 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:39.802462 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:39.802497 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:39.802836 < 16 bytes data, client => server
03:10:39.802871 'USER anonymous\r\n'
03:10:39.803041 Received DATA (on stdin)
03:10:39.803074 > 33 bytes data, server => client
03:10:39.803097 '331 We are happy you popped in!\r\n'
03:10:39.803346 < 22 bytes data, client => server
03:10:39.803378 'PASS ftp@example.com\r\n'
03:10:39.803478 Received DATA (on stdin)
03:10:39.803498 > 30 bytes data, server => client
03:10:39.803530 '230 Welcome you silly person\r\n'
03:10:39.803713 < 8 bytes data, client => server
03:10:39.803735 'PBSZ 0\r\n'
03:10:39.803841 Received DATA (on stdin)
03:10:39.803886 > 26 bytes data, server => client
03:10:39.803911 '500 PBSZ not implemented\r\n'
03:10:39.804139 < 8 bytes data, client => server
03:10:39.804168 'PROT C\r\n'
03:10:39.804251 Received DATA (on stdin)
03:10:39.804295 > 26 bytes data, server => client
03:10:39.804321 '500 PROT not implemented\r\n'
03:10:39.804531 < 5 bytes data, client => server
03:10:39.804554 'PWD\r\n'
03:10:39.804638 Received DATA (on stdin)
03:10:39.804657 > 30 bytes data, server => client
03:10:39.804690 '257 "/" is current directory\r\n'
03:10:39.804926 < 6 bytes data, client => server
03:10:39.804943 'EPSV\r\n'
03:10:39.807700 Received DATA (on stdin)
03:10:39.807722 > 38 bytes data, server => client
03:10:39.807744 '229 Entering Passive Mode (|||43125|)\n'
03:10:39.808134 < 8 bytes data, client => server
03:10:39.808179 'TYPE I\r\n'
03:10:39.808264 Received DATA (on stdin)
03:10:39.808283 > 33 bytes data, server => client
03:10:39.808315 '200 I modify TYPE as you wanted\r\n'
03:10:39.808632 < 21 bytes data, client => server
03:10:39.808655 'SIZE verifiedserver\r\n'
03:10:39.808739 Received DATA (on stdin)
03:10:39.808758 > 8 bytes data, server => client
03:10:39.808787 '213 16\r\n'
03:10:39.809080 < 21 bytes data, client => server
03:10:39.809102 'RETR verifiedserver\r\n'
03:10:39.809182 Received DATA (on stdin)
03:10:39.809201 > 29 bytes data, server => client
03:10:39.809221 '150 Binary junk (16 bytes).\r\n'
03:10:39.809427 Received DATA (on stdin)
03:10:39.809443 > 28 bytes data, server => client
03:10:39.809460 '226 File transfer complete\r\n'
03:10:39.852783 < 6 bytes data, client => server
03:10:39.852842 'QUIT\r\n'
03:10:39.853046 Received DATA (on stdin)
03:10:39.853105 > 18 bytes data, server => client
03:10:39.853135 '221 bye bye baby\r\n'
03:10:39.853384 ====> Client disconnect
03:10:43.870237 ====> Client connect
03:10:43.870637 Received DATA (on stdin)
03:10:43.870654 > 1 bytes data, server => client
03:10:43.870663 '2'
03:10:43.880729 Received DATA (on stdin)
03:10:43.880755 > 1 bytes data, server => client
03:10:43.880769 '2'
03:10:43.890790 Received DATA (on stdin)
03:10:43.890815 > 1 bytes data, server => client
03:10:43.890828 '0'
03:10:43.900854 Received DATA (on stdin)
03:10:43.900879 > 1 bytes data, server => client
03:10:43.900892 '-'
03:10:43.910918 Received DATA (on stdin)
03:10:43.910943 > 1 bytes data, server => client
03:10:43.910956 ' '
03:10:43.920982 Received DATA (on stdin)
03:10:43.921008 > 1 bytes data, server => client
03:10:43.921021 ' '
03:10:43.931043 Received DATA (on stdin)
03:10:43.931067 > 1 bytes data, server => client
03:10:43.931080 ' '
03:10:43.941106 Received DATA (on stdin)
03:10:43.941131 > 1 bytes data, server => client
03:10:43.941144 ' '
03:10:43.951208 Received DATA (on stdin)
03:10:43.951242 > 1 bytes data, server => client
03:10:43.951261 ' '
03:10:43.961317 Received DATA (on stdin)
03:10:43.961372 > 1 bytes data, server => client
03:10:43.961388 ' '
03:10:43.971411 Received DATA (on stdin)
03:10:43.971470 > 1 bytes data, server => client
03:10:43.971493 ' '
03:10:43.981493 Received DATA (on stdin)
03:10:43.981546 > 1 bytes data, server => client
03:10:43.981564 ' '
03:10:43.991615 Received DATA (on stdin)
03:10:43.991670 > 1 bytes data, server => client
03:10:43.991694 '_'
03:10:44.001667 Received DATA (on stdin)
03:10:44.001721 > 1 bytes data, server => client
03:10:44.001745 ' '
03:10:44.011756 Received DATA (on stdin)
03:10:44.011828 > 1 bytes data, server => client
03:10:44.011854 ' '
03:10:44.021851 Received DATA (on stdin)
03:10:44.021914 > 1 bytes data, server => client
03:10:44.021944 ' '
03:10:44.031934 Received DATA (on stdin)
03:10:44.031975 > 1 bytes data, server => client
03:10:44.031997 '_'
03:10:44.042029 Received DATA (on stdin)
03:10:44.042082 > 1 bytes data, server => client
03:10:44.042107 ' '
03:10:44.052143 Received DATA (on stdin)
03:10:44.052205 > 1 bytes data, server => client
03:10:44.052232 '_'
03:10:44.062237 Received DATA (on stdin)
03:10:44.062297 > 1 bytes data, server => client
03:10:44.062324 '_'
03:10:44.072328 Received DATA (on stdin)
03:10:44.072387 > 1 bytes data, server => client
03:10:44.072415 '_'
03:10:44.082421 Received DATA (on stdin)
03:10:44.082480 > 1 bytes data, server => client
03:10:44.082507 '_'
03:10:44.092513 Received DATA (on stdin)
03:10:44.092571 > 1 bytes data, server => client
03:10:44.092598 ' '
03:10:44.102603 Received DATA (on stdin)
03:10:44.102665 > 1 bytes data, server => client
03:10:44.102692 ' '
03:10:44.112697 Received DATA (on stdin)
03:10:44.112758 > 1 bytes data, server => client
03:10:44.112785 '_'
03:10:44.122787 Received DATA (on stdin)
03:10:44.122848 > 1 bytes data, server => client
03:10:44.122876 ' '
03:10:44.132882 Received DATA (on stdin)
03:10:44.132941 > 1 bytes data, server => client
03:10:44.132968 ' '
03:10:44.142974 Received DATA (on stdin)
03:10:44.143052 > 1 bytes data, server => client
03:10:44.143080 ' '
03:10:44.153067 Received DATA (on stdin)
03:10:44.153126 > 1 bytes data, server => client
03:10:44.153153 ' '
03:10:44.163160 Received DATA (on stdin)
03:10:44.163219 > 1 bytes data, server => client
03:10:44.163246 ' '
03:10:44.173243 Received DATA (on stdin)
03:10:44.173303 > 1 bytes data, server => client
03:10:44.173330 '\r'
03:10:44.183332 Received DATA (on stdin)
03:10:44.183391 > 1 bytes data, server => client
03:10:44.183417 '\n'
03:10:44.193421 Received DATA (on stdin)
03:10:44.193491 > 1 bytes data, server => client
03:10:44.193518 '2'
03:10:44.203513 Received DATA (on stdin)
03:10:44.203579 > 1 bytes data, server => client
03:10:44.203608 '2'
03:10:44.213618 Received DATA (on stdin)
03:10:44.213685 > 1 bytes data, server => client
03:10:44.213712 '0'
03:10:44.223721 Received DATA (on stdin)
03:10:44.223834 > 1 bytes data, server => client
03:10:44.223862 '-'
03:10:44.233792 Received DATA (on stdin)
03:10:44.233846 > 1 bytes data, server => client
03:10:44.233877 ' '
03:10:44.243901 Received DATA (on stdin)
03:10:44.243961 > 1 bytes data, server => client
03:10:44.243988 ' '
03:10:44.253968 Received DATA (on stdin)
03:10:44.254021 > 1 bytes data, server => client
03:10:44.254046 ' '
03:10:44.264051 Received DATA (on stdin)
03:10:44.264105 > 1 bytes data, server => client
03:10:44.264129 ' '
03:10:44.274138 Received DATA (on stdin)
03:10:44.274176 > 1 bytes data, server => client
03:10:44.274198 '_'
03:10:44.284224 Received DATA (on stdin)
03:10:44.284262 > 1 bytes data, server => client
03:10:44.284284 '_'
03:10:44.294318 Received DATA (on stdin)
03:10:44.294362 > 1 bytes data, server => client
03:10:44.294391 '_'
03:10:44.304407 Received DATA (on stdin)
03:10:44.304446 > 1 bytes data, server => client
03:10:44.304468 '|'
03:10:44.314501 Received DATA (on stdin)
03:10:44.314537 > 1 bytes data, server => client
03:10:44.314559 ' '
03:10:44.324594 Received DATA (on stdin)
03:10:44.324632 > 1 bytes data, server => client
03:10:44.324654 '|'
03:10:44.334685 Received DATA (on stdin)
03:10:44.334725 > 1 bytes data, server => client
03:10:44.334752 ' '
03:10:44.344780 Received DATA (on stdin)
03:10:44.344834 > 1 bytes data, server => client
03:10:44.344859 '|'
03:10:44.354868 Received DATA (on stdin)
03:10:44.354912 > 1 bytes data, server => client
03:10:44.354936 ' '
03:10:44.364959 Received DATA (on stdin)
03:10:44.365014 > 1 bytes data, server => client
03:10:44.365048 '|'
03:10:44.375050 Received DATA (on stdin)
03:10:44.375087 > 1 bytes data, server => client
03:10:44.375109 ' '
03:10:44.385145 Received DATA (on stdin)
03:10:44.385198 > 1 bytes data, server => client
03:10:44.385222 ' '
03:10:44.395234 Received DATA (on stdin)
03:10:44.395273 > 1 bytes data, server => client
03:10:44.395296 '_'
03:10:44.405326 Received DATA (on stdin)
03:10:44.405384 > 1 bytes data, server => client
03:10:44.405409 ' '
03:10:44.415415 Received DATA (on stdin)
03:10:44.415459 > 1 bytes data, server => client
03:10:44.415482 '\'
03:10:44.425538 Received DATA (on stdin)
03:10:44.425615 > 1 bytes data, server => client
03:10:44.425648 '|'
03:10:44.435603 Received DATA (on stdin)
03:10:44.435658 > 1 bytes data, server => client
03:10:44.435682 ' '
03:10:44.445718 Received DATA (on stdin)
03:10:44.445781 > 1 bytes data, server => client
03:10:44.445808 '|'
03:10:44.455814 Received DATA (on stdin)
03:10:44.455878 > 1 bytes data, server => client
03:10:44.455903 ' '
03:10:44.465901 Received DATA (on stdin)
03:10:44.465955 > 1 bytes data, server => client
03:10:44.465979 ' '
03:10:44.475987 Received DATA (on stdin)
03:10:44.476036 > 1 bytes data, server => client
03:10:44.476060 ' '
03:10:44.486069 Received DATA (on stdin)
03:10:44.486108 > 1 bytes data, server => client
03:10:44.486140 ' '
03:10:44.496181 Received DATA (on stdin)
03:10:44.496240 > 1 bytes data, server => client
03:10:44.496267 '\r'
03:10:44.506249 Received DATA (on stdin)
03:10:44.506301 > 1 bytes data, server => client
03:10:44.506326 '\n'
03:10:44.516337 Received DATA (on stdin)
03:10:44.516374 > 1 bytes data, server => client
03:10:44.516395 '2'
03:10:44.526433 Received DATA (on stdin)
03:10:44.526486 > 1 bytes data, server => client
03:10:44.526510 '2'
03:10:44.536527 Received DATA (on stdin)
03:10:44.536584 > 1 bytes data, server => client
03:10:44.536609 '0'
03:10:44.546654 Received DATA (on stdin)
03:10:44.546765 > 1 bytes data, server => client
03:10:44.546791 '-'
03:10:44.556738 Received DATA (on stdin)
03:10:44.556804 > 1 bytes data, server => client
03:10:44.556830 ' '
03:10:44.566840 Received DATA (on stdin)
03:10:44.566907 > 1 bytes data, server => client
03:10:44.566950 ' '
03:10:44.576956 Received DATA (on stdin)
03:10:44.577014 > 1 bytes data, server => client
03:10:44.577041 ' '
03:10:44.587030 Received DATA (on stdin)
03:10:44.587083 > 1 bytes data, server => client
03:10:44.587108 '/'
03:10:44.597118 Received DATA (on stdin)
03:10:44.597177 > 1 bytes data, server => client
03:10:44.597203 ' '
03:10:44.607233 Received DATA (on stdin)
03:10:44.607291 > 1 bytes data, server => client
03:10:44.607318 '_'
03:10:44.617300 Received DATA (on stdin)
03:10:44.617339 > 1 bytes data, server => client
03:10:44.617366 '_'
03:10:44.627393 Received DATA (on stdin)
03:10:44.627446 > 1 bytes data, server => client
03:10:44.627471 '|'
03:10:44.637510 Received DATA (on stdin)
03:10:44.637568 > 1 bytes data, server => client
03:10:44.637595 ' '
03:10:44.647606 Received DATA (on stdin)
03:10:44.647675 > 1 bytes data, server => client
03:10:44.647715 '|'
03:10:44.657685 Received DATA (on stdin)
03:10:44.657743 > 1 bytes data, server => client
03:10:44.657769 ' '
03:10:44.667765 Received DATA (on stdin)
03:10:44.667836 > 1 bytes data, server => client
03:10:44.667861 '|'
03:10:44.677843 Received DATA (on stdin)
03:10:44.677912 > 1 bytes data, server => client
03:10:44.677948 ' '
03:10:44.687946 Received DATA (on stdin)
03:10:44.688004 > 1 bytes data, server => client
03:10:44.688030 '|'
03:10:44.698026 Received DATA (on stdin)
03:10:44.698085 > 1 bytes data, server => client
03:10:44.698111 ' '
03:10:44.708106 Received DATA (on stdin)
03:10:44.708164 > 1 bytes data, server => client
03:10:44.708191 '|'
03:10:44.718197 Received DATA (on stdin)
03:10:44.718256 > 1 bytes data, server => client
03:10:44.718282 '_'
03:10:44.728279 Received DATA (on stdin)
03:10:44.728337 > 1 bytes data, server => client
03:10:44.728364 ')'
03:10:44.738346 Received DATA (on stdin)
03:10:44.738421 > 1 bytes data, server => client
03:10:44.738449 ' '
03:10:44.748438 Received DATA (on stdin)
03:10:44.748497 > 1 bytes data, server => client
03:10:44.748524 '|'
03:10:44.758523 Received DATA (on stdin)
03:10:44.758581 > 1 bytes data, server => client
03:10:44.758608 ' '
03:10:44.768615 Received DATA (on stdin)
03:10:44.768673 > 1 bytes data, server => client
03:10:44.768700 '|'
03:10:44.778687 Received DATA (on stdin)
03:10:44.778743 > 1 bytes data, server => client
03:10:44.778773 ' '
03:10:44.788803 Received DATA (on stdin)
03:10:44.788862 > 1 bytes data, server => client
03:10:44.788888 ' '
03:10:44.798896 Received DATA (on stdin)
03:10:44.798958 > 1 bytes data, server => client
03:10:44.798985 ' '
03:10:44.808993 Received DATA (on stdin)
03:10:44.809058 > 1 bytes data, server => client
03:10:44.809084 ' '
03:10:44.819062 Received DATA (on stdin)
03:10:44.819117 > 1 bytes data, server => client
03:10:44.819142 '\r'
03:10:44.829175 Received DATA (on stdin)
03:10:44.829233 > 1 bytes data, server => client
03:10:44.829260 '\n'
03:10:44.839266 Received DATA (on stdin)
03:10:44.839324 > 1 bytes data, server => client
03:10:44.839351 '2'
03:10:44.849358 Received DATA (on stdin)
03:10:44.849416 > 1 bytes data, server => client
03:10:44.849443 '2'
03:10:44.859450 Received DATA (on stdin)
03:10:44.859508 > 1 bytes data, server => client
03:10:44.859535 '0'
03:10:44.869543 Received DATA (on stdin)
03:10:44.869601 > 1 bytes data, server => client
03:10:44.869628 '-'
03:10:44.879634 Received DATA (on stdin)
03:10:44.879694 > 1 bytes data, server => client
03:10:44.879721 ' '
03:10:44.889728 Received DATA (on stdin)
03:10:44.889786 > 1 bytes data, server => client
03:10:44.889813 ' '
03:10:44.899814 Received DATA (on stdin)
03:10:44.899879 > 1 bytes data, server => client
03:10:44.899913 '|'
03:10:44.909894 Received DATA (on stdin)
03:10:44.909947 > 1 bytes data, server => client
03:10:44.909971 ' '
03:10:44.919989 Received DATA (on stdin)
03:10:44.920034 > 1 bytes data, server => client
03:10:44.920057 '('
03:10:44.930080 Received DATA (on stdin)
03:10:44.930121 > 1 bytes data, server => client
03:10:44.930150 '_'
03:10:44.940168 Received DATA (on stdin)
03:10:44.940221 > 1 bytes data, server => client
03:10:44.940245 '_'
03:10:44.950299 Received DATA (on stdin)
03:10:44.950362 > 1 bytes data, server => client
03:10:44.950388 '|'
03:10:44.960365 Received DATA (on stdin)
03:10:44.960424 > 1 bytes data, server => client
03:10:44.960451 ' '
03:10:44.970454 Received DATA (on stdin)
03:10:44.970488 > 1 bytes data, server => client
03:10:44.970510 '|'
03:10:44.980567 Received DATA (on stdin)
03:10:44.980625 > 1 bytes data, server => client
03:10:44.980649 '_'
03:10:44.990658 Received DATA (on stdin)
03:10:44.990718 > 1 bytes data, server => client
03:10:44.990745 '|'
03:10:45.000745 Received DATA (on stdin)
03:10:45.000807 > 1 bytes data, server => client
03:10:45.000834 ' '
03:10:45.010897 Received DATA (on stdin)
03:10:45.010989 > 1 bytes data, server => client
03:10:45.011014 '|'
03:10:45.020914 Received DATA (on stdin)
03:10:45.020980 > 1 bytes data, server => client
03:10:45.021025 ' '
03:10:45.031058 Received DATA (on stdin)
03:10:45.031125 > 1 bytes data, server => client
03:10:45.031159 ' '
03:10:45.041141 Received DATA (on stdin)
03:10:45.041200 > 1 bytes data, server => client
03:10:45.041227 '_'
03:10:45.051234 Received DATA (on stdin)
03:10:45.051294 > 1 bytes data, server => client
03:10:45.051321 ' '
03:10:45.061342 Received DATA (on stdin)
03:10:45.061401 > 1 bytes data, server => client
03:10:45.061427 '{'
03:10:45.071420 Received DATA (on stdin)
03:10:45.071478 > 1 bytes data, server => client
03:10:45.071505 '|'
03:10:45.081509 Received DATA (on stdin)
03:10:45.081569 > 1 bytes data, server => client
03:10:45.081595 ' '
03:10:45.091601 Received DATA (on stdin)
03:10:45.091661 > 1 bytes data, server => client
03:10:45.091688 '|'
03:10:45.101664 Received DATA (on stdin)
03:10:45.101718 > 1 bytes data, server => client
03:10:45.101743 '_'
03:10:45.111753 Received DATA (on stdin)
03:10:45.111809 > 1 bytes data, server => client
03:10:45.111859 '_'
03:10:45.121849 Received DATA (on stdin)
03:10:45.121914 > 1 bytes data, server => client
03:10:45.121946 '_'
03:10:45.131959 Received DATA (on stdin)
03:10:45.132019 > 1 bytes data, server => client
03:10:45.132046 ' '
03:10:45.142044 Received DATA (on stdin)
03:10:45.142105 > 1 bytes data, server => client
03:10:45.142131 '\r'
03:10:45.152132 Received DATA (on stdin)
03:10:45.152193 > 1 bytes data, server => client
03:10:45.152219 '\n'
03:10:45.162223 Received DATA (on stdin)
03:10:45.162285 > 1 bytes data, server => client
03:10:45.162312 '2'
03:10:45.172291 Received DATA (on stdin)
03:10:45.172347 > 1 bytes data, server => client
03:10:45.172381 '2'
03:10:45.182394 Received DATA (on stdin)
03:10:45.182453 > 1 bytes data, server => client
03:10:45.182480 '0'
03:10:45.192472 Received DATA (on stdin)
03:10:45.192533 > 1 bytes data, server => client
03:10:45.192559 ' '
03:10:45.202552 Received DATA (on stdin)
03:10:45.202612 > 1 bytes data, server => client
03:10:45.202638 ' '
03:10:45.212622 Received DATA (on stdin)
03:10:45.212676 > 1 bytes data, server => client
03:10:45.212701 ' '
03:10:45.222709 Received DATA (on stdin)
03:10:45.222763 > 1 bytes data, server => client
03:10:45.222789 ' '
03:10:45.232798 Received DATA (on stdin)
03:10:45.232834 > 1 bytes data, server => client
03:10:45.232856 '\'
03:10:45.242889 Received DATA (on stdin)
03:10:45.242934 > 1 bytes data, server => client
03:10:45.242960 '_'
03:10:45.252981 Received DATA (on stdin)
03:10:45.253026 > 1 bytes data, server => client
03:10:45.253051 '_'
03:10:45.263096 Received DATA (on stdin)
03:10:45.263155 > 1 bytes data, server => client
03:10:45.263182 '_'
03:10:45.273188 Received DATA (on stdin)
03:10:45.273248 > 1 bytes data, server => client
03:10:45.273275 '|'
03:10:45.283279 Received DATA (on stdin)
03:10:45.283340 > 1 bytes data, server => client
03:10:45.283366 '\'
03:10:45.293371 Received DATA (on stdin)
03:10:45.293429 > 1 bytes data, server => client
03:10:45.293456 '_'
03:10:45.303952 Received DATA (on stdin)
03:10:45.304022 > 1 bytes data, server => client
03:10:45.304045 '_'
03:10:45.314065 Received DATA (on stdin)
03:10:45.314125 > 1 bytes data, server => client
03:10:45.314152 '_'
03:10:45.324128 Received DATA (on stdin)
03:10:45.324182 > 1 bytes data, server => client
03:10:45.324226 '/'
03:10:45.334217 Received DATA (on stdin)
03:10:45.334256 > 1 bytes data, server => client
03:10:45.334278 '|'
03:10:45.344328 Received DATA (on stdin)
03:10:45.344388 > 1 bytes data, server => client
03:10:45.344415 '_'
03:10:45.354419 Received DATA (on stdin)
03:10:45.354478 > 1 bytes data, server => client
03:10:45.354505 '|'
03:10:45.364503 Received DATA (on stdin)
03:10:45.364562 > 1 bytes data, server => client
03:10:45.364589 ' '
03:10:45.374579 Received DATA (on stdin)
03:10:45.374638 > 1 bytes data, server => client
03:10:45.374665 '\'
03:10:45.384645 Received DATA (on stdin)
03:10:45.384702 > 1 bytes data, server => client
03:10:45.384736 '_'
03:10:45.394759 Received DATA (on stdin)
03:10:45.394818 > 1 bytes data, server => client
03:10:45.394845 '\'
03:10:45.404830 Received DATA (on stdin)
03:10:45.404886 > 1 bytes data, server => client
03:10:45.404922 '_'
03:10:45.414923 Received DATA (on stdin)
03:10:45.414977 > 1 bytes data, server => client
03:10:45.415002 '_'
03:10:45.425032 Received DATA (on stdin)
03:10:45.425113 > 1 bytes data, server => client
03:10:45.425139 '_'
03:10:45.435146 Received DATA (on stdin)
03:10:45.435239 > 1 bytes data, server => client
03:10:45.435268 '_'
03:10:45.445255 Received DATA (on stdin)
03:10:45.445324 > 1 bytes data, server => client
03:10:45.445360 '_'
03:10:45.455341 Received DATA (on stdin)
03:10:45.455404 > 1 bytes data, server => client
03:10:45.455431 '|'
03:10:45.465440 Received DATA (on stdin)
03:10:45.465499 > 1 bytes data, server => client
03:10:45.465526 '\r'
03:10:45.475514 Received DATA (on stdin)
03:10:45.475573 > 1 bytes data, server => client
03:10:45.475600 '\n'
03:10:45.492476 < 16 bytes data, client => server
03:10:45.492500 'USER anonymous\r\n'
03:10:45.492658 Received DATA (on stdin)
03:10:45.492681 > 1 bytes data, server => client
03:10:45.492695 '3'
03:10:45.502755 Received DATA (on stdin)
03:10:45.502822 > 1 bytes data, server => client
03:10:45.502850 '3'
03:10:45.512858 Received DATA (on stdin)
03:10:45.512918 > 1 bytes data, server => client
03:10:45.512942 '1'
03:10:45.522956 Received DATA (on stdin)
03:10:45.523011 > 1 bytes data, server => client
03:10:45.523036 ' '
03:10:45.533031 Received DATA (on stdin)
03:10:45.533089 > 1 bytes data, server => client
03:10:45.533116 'O'
03:10:45.543095 Received DATA (on stdin)
03:10:45.543149 > 1 bytes data, server => client
03:10:45.543173 'K'
03:10:45.553187 Received DATA (on stdin)
03:10:45.553225 > 1 bytes data, server => client
03:10:45.553247 '\r'
03:10:45.563303 Received DATA (on stdin)
03:10:45.563362 > 1 bytes data, server => client
03:10:45.563389 '\n'
03:10:45.567859 < 22 bytes data, client => server
03:10:45.567918 'PASS ftp@example.com\r\n'
03:10:45.573659 Received DATA (on stdin)
03:10:45.573719 > 1 bytes data, server => client
03:10:45.573745 '2'
03:10:45.583749 Received DATA (on stdin)
03:10:45.583830 > 1 bytes data, server => client
03:10:45.583856 '3'
03:10:45.593841 Received DATA (on stdin)
03:10:45.593899 > 1 bytes data, server => client
03:10:45.593926 '0'
03:10:45.603929 Received DATA (on stdin)
03:10:45.603984 > 1 bytes data, server => client
03:10:45.604015 ' '
03:10:45.614042 Received DATA (on stdin)
03:10:45.614101 > 1 bytes data, server => client
03:10:45.614128 'O'
03:10:45.624130 Received DATA (on stdin)
03:10:45.624190 > 1 bytes data, server => client
03:10:45.624216 'K'
03:10:45.634216 Received DATA (on stdin)
03:10:45.634273 > 1 bytes data, server => client
03:10:45.634300 '\r'
03:10:45.644328 Received DATA (on stdin)
03:10:45.644387 > 1 bytes data, server => client
03:10:45.644414 '\n'
03:10:45.647470 < 8 bytes data, client => server
03:10:45.647525 'PBSZ 0\r\n'
03:10:45.654666 Received DATA (on stdin)
03:10:45.654719 > 1 bytes data, server => client
03:10:45.654744 '5'
03:10:45.664772 Received DATA (on stdin)
03:10:45.664831 > 1 bytes data, server => client
03:10:45.664859 '0'
03:10:45.674861 Received DATA (on stdin)
03:10:45.674919 > 1 bytes data, server => client
03:10:45.674946 '0'
03:10:45.684945 Received DATA (on stdin)
03:10:45.685003 > 1 bytes data, server => client
03:10:45.685030 ' '
03:10:45.695038 Received DATA (on stdin)
03:10:45.695096 > 1 bytes data, server => client
03:10:45.695123 'P'
03:10:45.705130 Received DATA (on stdin)
03:10:45.705190 > 1 bytes data, server => client
03:10:45.705217 'B'
03:10:45.715225 Received DATA (on stdin)
03:10:45.715284 > 1 bytes data, server => client
03:10:45.715311 'S'
03:10:45.725321 Received DATA (on stdin)
03:10:45.725380 > 1 bytes data, server => client
03:10:45.725407 'Z'
03:10:45.735413 Received DATA (on stdin)
03:10:45.735473 > 1 bytes data, server => client
03:10:45.735499 ' '
03:10:45.745483 Received DATA (on stdin)
03:10:45.745541 > 1 bytes data, server => client
03:10:45.745566 'n'
03:10:45.755598 Received DATA (on stdin)
03:10:45.755656 > 1 bytes data, server => client
03:10:45.755683 'o'
03:10:45.765693 Received DATA (on stdin)
03:10:45.765753 > 1 bytes data, server => client
03:10:45.765779 't'
03:10:45.775789 Received DATA (on stdin)
03:10:45.775847 > 1 bytes data, server => client
03:10:45.775873 ' '
03:10:45.785856 Received DATA (on stdin)
03:10:45.785908 > 1 bytes data, server => client
03:10:45.785933 'i'
03:10:45.795966 Received DATA (on stdin)
03:10:45.796024 > 1 bytes data, server => client
03:10:45.796052 'm'
03:10:45.806060 Received DATA (on stdin)
03:10:45.806118 > 1 bytes data, server => client
03:10:45.806145 'p'
03:10:45.816149 Received DATA (on stdin)
03:10:45.816207 > 1 bytes data, server => client
03:10:45.816234 'l'
03:10:45.826242 Received DATA (on stdin)
03:10:45.826300 > 1 bytes data, server => client
03:10:45.826326 'e'
03:10:45.836333 Received DATA (on stdin)
03:10:45.836391 > 1 bytes data, server => client
03:10:45.836418 'm'
03:10:45.846426 Received DATA (on stdin)
03:10:45.846484 > 1 bytes data, server => client
03:10:45.846528 'e'
03:10:45.856521 Received DATA (on stdin)
03:10:45.856579 > 1 bytes data, server => client
03:10:45.856606 'n'
03:10:45.866613 Received DATA (on stdin)
03:10:45.866671 > 1 bytes data, server => client
03:10:45.866698 't'
03:10:45.876685 Received DATA (on stdin)
03:10:45.876738 > 1 bytes data, server => client
03:10:45.876762 'e'
03:10:45.886776 Received DATA (on stdin)
03:10:45.886827 > 1 bytes data, server => client
03:10:45.886852 'd'
03:10:45.896893 Received DATA (on stdin)
03:10:45.896951 > 1 bytes data, server => client
03:10:45.896978 '\r'
03:10:45.906981 Received DATA (on stdin)
03:10:45.907049 > 1 bytes data, server => client
03:10:45.907074 '\n'
03:10:45.910937 < 8 bytes data, client => server
03:10:45.911012 'PROT C\r\n'
03:10:45.917414 Received DATA (on stdin)
03:10:45.917494 > 1 bytes data, server => client
03:10:45.917522 '5'
03:10:45.927483 Received DATA (on stdin)
03:10:45.927544 > 1 bytes data, server => client
03:10:45.927596 '0'
03:10:45.937584 Received DATA (on stdin)
03:10:45.937627 > 1 bytes data, server => client
03:10:45.937650 '0'
03:10:45.947674 Received DATA (on stdin)
03:10:45.947742 > 1 bytes data, server => client
03:10:45.947778 ' '
03:10:45.957786 Received DATA (on stdin)
03:10:45.957845 > 1 bytes data, server => client
03:10:45.957872 'P'
03:10:45.967819 Received DATA (on stdin)
03:10:45.967877 > 1 bytes data, server => client
03:10:45.967904 'R'
03:10:45.977901 Received DATA (on stdin)
03:10:45.977954 > 1 bytes data, server => client
03:10:45.977978 'O'
03:10:45.988008 Received DATA (on stdin)
03:10:45.988067 > 1 bytes data, server => client
03:10:45.988094 'T'
03:10:45.998098 Received DATA (on stdin)
03:10:45.998157 > 1 bytes data, server => client
03:10:45.998184 ' '
03:10:46.008200 Received DATA (on stdin)
03:10:46.008278 > 1 bytes data, server => client
03:10:46.008303 'n'
03:10:46.018268 Received DATA (on stdin)
03:10:46.018300 > 1 bytes data, server => client
03:10:46.018314 'o'
03:10:46.028316 Received DATA (on stdin)
03:10:46.028342 > 1 bytes data, server => client
03:10:46.028351 't'
03:10:46.038384 Received DATA (on stdin)
03:10:46.038411 > 1 bytes data, server => client
03:10:46.038424 ' '
03:10:46.048477 Received DATA (on stdin)
03:10:46.048507 > 1 bytes data, server => client
03:10:46.048520 'i'
03:10:46.058561 Received DATA (on stdin)
03:10:46.058613 > 1 bytes data, server => client
03:10:46.058625 'm'
03:10:46.068649 Received DATA (on stdin)
03:10:46.068700 > 1 bytes data, server => client
03:10:46.068711 'p'
03:10:46.078732 Received DATA (on stdin)
03:10:46.078783 > 1 bytes data, server => client
03:10:46.078795 'l'
03:10:46.088813 Received DATA (on stdin)
03:10:46.088852 > 1 bytes data, server => client
03:10:46.088866 'e'
03:10:46.098886 Received DATA (on stdin)
03:10:46.098919 > 1 bytes data, server => client
03:10:46.098932 'm'
03:10:46.108997 Received DATA (on stdin)
03:10:46.109045 > 1 bytes data, server => client
03:10:46.109063 'e'
03:10:46.119093 Received DATA (on stdin)
03:10:46.119145 > 1 bytes data, server => client
03:10:46.119162 'n'
03:10:46.129167 Received DATA (on stdin)
03:10:46.129214 > 1 bytes data, server => client
03:10:46.129234 't'
03:10:46.139256 Received DATA (on stdin)
03:10:46.139289 > 1 bytes data, server => client
03:10:46.139308 'e'
03:10:46.149361 Received DATA (on stdin)
03:10:46.149421 > 1 bytes data, server => client
03:10:46.149448 'd'
03:10:46.159442 Received DATA (on stdin)
03:10:46.159503 > 1 bytes data, server => client
03:10:46.159529 '\r'
03:10:46.169532 Received DATA (on stdin)
03:10:46.169590 > 1 bytes data, server => client
03:10:46.169617 '\n'
03:10:46.172776 < 5 bytes data, client => server
03:10:46.172832 'PWD\r\n'
03:10:46.179947 Received DATA (on stdin)
03:10:46.180006 > 1 bytes data, server => client
03:10:46.180039 '2'
03:10:46.190016 Received DATA (on stdin)
03:10:46.190071 > 1 bytes data, server => client
03:10:46.190096 '5'
03:10:46.200129 Received DATA (on stdin)
03:10:46.200188 > 1 bytes data, server => client
03:10:46.200215 '7'
03:10:46.210201 Received DATA (on stdin)
03:10:46.210282 > 1 bytes data, server => client
03:10:46.210333 ' '
03:10:46.220301 Received DATA (on stdin)
03:10:46.220358 > 1 bytes data, server => client
03:10:46.220372 '"'
03:10:46.230369 Received DATA (on stdin)
03:10:46.230428 > 1 bytes data, server => client
03:10:46.230449 '/'
03:10:46.240462 Received DATA (on stdin)
03:10:46.240500 > 1 bytes data, server => client
03:10:46.240522 '"'
03:10:46.250561 Received DATA (on stdin)
03:10:46.250596 > 1 bytes data, server => client
03:10:46.250639 '\r'
03:10:46.260663 Received DATA (on stdin)
03:10:46.260698 > 1 bytes data, server => client
03:10:46.260719 '\n'
03:10:46.274498 < 6 bytes data, client => server
03:10:46.274520 'EPSV\r\n'
03:10:46.276360 Received DATA (on stdin)
03:10:46.276375 > 1 bytes data, server => client
03:10:46.276384 '2'
03:10:46.286474 Received DATA (on stdin)
03:10:46.286535 > 1 bytes data, server => client
03:10:46.286550 '2'
03:10:46.296571 Received DATA (on stdin)
03:10:46.296617 > 1 bytes data, server => client
03:10:46.296635 '9'
03:10:46.306694 Received DATA (on stdin)
03:10:46.306750 > 1 bytes data, server => client
03:10:46.306772 ' '
03:10:46.316805 Received DATA (on stdin)
03:10:46.316857 > 1 bytes data, server => client
03:10:46.316881 'E'
03:10:46.326861 Received DATA (on stdin)
03:10:46.326915 > 1 bytes data, server => client
03:10:46.326939 'n'
03:10:46.336975 Received DATA (on stdin)
03:10:46.337033 > 1 bytes data, server => client
03:10:46.337061 't'
03:10:46.347067 Received DATA (on stdin)
03:10:46.347126 > 1 bytes data, server => client
03:10:46.347153 'e'
03:10:46.357125 Received DATA (on stdin)
03:10:46.357171 > 1 bytes data, server => client
03:10:46.357189 'r'
03:10:46.367252 Received DATA (on stdin)
03:10:46.367321 > 1 bytes data, server => client
03:10:46.367348 'i'
03:10:46.377345 Received DATA (on stdin)
03:10:46.377412 > 1 bytes data, server => client
03:10:46.377437 'n'
03:10:46.387438 Received DATA (on stdin)
03:10:46.387500 > 1 bytes data, server => client
03:10:46.387527 'g'
03:10:46.397530 Received DATA (on stdin)
03:10:46.397589 > 1 bytes data, server => client
03:10:46.397616 ' '
03:10:46.407622 Received DATA (on stdin)
03:10:46.407681 > 1 bytes data, server => client
03:10:46.407708 'P'
03:10:46.417715 Received DATA (on stdin)
03:10:46.417778 > 1 bytes data, server => client
03:10:46.417805 'a'
03:10:46.427800 Received DATA (on stdin)
03:10:46.427886 > 1 bytes data, server => client
03:10:46.427913 's'
03:10:46.437889 Received DATA (on stdin)
03:10:46.437929 > 1 bytes data, server => client
03:10:46.437952 's'
03:10:46.448000 Received DATA (on stdin)
03:10:46.448059 > 1 bytes data, server => client
03:10:46.448086 'i'
03:10:46.458082 Received DATA (on stdin)
03:10:46.458143 > 1 bytes data, server => client
03:10:46.458169 'v'
03:10:46.468171 Received DATA (on stdin)
03:10:46.468233 > 1 bytes data, server => client
03:10:46.468259 'e'
03:10:46.478265 Received DATA (on stdin)
03:10:46.478326 > 1 bytes data, server => client
03:10:46.478353 ' '
03:10:46.488357 Received DATA (on stdin)
03:10:46.488416 > 1 bytes data, server => client
03:10:46.488443 'M'
03:10:46.498427 Received DATA (on stdin)
03:10:46.498479 > 1 bytes data, server => client
03:10:46.498503 'o'
03:10:46.508531 Received DATA (on stdin)
03:10:46.508595 > 1 bytes data, server => client
03:10:46.508624 'd'
03:10:46.518603 Received DATA (on stdin)
03:10:46.518649 > 1 bytes data, server => client
03:10:46.518678 'e'
03:10:46.528735 Received DATA (on stdin)
03:10:46.528793 > 1 bytes data, server => client
03:10:46.528840 ' '
03:10:46.538827 Received DATA (on stdin)
03:10:46.538890 > 1 bytes data, server => client
03:10:46.538917 '('
03:10:46.548896 Received DATA (on stdin)
03:10:46.548949 > 1 bytes data, server => client
03:10:46.548973 '|'
03:10:46.559010 Received DATA (on stdin)
03:10:46.559071 > 1 bytes data, server => client
03:10:46.559098 '|'
03:10:46.569101 Received DATA (on stdin)
03:10:46.569159 > 1 bytes data, server => client
03:10:46.569187 '|'
03:10:46.579169 Received DATA (on stdin)
03:10:46.579222 > 1 bytes data, server => client
03:10:46.579246 '4'
03:10:46.589261 Received DATA (on stdin)
03:10:46.589313 > 1 bytes data, server => client
03:10:46.589343 '4'
03:10:46.599376 Received DATA (on stdin)
03:10:46.599436 > 1 bytes data, server => client
03:10:46.599463 '0'
03:10:46.609468 Received DATA (on stdin)
03:10:46.609527 > 1 bytes data, server => client
03:10:46.609554 '3'
03:10:46.619558 Received DATA (on stdin)
03:10:46.619617 > 1 bytes data, server => client
03:10:46.619644 '5'
03:10:46.629639 Received DATA (on stdin)
03:10:46.629698 > 1 bytes data, server => client
03:10:46.629725 '|'
03:10:46.639704 Received DATA (on stdin)
03:10:46.639757 > 1 bytes data, server => client
03:10:46.639804 ')'
03:10:46.649783 Received DATA (on stdin)
03:10:46.649835 > 1 bytes data, server => client
03:10:46.649859 '\n'
03:10:46.671040 < 8 bytes data, client => server
03:10:46.671059 'TYPE I\r\n'
03:10:46.671186 Received DATA (on stdin)
03:10:46.671199 > 1 bytes data, server => client
03:10:46.671207 '2'
03:10:46.681285 Received DATA (on stdin)
03:10:46.681324 > 1 bytes data, server => client
03:10:46.681338 '0'
03:10:46.691399 Received DATA (on stdin)
03:10:46.691451 > 1 bytes data, server => client
03:10:46.691469 '0'
03:10:46.701470 Received DATA (on stdin)
03:10:46.701528 > 1 bytes data, server => client
03:10:46.701550 ' '
03:10:46.711561 Received DATA (on stdin)
03:10:46.711621 > 1 bytes data, server => client
03:10:46.711660 'O'
03:10:46.721636 Received DATA (on stdin)
03:10:46.721678 > 1 bytes data, server => client
03:10:46.721702 'K'
03:10:46.731762 Received DATA (on stdin)
03:10:46.731827 > 1 bytes data, server => client
03:10:46.731849 '\r'
03:10:46.741844 Received DATA (on stdin)
03:10:46.741902 > 1 bytes data, server => client
03:10:46.741929 '\n'
03:10:46.746479 < 11 bytes data, client => server
03:10:46.746538 'SIZE 1112\r\n'
03:10:46.752955 Received DATA (on stdin)
03:10:46.753018 > 1 bytes data, server => client
03:10:46.753043 '2'
03:10:46.763059 Received DATA (on stdin)
03:10:46.763117 > 1 bytes data, server => client
03:10:46.763144 '1'
03:10:46.773126 Received DATA (on stdin)
03:10:46.773184 > 1 bytes data, server => client
03:10:46.773211 '3'
03:10:46.783219 Received DATA (on stdin)
03:10:46.783277 > 1 bytes data, server => client
03:10:46.783303 ' '
03:10:46.793315 Received DATA (on stdin)
03:10:46.793393 > 1 bytes data, server => client
03:10:46.793418 '3'
03:10:46.803403 Received DATA (on stdin)
03:10:46.803462 > 1 bytes data, server => client
03:10:46.803489 '6'
03:10:46.813484 Received DATA (on stdin)
03:10:46.813543 > 1 bytes data, server => client
03:10:46.813570 '0'
03:10:46.823562 Received DATA (on stdin)
03:10:46.823621 > 1 bytes data, server => client
03:10:46.823648 '0'
03:10:46.833645 Received DATA (on stdin)
03:10:46.833704 > 1 bytes data, server => client
03:10:46.833731 '\r'
03:10:46.843708 Received DATA (on stdin)
03:10:46.843761 > 1 bytes data, server => client
03:10:46.843814 '\n'
03:10:46.849377 < 11 bytes data, client => server
03:10:46.849437 'RETR 1112\r\n'
03:10:46.854683 Received DATA (on stdin)
03:10:46.854745 > 1 bytes data, server => client
03:10:46.854772 '1'
03:10:46.864773 Received DATA (on stdin)
03:10:46.864831 > 1 bytes data, server => client
03:10:46.864858 '5'
03:10:46.874844 Received DATA (on stdin)
03:10:46.874897 > 1 bytes data, server => client
03:10:46.874930 '0'
03:10:46.884933 Received DATA (on stdin)
03:10:46.884970 > 1 bytes data, server => client
03:10:46.884992 ' '
03:10:46.895026 Received DATA (on stdin)
03:10:46.895068 > 1 bytes data, server => client
03:10:46.895091 'B'
03:10:46.905115 Received DATA (on stdin)
03:10:46.905169 > 1 bytes data, server => client
03:10:46.905193 'i'
03:10:46.915253 Received DATA (on stdin)
03:10:46.915345 > 1 bytes data, server => client
03:10:46.915373 'n'
03:10:46.925326 Received DATA (on stdin)
03:10:46.925383 > 1 bytes data, server => client
03:10:46.925411 'a'
03:10:46.935421 Received DATA (on stdin)
03:10:46.935460 > 1 bytes data, server => client
03:10:46.935482 'r'
03:10:46.945520 Received DATA (on stdin)
03:10:46.945569 > 1 bytes data, server => client
03:10:46.945594 'y'
03:10:46.955634 Received DATA (on stdin)
03:10:46.955699 > 1 bytes data, server => client
03:10:46.955724 ' '
03:10:46.965738 Received DATA (on stdin)
03:10:46.965805 > 1 bytes data, server => client
03:10:46.965831 'd'
03:10:46.975866 Received DATA (on stdin)
03:10:46.975925 > 1 bytes data, server => client
03:10:46.975951 'a'
03:10:46.985945 Received DATA (on stdin)
03:10:46.986027 > 1 bytes data, server => client
03:10:46.986067 't'
03:10:46.996023 Received DATA (on stdin)
03:10:46.996088 > 1 bytes data, server => client
03:10:46.996116 'a'
03:10:47.006106 Received DATA (on stdin)
03:10:47.006165 > 1 bytes data, server => client
03:10:47.006189 ' '
03:10:47.016228 Received DATA (on stdin)
03:10:47.016279 > 1 bytes data, server => client
03:10:47.016303 'c'
03:10:47.026309 Received DATA (on stdin)
03:10:47.026355 > 1 bytes data, server => client
03:10:47.026377 'o'
03:10:47.036406 Received DATA (on stdin)
03:10:47.036465 > 1 bytes data, server => client
03:10:47.036490 'n'
03:10:47.046490 Received DATA (on stdin)
03:10:47.046550 > 1 bytes data, server => client
03:10:47.046577 'n'
03:10:47.056588 Received DATA (on stdin)
03:10:47.056668 > 1 bytes data, server => client
03:10:47.056695 'e'
03:10:47.066627 Received DATA (on stdin)
03:10:47.066652 > 1 bytes data, server => client
03:10:47.066662 'c'
03:10:47.076703 Received DATA (on stdin)
03:10:47.076738 > 1 bytes data, server => client
03:10:47.076753 't'
03:10:47.086808 Received DATA (on stdin)
03:10:47.086877 > 1 bytes data, server => client
03:10:47.086896 'i'
03:10:47.096918 Received DATA (on stdin)
03:10:47.096986 > 1 bytes data, server => client
03:10:47.097008 'o'
03:10:47.106969 Received DATA (on stdin)
03:10:47.106999 > 1 bytes data, server => client
03:10:47.107011 'n'
03:10:47.117049 Received DATA (on stdin)
03:10:47.117089 > 1 bytes data, server => client
03:10:47.117106 ' '
03:10:47.127148 Received DATA (on stdin)
03:10:47.127200 > 1 bytes data, server => client
03:10:47.127243 'f'
03:10:47.137241 Received DATA (on stdin)
03:10:47.137302 > 1 bytes data, server => client
03:10:47.137337 'o'
03:10:47.147306 Received DATA (on stdin)
03:10:47.147371 > 1 bytes data, server => client
03:10:47.147395 'r'
03:10:47.157373 Received DATA (on stdin)
03:10:47.157433 > 1 bytes data, server => client
03:10:47.157459 ' '
03:10:47.167469 Received DATA (on stdin)
03:10:47.167523 > 1 bytes data, server => client
03:10:47.167558 '1'
03:10:47.177564 Received DATA (on stdin)
03:10:47.177608 > 1 bytes data, server => client
03:10:47.177632 '1'
03:10:47.187656 Received DATA (on stdin)
03:10:47.187724 > 1 bytes data, server => client
03:10:47.187755 '1'
03:10:47.197746 Received DATA (on stdin)
03:10:47.197805 > 1 bytes data, server => client
03:10:47.197830 '2'
03:10:47.207828 Received DATA (on stdin)
03:10:47.207878 > 1 bytes data, server => client
03:10:47.207903 ' '
03:10:47.217912 Received DATA (on stdin)
03:10:47.217958 > 1 bytes data, server => client
03:10:47.217983 '('
03:10:47.227994 Received DATA (on stdin)
03:10:47.228041 > 1 bytes data, server => client
03:10:47.228065 ')'
03:10:47.238082 Received DATA (on stdin)
03:10:47.238138 > 1 bytes data, server => client
03:10:47.238164 ' '
03:10:47.248185 Received DATA (on stdin)
03:10:47.248246 > 1 bytes data, server => client
03:10:47.248273 '('
03:10:47.258244 Received DATA (on stdin)
03:10:47.258298 > 1 bytes data, server => client
03:10:47.258323 '3'
03:10:47.268343 Received DATA (on stdin)
03:10:47.268404 > 1 bytes data, server => client
03:10:47.268431 '6'
03:10:47.278436 Received DATA (on stdin)
03:10:47.278511 > 1 bytes data, server => client
03:10:47.278539 '0'
03:10:47.288498 Received DATA (on stdin)
03:10:47.288548 > 1 bytes data, server => client
03:10:47.288578 '0'
03:10:47.298575 Received DATA (on stdin)
03:10:47.298669 > 1 bytes data, server => client
03:10:47.298705 ' '
03:10:47.308676 Received DATA (on stdin)
03:10:47.308736 > 1 bytes data, server => client
03:10:47.308762 'b'
03:10:47.318732 Received DATA (on stdin)
03:10:47.318785 > 1 bytes data, server => client
03:10:47.318810 'y'
03:10:47.328834 Received DATA (on stdin)
03:10:47.328911 > 1 bytes data, server => client
03:10:47.328937 't'
03:10:47.338896 Received DATA (on stdin)
03:10:47.338953 > 1 bytes data, server => client
03:10:47.338982 'e'
03:10:47.348962 Received DATA (on stdin)
03:10:47.349015 > 1 bytes data, server => client
03:10:47.349040 's'
03:10:47.359056 Received DATA (on stdin)
03:10:47.359128 > 1 bytes data, server => client
03:10:47.359178 ')'
03:10:47.369133 Received DATA (on stdin)
03:10:47.369179 > 1 bytes data, server => client
03:10:47.369204 '.'
03:10:47.379236 Received DATA (on stdin)
03:10:47.379297 > 1 bytes data, server => client
03:10:47.379323 '\r'
03:10:47.389295 Received DATA (on stdin)
03:10:47.389348 > 1 bytes data, server => client
03:10:47.389373 '\n'
03:10:57.831617 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:39.807299 Running IPv4 version
03:10:39.807404 Listening on port 43125
03:10:39.807448 Wrote pid 1978 to ./.ftp_sockdata.pid
03:10:39.807473 Received PING (on stdin)
03:10:39.807560 Received PORT (on stdin)
03:10:39.808003 ====> Client connect
03:10:39.809231 Received DATA (on stdin)
03:10:39.809269 > 16 bytes data, server => client
03:10:39.809298 'WE ROOLZ: 1855\r\n'
03:10:39.809331 Received DISC (on stdin)
03:10:39.809349 ====> Client forcibly disconnected
03:10:39.809382 Received QUIT (on stdin)
03:10:39.809392 quits
03:10:39.809405 ============> sockfilt quits
03:10:46.276032 Running IPv4 version
03:10:46.276097 Listening on port 44035
03:10:46.276137 Wrote pid 1983 to ./.ftp_sockdata.pid
03:10:46.276153 Received PING (on stdin)
03:10:46.276231 Received PORT (on stdin)
03:10:46.663297 ====> Client connect
03:10:47.399518 Received DATA (on stdin)
03:10:47.399577 > 1 bytes data, server => client
03:10:47.399604 'L'
03:10:47.409587 Received DATA (on stdin)
03:10:47.409617 > 1 bytes data, server => client
03:10:47.409628 'o'
03:10:47.419677 Received DATA (on stdin)
03:10:47.419722 > 1 bytes data, server => client
03:10:47.419741 'n'
03:10:47.429786 Received DATA (on stdin)
03:10:47.429836 > 1 bytes data, server => client
03:10:47.429857 'g'
03:10:47.439860 Received DATA (on stdin)
03:10:47.439905 > 1 bytes data, server => client
03:10:47.439928 ' '
03:10:47.449951 Received DATA (on stdin)
03:10:47.450002 > 1 bytes data, server => client
03:10:47.450025 'c'
03:10:47.460033 Received DATA (on stdin)
03:10:47.460086 > 1 bytes data, server => client
03:10:47.460112 'h'
03:10:47.470126 Received DATA (on stdin)
03:10:47.470183 > 1 bytes data, server => client
03:10:47.470213 'u'
03:10:47.480216 Received DATA (on stdin)
03:10:47.480274 > 1 bytes data, server => client
03:10:47.480303 'n'
03:10:47.490319 Received DATA (on stdin)
03:10:47.490391 > 1 bytes data, server => client
03:10:47.490431 'k'
03:10:47.500371 Received DATA (on stdin)
03:10:47.500429 > 1 bytes data, server => client
03:10:47.500456 ' '
03:10:47.510456 Received DATA (on stdin)
03:10:47.510496 > 1 bytes data, server => client
03:10:47.510519 'o'
03:10:47.520563 Received DATA (on stdin)
03:10:47.520624 > 1 bytes data, server => client
03:10:47.520651 'f'
03:10:47.530626 Received DATA (on stdin)
03:10:47.530677 > 1 bytes data, server => client
03:10:47.530703 ' '
03:10:47.540703 Received DATA (on stdin)
03:10:47.540759 > 1 bytes data, server => client
03:10:47.540785 'd'
03:10:47.550791 Received DATA (on stdin)
03:10:47.550848 > 1 bytes data, server => client
03:10:47.550874 'a'
03:10:47.560876 Received DATA (on stdin)
03:10:47.560942 > 1 bytes data, server => client
03:10:47.560970 't'
03:10:47.570953 Received DATA (on stdin)
03:10:47.570991 > 1 bytes data, server => client
03:10:47.571023 'a'
03:10:47.581030 Received DATA (on stdin)
03:10:47.581087 > 1 bytes data, server => client
03:10:47.581116 ' '
03:10:47.591112 Received DATA (on stdin)
03:10:47.591170 > 1 bytes data, server => client
03:10:47.591209 't'
03:10:47.601167 Received DATA (on stdin)
03:10:47.601213 > 1 bytes data, server => client
03:10:47.601238 'h'
03:10:47.611265 Received DATA (on stdin)
03:10:47.611328 > 1 bytes data, server => client
03:10:47.611368 'a'
03:10:47.621333 Received DATA (on stdin)
03:10:47.621376 > 1 bytes data, server => client
03:10:47.621401 't'
03:10:47.631420 Received DATA (on stdin)
03:10:47.631474 > 1 bytes data, server => client
03:10:47.631501 ' '
03:10:47.641501 Received DATA (on stdin)
03:10:47.641550 > 1 bytes data, server => client
03:10:47.641576 'c'
03:10:47.651598 Received DATA (on stdin)
03:10:47.651647 > 1 bytes data, server => client
03:10:47.651677 'o'
03:10:47.661714 Received DATA (on stdin)
03:10:47.661769 > 1 bytes data, server => client
03:10:47.661802 'u'
03:10:47.671806 Received DATA (on stdin)
03:10:47.671851 > 1 bytes data, server => client
03:10:47.671875 'l'
03:10:47.681884 Received DATA (on stdin)
03:10:47.681934 > 1 bytes data, server => client
03:10:47.681964 'd'
03:10:47.691963 Received DATA (on stdin)
03:10:47.692007 > 1 bytes data, server => client
03:10:47.692045 'n'
03:10:47.702087 Received DATA (on stdin)
03:10:47.702131 > 1 bytes data, server => client
03:10:47.702161 '''
03:10:47.712173 Received DATA (on stdin)
03:10:47.712219 > 1 bytes data, server => client
03:10:47.712243 't'
03:10:47.722265 Received DATA (on stdin)
03:10:47.722312 > 1 bytes data, server => client
03:10:47.722343 ' '
03:10:47.732342 Received DATA (on stdin)
03:10:47.732394 > 1 bytes data, server => client
03:10:47.732429 'p'
03:10:47.742428 Received DATA (on stdin)
03:10:47.742480 > 1 bytes data, server => client
03:10:47.742505 'o'
03:10:47.752529 Received DATA (on stdin)
03:10:47.752588 > 1 bytes data, server => client
03:10:47.752616 's'
03:10:47.762586 Received DATA (on stdin)
03:10:47.762641 > 1 bytes data, server => client
03:10:47.762672 's'
03:10:47.772681 Received DATA (on stdin)
03:10:47.772746 > 1 bytes data, server => client
03:10:47.772774 'i'
03:10:47.782788 Received DATA (on stdin)
03:10:47.782848 > 1 bytes data, server => client
03:10:47.782876 'b'
03:10:47.792854 Received DATA (on stdin)
03:10:47.792908 > 1 bytes data, server => client
03:10:47.792943 'l'
03:10:47.802940 Received DATA (on stdin)
03:10:47.802986 > 1 bytes data, server => client
03:10:47.803011 'y'
03:10:47.813044 Received DATA (on stdin)
03:10:47.813105 > 1 bytes data, server => client
03:10:47.813133 ' '
03:10:47.823127 Received DATA (on stdin)
03:10:47.823179 > 1 bytes data, server => client
03:10:47.823205 'b'
03:10:47.833209 Received DATA (on stdin)
03:10:47.833256 > 1 bytes data, server => client
03:10:47.833281 'e'
03:10:47.843306 Received DATA (on stdin)
03:10:47.843361 > 1 bytes data, server => client
03:10:47.843386 ' '
03:10:47.853388 Received DATA (on stdin)
03:10:47.853442 > 1 bytes data, server => client
03:10:47.853469 's'
03:10:47.863471 Received DATA (on stdin)
03:10:47.863532 > 1 bytes data, server => client
03:10:47.863581 'e'
03:10:47.873550 Received DATA (on stdin)
03:10:47.873603 > 1 bytes data, server => client
03:10:47.873628 'n'
03:10:47.883635 Received DATA (on stdin)
03:10:47.883690 > 1 bytes data, server => client
03:10:47.883721 't'
03:10:47.893712 Received DATA (on stdin)
03:10:47.893757 > 1 bytes data, server => client
03:10:47.893784 ' '
03:10:47.903811 Received DATA (on stdin)
03:10:47.903854 > 1 bytes data, server => client
03:10:47.903877 'i'
03:10:47.913927 Received DATA (on stdin)
03:10:47.913993 > 1 bytes data, server => client
03:10:47.914021 'n'
03:10:47.923995 Received DATA (on stdin)
03:10:47.924067 > 1 bytes data, server => client
03:10:47.924098 ' '
03:10:47.934080 Received DATA (on stdin)
03:10:47.934131 > 1 bytes data, server => client
03:10:47.934146 't'
03:10:47.944191 Received DATA (on stdin)
03:10:47.944242 > 1 bytes data, server => client
03:10:47.944260 'h'
03:10:47.954249 Received DATA (on stdin)
03:10:47.954287 > 1 bytes data, server => client
03:10:47.954300 'e'
03:10:47.964326 Received DATA (on stdin)
03:10:47.964355 > 1 bytes data, server => client
03:10:47.964365 ' '
03:10:47.974421 Received DATA (on stdin)
03:10:47.974457 > 1 bytes data, server => client
03:10:47.974472 't'
03:10:47.984505 Received DATA (on stdin)
03:10:47.984576 > 1 bytes data, server => client
03:10:47.984595 'i'
03:10:47.994572 Received DATA (on stdin)
03:10:47.994606 > 1 bytes data, server => client
03:10:47.994617 'm'
03:10:48.004668 Received DATA (on stdin)
03:10:48.004732 > 1 bytes data, server => client
03:10:48.004751 'e'
03:10:48.014722 Received DATA (on stdin)
03:10:48.014749 > 1 bytes data, server => client
03:10:48.014758 ' '
03:10:48.024801 Received DATA (on stdin)
03:10:48.024841 > 1 bytes data, server => client
03:10:48.024853 'a'
03:10:48.034894 Received DATA (on stdin)
03:10:48.034933 > 1 bytes data, server => client
03:10:48.034950 'l'
03:10:48.044994 Received DATA (on stdin)
03:10:48.045040 > 1 bytes data, server => client
03:10:48.045056 'l'
03:10:48.055081 Received DATA (on stdin)
03:10:48.055123 > 1 bytes data, server => client
03:10:48.055149 'o'
03:10:48.065192 Received DATA (on stdin)
03:10:48.065251 > 1 bytes data, server => client
03:10:48.065277 't'
03:10:48.075286 Received DATA (on stdin)
03:10:48.075323 > 1 bytes data, server => client
03:10:48.075341 't'
03:10:48.085377 Received DATA (on stdin)
03:10:48.085421 > 1 bytes data, server => client
03:10:48.085449 'e'
03:10:48.095504 Received DATA (on stdin)
03:10:48.095587 > 1 bytes data, server => client
03:10:48.095611 'd'
03:10:48.105601 Received DATA (on stdin)
03:10:48.105677 > 1 bytes data, server => client
03:10:48.105720 '.'
03:10:48.115717 Received DATA (on stdin)
03:10:48.115838 > 1 bytes data, server => client
03:10:48.115855 '\n'
03:10:48.125840 Received DATA (on stdin)
03:10:48.125896 > 1 bytes data, server => client
03:10:48.125917 'L'
03:10:48.135922 Received DATA (on stdin)
03:10:48.135987 > 1 bytes data, server => client
03:10:48.136011 'o'
03:10:48.146004 Received DATA (on stdin)
03:10:48.146067 > 1 bytes data, server => client
03:10:48.146091 'n'
03:10:48.156061 Received DATA (on stdin)
03:10:48.156114 > 1 bytes data, server => client
03:10:48.156140 'g'
03:10:48.166156 Received DATA (on stdin)
03:10:48.166228 > 1 bytes data, server => client
03:10:48.166260 ' '
03:10:48.176278 Received DATA (on stdin)
03:10:48.176324 > 1 bytes data, server => client
03:10:48.176338 'c'
03:10:48.186372 Received DATA (on stdin)
03:10:48.186428 > 1 bytes data, server => client
03:10:48.186447 'h'
03:10:48.196462 Received DATA (on stdin)
03:10:48.196535 > 1 bytes data, server => client
03:10:48.196560 'u'
03:10:48.206556 Received DATA (on stdin)
03:10:48.206616 > 1 bytes data, server => client
03:10:48.206643 'n'
03:10:48.216654 Received DATA (on stdin)
03:10:48.216716 > 1 bytes data, server => client
03:10:48.216743 'k'
03:10:48.226738 Received DATA (on stdin)
03:10:48.226800 > 1 bytes data, server => client
03:10:48.226828 ' '
03:10:48.236800 Received DATA (on stdin)
03:10:48.236858 > 1 bytes data, server => client
03:10:48.236885 'o'
03:10:48.246918 Received DATA (on stdin)
03:10:48.246979 > 1 bytes data, server => client
03:10:48.247007 'f'
03:10:48.256988 Received DATA (on stdin)
03:10:48.257046 > 1 bytes data, server => client
03:10:48.257071 ' '
03:10:48.267078 Received DATA (on stdin)
03:10:48.267116 > 1 bytes data, server => client
03:10:48.267139 'd'
03:10:48.277177 Received DATA (on stdin)
03:10:48.277248 > 1 bytes data, server => client
03:10:48.277278 'a'
03:10:48.287291 Received DATA (on stdin)
03:10:48.287351 > 1 bytes data, server => client
03:10:48.287379 't'
03:10:48.297377 Received DATA (on stdin)
03:10:48.297438 > 1 bytes data, server => client
03:10:48.297466 'a'
03:10:48.307446 Received DATA (on stdin)
03:10:48.307510 > 1 bytes data, server => client
03:10:48.307537 ' '
03:10:48.317526 Received DATA (on stdin)
03:10:48.317579 > 1 bytes data, server => client
03:10:48.317606 't'
03:10:48.327635 Received DATA (on stdin)
03:10:48.327694 > 1 bytes data, server => client
03:10:48.327722 'h'
03:10:48.337704 Received DATA (on stdin)
03:10:48.337761 > 1 bytes data, server => client
03:10:48.337787 'a'
03:10:48.347835 Received DATA (on stdin)
03:10:48.347896 > 1 bytes data, server => client
03:10:48.347924 't'
03:10:48.357898 Received DATA (on stdin)
03:10:48.357959 > 1 bytes data, server => client
03:10:48.357987 ' '
03:10:48.368000 Received DATA (on stdin)
03:10:48.368061 > 1 bytes data, server => client
03:10:48.368089 'c'
03:10:48.378081 Received DATA (on stdin)
03:10:48.378143 > 1 bytes data, server => client
03:10:48.378170 'o'
03:10:48.388164 Received DATA (on stdin)
03:10:48.388225 > 1 bytes data, server => client
03:10:48.388252 'u'
03:10:48.398249 Received DATA (on stdin)
03:10:48.398308 > 1 bytes data, server => client
03:10:48.398336 'l'
03:10:48.408337 Received DATA (on stdin)
03:10:48.408397 > 1 bytes data, server => client
03:10:48.408425 'd'
03:10:48.418413 Received DATA (on stdin)
03:10:48.418485 > 1 bytes data, server => client
03:10:48.418529 'n'
03:10:48.428509 Received DATA (on stdin)
03:10:48.428574 > 1 bytes data, server => client
03:10:48.428596 '''
03:10:48.438612 Received DATA (on stdin)
03:10:48.438686 > 1 bytes data, server => client
03:10:48.438718 't'
03:10:48.448746 Received DATA (on stdin)
03:10:48.448817 > 1 bytes data, server => client
03:10:48.448863 ' '
03:10:48.458841 Received DATA (on stdin)
03:10:48.458908 > 1 bytes data, server => client
03:10:48.458934 'p'
03:10:48.468911 Received DATA (on stdin)
03:10:48.468966 > 1 bytes data, server => client
03:10:48.468997 'o'
03:10:48.478997 Received DATA (on stdin)
03:10:48.479044 > 1 bytes data, server => client
03:10:48.479068 's'
03:10:48.489085 Received DATA (on stdin)
03:10:48.489123 > 1 bytes data, server => client
03:10:48.489146 's'
03:10:48.499177 Received DATA (on stdin)
03:10:48.499216 > 1 bytes data, server => client
03:10:48.499239 'i'
03:10:48.509263 Received DATA (on stdin)
03:10:48.509304 > 1 bytes data, server => client
03:10:48.509327 'b'
03:10:48.519351 Received DATA (on stdin)
03:10:48.519405 > 1 bytes data, server => client
03:10:48.519431 'l'
03:10:48.529458 Received DATA (on stdin)
03:10:48.529519 > 1 bytes data, server => client
03:10:48.529546 'y'
03:10:48.539527 Received DATA (on stdin)
03:10:48.539588 > 1 bytes data, server => client
03:10:48.539616 ' '
03:10:48.549600 Received DATA (on stdin)
03:10:48.549660 > 1 bytes data, server => client
03:10:48.549688 'b'
03:10:48.559693 Received DATA (on stdin)
03:10:48.559752 > 1 bytes data, server => client
03:10:48.559794 'e'
03:10:48.569761 Received DATA (on stdin)
03:10:48.569821 > 1 bytes data, server => client
03:10:48.569848 ' '
03:10:48.579843 Received DATA (on stdin)
03:10:48.579901 > 1 bytes data, server => client
03:10:48.579929 's'
03:10:48.589912 Received DATA (on stdin)
03:10:48.589965 > 1 bytes data, server => client
03:10:48.589990 'e'
03:10:48.600002 Received DATA (on stdin)
03:10:48.600055 > 1 bytes data, server => client
03:10:48.600080 'n'
03:10:48.610124 Received DATA (on stdin)
03:10:48.610196 > 1 bytes data, server => client
03:10:48.610236 't'
03:10:48.620192 Received DATA (on stdin)
03:10:48.620250 > 1 bytes data, server => client
03:10:48.620278 ' '
03:10:48.630264 Received DATA (on stdin)
03:10:48.630323 > 1 bytes data, server => client
03:10:48.630350 'i'
03:10:48.640337 Received DATA (on stdin)
03:10:48.640396 > 1 bytes data, server => client
03:10:48.640423 'n'
03:10:48.650403 Received DATA (on stdin)
03:10:48.650456 > 1 bytes data, server => client
03:10:48.650481 ' '
03:10:48.660544 Received DATA (on stdin)
03:10:48.660617 > 1 bytes data, server => client
03:10:48.660646 't'
03:10:48.670637 Received DATA (on stdin)
03:10:48.670695 > 1 bytes data, server => client
03:10:48.670723 'h'
03:10:48.680725 Received DATA (on stdin)
03:10:48.680785 > 1 bytes data, server => client
03:10:48.680812 'e'
03:10:48.690818 Received DATA (on stdin)
03:10:48.690877 > 1 bytes data, server => client
03:10:48.690904 ' '
03:10:48.700898 Received DATA (on stdin)
03:10:48.700957 > 1 bytes data, server => client
03:10:48.700984 't'
03:10:48.710978 Received DATA (on stdin)
03:10:48.711031 > 1 bytes data, server => client
03:10:48.711056 'i'
03:10:48.721094 Received DATA (on stdin)
03:10:48.721153 > 1 bytes data, server => client
03:10:48.721181 'm'
03:10:48.731185 Received DATA (on stdin)
03:10:48.731244 > 1 bytes data, server => client
03:10:48.731272 'e'
03:10:48.741279 Received DATA (on stdin)
03:10:48.741338 > 1 bytes data, server => client
03:10:48.741366 ' '
03:10:48.751372 Received DATA (on stdin)
03:10:48.751432 > 1 bytes data, server => client
03:10:48.751459 'a'
03:10:48.761469 Received DATA (on stdin)
03:10:48.761528 > 1 bytes data, server => client
03:10:48.761556 'l'
03:10:48.771562 Received DATA (on stdin)
03:10:48.771621 > 1 bytes data, server => client
03:10:48.771650 'l'
03:10:48.781647 Received DATA (on stdin)
03:10:48.781707 > 1 bytes data, server => client
03:10:48.781735 'o'
03:10:48.791724 Received DATA (on stdin)
03:10:48.791802 > 1 bytes data, server => client
03:10:48.791838 't'
03:10:48.801818 Received DATA (on stdin)
03:10:48.801878 > 1 bytes data, server => client
03:10:48.801905 't'
03:10:48.811927 Received DATA (on stdin)
03:10:48.811990 > 1 bytes data, server => client
03:10:48.812017 'e'
03:10:48.822006 Received DATA (on stdin)
03:10:48.822066 > 1 bytes data, server => client
03:10:48.822111 'd'
03:10:48.832083 Received DATA (on stdin)
03:10:48.832143 > 1 bytes data, server => client
03:10:48.832171 '.'
03:10:48.842161 Received DATA (on stdin)
03:10:48.842221 > 1 bytes data, server => client
03:10:48.842249 '\n'
03:10:48.852265 Received DATA (on stdin)
03:10:48.852325 > 1 bytes data, server => client
03:10:48.852352 'L'
03:10:48.862353 Received DATA (on stdin)
03:10:48.862412 > 1 bytes data, server => client
03:10:48.862440 'o'
03:10:48.872438 Received DATA (on stdin)
03:10:48.872497 > 1 bytes data, server => client
03:10:48.872525 'n'
03:10:48.882533 Received DATA (on stdin)
03:10:48.882593 > 1 bytes data, server => client
03:10:48.882620 'g'
03:10:48.892610 Received DATA (on stdin)
03:10:48.892669 > 1 bytes data, server => client
03:10:48.892697 ' '
03:10:48.902686 Received DATA (on stdin)
03:10:48.902746 > 1 bytes data, server => client
03:10:48.902774 'c'
03:10:48.912753 Received DATA (on stdin)
03:10:48.912809 > 1 bytes data, server => client
03:10:48.912834 'h'
03:10:48.922858 Received DATA (on stdin)
03:10:48.922923 > 1 bytes data, server => client
03:10:48.922951 'u'
03:10:48.932956 Received DATA (on stdin)
03:10:48.933015 > 1 bytes data, server => client
03:10:48.933043 'n'
03:10:48.943019 Received DATA (on stdin)
03:10:48.943088 > 1 bytes data, server => client
03:10:48.943128 'k'
03:10:48.953125 Received DATA (on stdin)
03:10:48.953184 > 1 bytes data, server => client
03:10:48.953211 ' '
03:10:48.963217 Received DATA (on stdin)
03:10:48.963275 > 1 bytes data, server => client
03:10:48.963303 'o'
03:10:48.973309 Received DATA (on stdin)
03:10:48.973368 > 1 bytes data, server => client
03:10:48.973395 'f'
03:10:48.983402 Received DATA (on stdin)
03:10:48.983460 > 1 bytes data, server => client
03:10:48.983488 ' '
03:10:48.993508 Received DATA (on stdin)
03:10:48.993582 > 1 bytes data, server => client
03:10:48.993614 'd'
03:10:49.003597 Received DATA (on stdin)
03:10:49.003673 > 1 bytes data, server => client
03:10:49.003719 'a'
03:10:49.013714 Received DATA (on stdin)
03:10:49.013774 > 1 bytes data, server => client
03:10:49.013801 't'
03:10:49.023809 Received DATA (on stdin)
03:10:49.023868 > 1 bytes data, server => client
03:10:49.023896 'a'
03:10:49.033885 Received DATA (on stdin)
03:10:49.033937 > 1 bytes data, server => client
03:10:49.033962 ' '
03:10:49.043978 Received DATA (on stdin)
03:10:49.044036 > 1 bytes data, server => client
03:10:49.044061 't'
03:10:49.054080 Received DATA (on stdin)
03:10:49.054138 > 1 bytes data, server => client
03:10:49.054166 'h'
03:10:49.064168 Received DATA (on stdin)
03:10:49.064226 > 1 bytes data, server => client
03:10:49.064253 'a'
03:10:49.074260 Received DATA (on stdin)
03:10:49.074319 > 1 bytes data, server => client
03:10:49.074346 't'
03:10:49.084360 Received DATA (on stdin)
03:10:49.084420 > 1 bytes data, server => client
03:10:49.084448 ' '
03:10:49.094445 Received DATA (on stdin)
03:10:49.094504 > 1 bytes data, server => client
03:10:49.094532 'c'
03:10:49.104537 Received DATA (on stdin)
03:10:49.104597 > 1 bytes data, server => client
03:10:49.104625 'o'
03:10:49.114575 Received DATA (on stdin)
03:10:49.114642 > 1 bytes data, server => client
03:10:49.114680 'u'
03:10:49.124665 Received DATA (on stdin)
03:10:49.124729 > 1 bytes data, server => client
03:10:49.124756 'l'
03:10:49.134758 Received DATA (on stdin)
03:10:49.134838 > 1 bytes data, server => client
03:10:49.134865 'd'
03:10:49.144838 Received DATA (on stdin)
03:10:49.144897 > 1 bytes data, server => client
03:10:49.144924 'n'
03:10:49.154909 Received DATA (on stdin)
03:10:49.154962 > 1 bytes data, server => client
03:10:49.154987 '''
03:10:49.164999 Received DATA (on stdin)
03:10:49.165044 > 1 bytes data, server => client
03:10:49.165068 't'
03:10:49.175095 Received DATA (on stdin)
03:10:49.175153 > 1 bytes data, server => client
03:10:49.175179 ' '
03:10:49.185202 Received DATA (on stdin)
03:10:49.185260 > 1 bytes data, server => client
03:10:49.185287 'p'
03:10:49.195284 Received DATA (on stdin)
03:10:49.195347 > 1 bytes data, server => client
03:10:49.195396 'o'
03:10:49.205358 Received DATA (on stdin)
03:10:49.205417 > 1 bytes data, server => client
03:10:49.205444 's'
03:10:49.215437 Received DATA (on stdin)
03:10:49.215495 > 1 bytes data, server => client
03:10:49.215523 's'
03:10:49.225499 Received DATA (on stdin)
03:10:49.225557 > 1 bytes data, server => client
03:10:49.225584 'i'
03:10:49.235558 Received DATA (on stdin)
03:10:49.235617 > 1 bytes data, server => client
03:10:49.235644 'b'
03:10:49.245647 Received DATA (on stdin)
03:10:49.245707 > 1 bytes data, server => client
03:10:49.245735 'l'
03:10:49.255728 Received DATA (on stdin)
03:10:49.255804 > 1 bytes data, server => client
03:10:49.255835 'y'
03:10:49.265818 Received DATA (on stdin)
03:10:49.265877 > 1 bytes data, server => client
03:10:49.265905 ' '
03:10:49.275881 Received DATA (on stdin)
03:10:49.275934 > 1 bytes data, server => client
03:10:49.275966 'b'
03:10:49.285959 Received DATA (on stdin)
03:10:49.286011 > 1 bytes data, server => client
03:10:49.286036 'e'
03:10:49.296065 Received DATA (on stdin)
03:10:49.296126 > 1 bytes data, server => client
03:10:49.296153 ' '
03:10:49.306119 Received DATA (on stdin)
03:10:49.306186 > 1 bytes data, server => client
03:10:49.306222 's'
03:10:49.316228 Received DATA (on stdin)
03:10:49.316287 > 1 bytes data, server => client
03:10:49.316315 'e'
03:10:49.326331 Received DATA (on stdin)
03:10:49.326392 > 1 bytes data, server => client
03:10:49.326420 'n'
03:10:49.336400 Received DATA (on stdin)
03:10:49.336453 > 1 bytes data, server => client
03:10:49.336485 't'
03:10:49.346490 Received DATA (on stdin)
03:10:49.346530 > 1 bytes data, server => client
03:10:49.346553 ' '
03:10:49.356584 Received DATA (on stdin)
03:10:49.356638 > 1 bytes data, server => client
03:10:49.356669 'i'
03:10:49.366674 Received DATA (on stdin)
03:10:49.366712 > 1 bytes data, server => client
03:10:49.366735 'n'
03:10:49.376785 Received DATA (on stdin)
03:10:49.376844 > 1 bytes data, server => client
03:10:49.376872 ' '
03:10:49.386857 Received DATA (on stdin)
03:10:49.386911 > 1 bytes data, server => client
03:10:49.386936 't'
03:10:49.396945 Received DATA (on stdin)
03:10:49.396999 > 1 bytes data, server => client
03:10:49.397024 'h'
03:10:49.407036 Received DATA (on stdin)
03:10:49.407083 > 1 bytes data, server => client
03:10:49.407108 'e'
03:10:49.417128 Received DATA (on stdin)
03:10:49.417170 > 1 bytes data, server => client
03:10:49.417201 ' '
03:10:49.427218 Received DATA (on stdin)
03:10:49.427289 > 1 bytes data, server => client
03:10:49.427316 't'
03:10:49.437348 Received DATA (on stdin)
03:10:49.437420 > 1 bytes data, server => client
03:10:49.437447 'i'
03:10:49.447441 Received DATA (on stdin)
03:10:49.447501 > 1 bytes data, server => client
03:10:49.447529 'm'
03:10:49.457519 Received DATA (on stdin)
03:10:49.457590 > 1 bytes data, server => client
03:10:49.457619 'e'
03:10:49.467610 Received DATA (on stdin)
03:10:49.467669 > 1 bytes data, server => client
03:10:49.467697 ' '
03:10:49.477698 Received DATA (on stdin)
03:10:49.477757 > 1 bytes data, server => client
03:10:49.477785 'a'
03:10:49.487793 Received DATA (on stdin)
03:10:49.487851 > 1 bytes data, server => client
03:10:49.487877 'l'
03:10:49.497852 Received DATA (on stdin)
03:10:49.497909 > 1 bytes data, server => client
03:10:49.497934 'l'
03:10:49.507936 Received DATA (on stdin)
03:10:49.507981 > 1 bytes data, server => client
03:10:49.508006 'o'
03:10:49.518040 Received DATA (on stdin)
03:10:49.518099 > 1 bytes data, server => client
03:10:49.518127 't'
03:10:49.528117 Received DATA (on stdin)
03:10:49.528176 > 1 bytes data, server => client
03:10:49.528203 't'
03:10:49.538205 Received DATA (on stdin)
03:10:49.538264 > 1 bytes data, server => client
03:10:49.538292 'e'
03:10:49.548294 Received DATA (on stdin)
03:10:49.548353 > 1 bytes data, server => client
03:10:49.548381 'd'
03:10:49.558386 Received DATA (on stdin)
03:10:49.558446 > 1 bytes data, server => client
03:10:49.558474 '.'
03:10:49.568476 Received DATA (on stdin)
03:10:49.568537 > 1 bytes data, server => client
03:10:49.568564 '\n'
03:10:49.578596 Received DATA (on stdin)
03:10:49.578655 > 1 bytes data, server => client
03:10:49.578683 'L'
03:10:49.588679 Received DATA (on stdin)
03:10:49.588742 > 1 bytes data, server => client
03:10:49.588769 'o'
03:10:49.598759 Received DATA (on stdin)
03:10:49.598825 > 1 bytes data, server => client
03:10:49.598852 'n'
03:10:49.608867 Received DATA (on stdin)
03:10:49.608926 > 1 bytes data, server => client
03:10:49.608954 'g'
03:10:49.618967 Received DATA (on stdin)
03:10:49.619026 > 1 bytes data, server => client
03:10:49.619053 ' '
03:10:49.629023 Received DATA (on stdin)
03:10:49.629084 > 1 bytes data, server => client
03:10:49.629109 'c'
03:10:49.639141 Received DATA (on stdin)
03:10:49.639201 > 1 bytes data, server => client
03:10:49.639229 'h'
03:10:49.649232 Received DATA (on stdin)
03:10:49.649292 > 1 bytes data, server => client
03:10:49.649319 'u'
03:10:49.659320 Received DATA (on stdin)
03:10:49.659380 > 1 bytes data, server => client
03:10:49.659407 'n'
03:10:49.669412 Received DATA (on stdin)
03:10:49.669471 > 1 bytes data, server => client
03:10:49.669498 'k'
03:10:49.679503 Received DATA (on stdin)
03:10:49.679562 > 1 bytes data, server => client
03:10:49.679590 ' '
03:10:49.689596 Received DATA (on stdin)
03:10:49.689655 > 1 bytes data, server => client
03:10:49.689682 'o'
03:10:49.699655 Received DATA (on stdin)
03:10:49.699709 > 1 bytes data, server => client
03:10:49.699734 'f'
03:10:49.709769 Received DATA (on stdin)
03:10:49.709828 > 1 bytes data, server => client
03:10:49.709855 ' '
03:10:49.719820 Received DATA (on stdin)
03:10:49.719878 > 1 bytes data, server => client
03:10:49.719907 'd'
03:10:49.729924 Received DATA (on stdin)
03:10:49.729982 > 1 bytes data, server => client
03:10:49.730010 'a'
03:10:49.740010 Received DATA (on stdin)
03:10:49.740068 > 1 bytes data, server => client
03:10:49.740096 't'
03:10:49.750072 Received DATA (on stdin)
03:10:49.750124 > 1 bytes data, server => client
03:10:49.750149 'a'
03:10:49.760182 Received DATA (on stdin)
03:10:49.760240 > 1 bytes data, server => client
03:10:49.760268 ' '
03:10:49.770273 Received DATA (on stdin)
03:10:49.770332 > 1 bytes data, server => client
03:10:49.770359 't'
03:10:49.780362 Received DATA (on stdin)
03:10:49.780420 > 1 bytes data, server => client
03:10:49.780448 'h'
03:10:49.790418 Received DATA (on stdin)
03:10:49.790472 > 1 bytes data, server => client
03:10:49.790505 'a'
03:10:49.800501 Received DATA (on stdin)
03:10:49.800560 > 1 bytes data, server => client
03:10:49.800590 't'
03:10:49.810591 Received DATA (on stdin)
03:10:49.810630 > 1 bytes data, server => client
03:10:49.810653 ' '
03:10:49.820697 Received DATA (on stdin)
03:10:49.820755 > 1 bytes data, server => client
03:10:49.820783 'c'
03:10:49.830771 Received DATA (on stdin)
03:10:49.830829 > 1 bytes data, server => client
03:10:49.830857 'o'
03:10:49.840857 Received DATA (on stdin)
03:10:49.840915 > 1 bytes data, server => client
03:10:49.840944 'u'
03:10:49.850940 Received DATA (on stdin)
03:10:49.850998 > 1 bytes data, server => client
03:10:49.851026 'l'
03:10:49.861033 Received DATA (on stdin)
03:10:49.861091 > 1 bytes data, server => client
03:10:49.861119 'd'
03:10:49.871100 Received DATA (on stdin)
03:10:49.871164 > 1 bytes data, server => client
03:10:49.871191 'n'
03:10:49.881186 Received DATA (on stdin)
03:10:49.881229 > 1 bytes data, server => client
03:10:49.881252 '''
03:10:49.891296 Received DATA (on stdin)
03:10:49.891364 > 1 bytes data, server => client
03:10:49.891391 't'
03:10:49.901379 Received DATA (on stdin)
03:10:49.901449 > 1 bytes data, server => client
03:10:49.901476 ' '
03:10:49.911458 Received DATA (on stdin)
03:10:49.911521 > 1 bytes data, server => client
03:10:49.911553 'p'
03:10:49.921547 Received DATA (on stdin)
03:10:49.921612 > 1 bytes data, server => client
03:10:49.921638 'o'
03:10:49.931615 Received DATA (on stdin)
03:10:49.931689 > 1 bytes data, server => client
03:10:49.931733 's'
03:10:49.941715 Received DATA (on stdin)
03:10:49.941802 > 1 bytes data, server => client
03:10:49.941824 's'
03:10:49.951837 Received DATA (on stdin)
03:10:49.951916 > 1 bytes data, server => client
03:10:49.951940 'i'
03:10:49.961940 Received DATA (on stdin)
03:10:49.962004 > 1 bytes data, server => client
03:10:49.962029 'b'
03:10:49.972074 Received DATA (on stdin)
03:10:49.972153 > 1 bytes data, server => client
03:10:49.972181 'l'
03:10:49.982168 Received DATA (on stdin)
03:10:49.982227 > 1 bytes data, server => client
03:10:49.982255 'y'
03:10:49.992260 Received DATA (on stdin)
03:10:49.992321 > 1 bytes data, server => client
03:10:49.992348 ' '
03:10:50.002332 Received DATA (on stdin)
03:10:50.002406 > 1 bytes data, server => client
03:10:50.002447 'b'
03:10:50.012445 Received DATA (on stdin)
03:10:50.012508 > 1 bytes data, server => client
03:10:50.012535 'e'
03:10:50.022519 Received DATA (on stdin)
03:10:50.022572 > 1 bytes data, server => client
03:10:50.022604 ' '
03:10:50.032631 Received DATA (on stdin)
03:10:50.032692 > 1 bytes data, server => client
03:10:50.032720 's'
03:10:50.042703 Received DATA (on stdin)
03:10:50.042762 > 1 bytes data, server => client
03:10:50.042790 'e'
03:10:50.052777 Received DATA (on stdin)
03:10:50.052837 > 1 bytes data, server => client
03:10:50.052865 'n'
03:10:50.062851 Received DATA (on stdin)
03:10:50.062910 > 1 bytes data, server => client
03:10:50.062938 't'
03:10:50.072932 Received DATA (on stdin)
03:10:50.072991 > 1 bytes data, server => client
03:10:50.073024 ' '
03:10:50.083012 Received DATA (on stdin)
03:10:50.083071 > 1 bytes data, server => client
03:10:50.083099 'i'
03:10:50.093089 Received DATA (on stdin)
03:10:50.093148 > 1 bytes data, server => client
03:10:50.093176 'n'
03:10:50.103180 Received DATA (on stdin)
03:10:50.103239 > 1 bytes data, server => client
03:10:50.103267 ' '
03:10:50.113262 Received DATA (on stdin)
03:10:50.113321 > 1 bytes data, server => client
03:10:50.113349 't'
03:10:50.123352 Received DATA (on stdin)
03:10:50.123411 > 1 bytes data, server => client
03:10:50.123439 'h'
03:10:50.133438 Received DATA (on stdin)
03:10:50.133515 > 1 bytes data, server => client
03:10:50.133557 'e'
03:10:50.143514 Received DATA (on stdin)
03:10:50.143577 > 1 bytes data, server => client
03:10:50.143594 ' '
03:10:50.153591 Received DATA (on stdin)
03:10:50.153637 > 1 bytes data, server => client
03:10:50.153648 't'
03:10:50.163670 Received DATA (on stdin)
03:10:50.163715 > 1 bytes data, server => client
03:10:50.163727 'i'
03:10:50.173796 Received DATA (on stdin)
03:10:50.173851 > 1 bytes data, server => client
03:10:50.173867 'm'
03:10:50.183889 Received DATA (on stdin)
03:10:50.183939 > 1 bytes data, server => client
03:10:50.183959 'e'
03:10:50.193971 Received DATA (on stdin)
03:10:50.194030 > 1 bytes data, server => client
03:10:50.194052 ' '
03:10:50.204091 Received DATA (on stdin)
03:10:50.204147 > 1 bytes data, server => client
03:10:50.204173 'a'
03:10:50.214174 Received DATA (on stdin)
03:10:50.214239 > 1 bytes data, server => client
03:10:50.214265 'l'
03:10:50.224262 Received DATA (on stdin)
03:10:50.224320 > 1 bytes data, server => client
03:10:50.224348 'l'
03:10:50.234324 Received DATA (on stdin)
03:10:50.234381 > 1 bytes data, server => client
03:10:50.234416 'o'
03:10:50.244433 Received DATA (on stdin)
03:10:50.244493 > 1 bytes data, server => client
03:10:50.244520 't'
03:10:50.254526 Received DATA (on stdin)
03:10:50.254584 > 1 bytes data, server => client
03:10:50.254612 't'
03:10:50.264618 Received DATA (on stdin)
03:10:50.264676 > 1 bytes data, server => client
03:10:50.264703 'e'
03:10:50.274711 Received DATA (on stdin)
03:10:50.274770 > 1 bytes data, server => client
03:10:50.274797 'd'
03:10:50.284794 Received DATA (on stdin)
03:10:50.284852 > 1 bytes data, server => client
03:10:50.284879 '.'
03:10:50.294875 Received DATA (on stdin)
03:10:50.294934 > 1 bytes data, server => client
03:10:50.294960 '\n'
03:10:50.304979 Received DATA (on stdin)
03:10:50.305037 > 1 bytes data, server => client
03:10:50.305065 'L'
03:10:50.315066 Received DATA (on stdin)
03:10:50.315125 > 1 bytes data, server => client
03:10:50.315152 'o'
03:10:50.325159 Received DATA (on stdin)
03:10:50.325235 > 1 bytes data, server => client
03:10:50.325263 'n'
03:10:50.335240 Received DATA (on stdin)
03:10:50.335298 > 1 bytes data, server => client
03:10:50.335326 'g'
03:10:50.345317 Received DATA (on stdin)
03:10:50.345376 > 1 bytes data, server => client
03:10:50.345403 ' '
03:10:50.355401 Received DATA (on stdin)
03:10:50.355461 > 1 bytes data, server => client
03:10:50.355488 'c'
03:10:50.365488 Received DATA (on stdin)
03:10:50.365547 > 1 bytes data, server => client
03:10:50.365574 'h'
03:10:50.375580 Received DATA (on stdin)
03:10:50.375638 > 1 bytes data, server => client
03:10:50.375665 'u'
03:10:50.385662 Received DATA (on stdin)
03:10:50.385720 > 1 bytes data, server => client
03:10:50.385747 'n'
03:10:50.395756 Received DATA (on stdin)
03:10:50.395846 > 1 bytes data, server => client
03:10:50.395867 'k'
03:10:50.405815 Received DATA (on stdin)
03:10:50.405857 > 1 bytes data, server => client
03:10:50.405874 ' '
03:10:50.415915 Received DATA (on stdin)
03:10:50.415958 > 1 bytes data, server => client
03:10:50.415970 'o'
03:10:50.425994 Received DATA (on stdin)
03:10:50.426022 > 1 bytes data, server => client
03:10:50.426031 'f'
03:10:50.436100 Received DATA (on stdin)
03:10:50.436168 > 1 bytes data, server => client
03:10:50.436185 ' '
03:10:50.446196 Received DATA (on stdin)
03:10:50.446232 > 1 bytes data, server => client
03:10:50.446262 'd'
03:10:50.456303 Received DATA (on stdin)
03:10:50.456359 > 1 bytes data, server => client
03:10:50.456388 'a'
03:10:50.466426 Received DATA (on stdin)
03:10:50.466489 > 1 bytes data, server => client
03:10:50.466514 't'
03:10:50.476519 Received DATA (on stdin)
03:10:50.476578 > 1 bytes data, server => client
03:10:50.476606 'a'
03:10:50.486624 Received DATA (on stdin)
03:10:50.486699 > 1 bytes data, server => client
03:10:50.486730 ' '
03:10:50.496735 Received DATA (on stdin)
03:10:50.496795 > 1 bytes data, server => client
03:10:50.496823 't'
03:10:50.506804 Received DATA (on stdin)
03:10:50.506858 > 1 bytes data, server => client
03:10:50.506883 'h'
03:10:50.516920 Received DATA (on stdin)
03:10:50.516979 > 1 bytes data, server => client
03:10:50.517007 'a'
03:10:50.527002 Received DATA (on stdin)
03:10:50.527061 > 1 bytes data, server => client
03:10:50.527089 't'
03:10:50.537091 Received DATA (on stdin)
03:10:50.537150 > 1 bytes data, server => client
03:10:50.537177 ' '
03:10:50.547183 Received DATA (on stdin)
03:10:50.547242 > 1 bytes data, server => client
03:10:50.547269 'c'
03:10:50.557251 Received DATA (on stdin)
03:10:50.557304 > 1 bytes data, server => client
03:10:50.557329 'o'
03:10:50.567367 Received DATA (on stdin)
03:10:50.567426 > 1 bytes data, server => client
03:10:50.567453 'u'
03:10:50.577437 Received DATA (on stdin)
03:10:50.577495 > 1 bytes data, server => client
03:10:50.577522 'l'
03:10:50.587550 Received DATA (on stdin)
03:10:50.587609 > 1 bytes data, server => client
03:10:50.587637 'd'
03:10:50.597609 Received DATA (on stdin)
03:10:50.597667 > 1 bytes data, server => client
03:10:50.597694 'n'
03:10:50.607687 Received DATA (on stdin)
03:10:50.607726 > 1 bytes data, server => client
03:10:50.607757 '''
03:10:50.617776 Received DATA (on stdin)
03:10:50.617813 > 1 bytes data, server => client
03:10:50.617836 't'
03:10:50.627862 Received DATA (on stdin)
03:10:50.627898 > 1 bytes data, server => client
03:10:50.627921 ' '
03:10:50.637955 Received DATA (on stdin)
03:10:50.638000 > 1 bytes data, server => client
03:10:50.638023 'p'
03:10:50.648067 Received DATA (on stdin)
03:10:50.648126 > 1 bytes data, server => client
03:10:50.648154 'o'
03:10:50.658152 Received DATA (on stdin)
03:10:50.658216 > 1 bytes data, server => client
03:10:50.658244 's'
03:10:50.668226 Received DATA (on stdin)
03:10:50.668285 > 1 bytes data, server => client
03:10:50.668313 's'
03:10:50.678315 Received DATA (on stdin)
03:10:50.678377 > 1 bytes data, server => client
03:10:50.678404 'i'
03:10:50.688385 Received DATA (on stdin)
03:10:50.688437 > 1 bytes data, server => client
03:10:50.688465 'b'
=== File too long: 2379 lines omitted here
03:10:58.477279 Received DATA (on stdin)
03:10:58.477332 > 1 bytes data, server => client
03:10:58.477358 ' '
03:10:58.477376 *** We are disconnected
03:10:58.487393 Received DATA (on stdin)
03:10:58.487452 > 1 bytes data, server => client
03:10:58.487480 't'
03:10:58.487498 *** We are disconnected
03:10:58.497483 Received DATA (on stdin)
03:10:58.497543 > 1 bytes data, server => client
03:10:58.497571 'h'
03:10:58.497589 *** We are disconnected
03:10:58.507553 Received DATA (on stdin)
03:10:58.507605 > 1 bytes data, server => client
03:10:58.507630 'a'
03:10:58.507649 *** We are disconnected
03:10:58.517645 Received DATA (on stdin)
03:10:58.517684 > 1 bytes data, server => client
03:10:58.517706 't'
03:10:58.517725 *** We are disconnected
03:10:58.527736 Received DATA (on stdin)
03:10:58.527800 > 1 bytes data, server => client
03:10:58.527826 ' '
03:10:58.527845 *** We are disconnected
03:10:58.537833 Received DATA (on stdin)
03:10:58.537888 > 1 bytes data, server => client
03:10:58.537913 'c'
03:10:58.537932 *** We are disconnected
03:10:58.547936 Received DATA (on stdin)
03:10:58.547995 > 1 bytes data, server => client
03:10:58.548022 'o'
03:10:58.548041 *** We are disconnected
03:10:58.558002 Received DATA (on stdin)
03:10:58.558055 > 1 bytes data, server => client
03:10:58.558080 'u'
03:10:58.558098 *** We are disconnected
03:10:58.568108 Received DATA (on stdin)
03:10:58.568167 > 1 bytes data, server => client
03:10:58.568195 'l'
03:10:58.568214 *** We are disconnected
03:10:58.578174 Received DATA (on stdin)
03:10:58.578226 > 1 bytes data, server => client
03:10:58.578261 'd'
03:10:58.578281 *** We are disconnected
03:10:58.588264 Received DATA (on stdin)
03:10:58.588299 > 1 bytes data, server => client
03:10:58.588321 'n'
03:10:58.588349 *** We are disconnected
03:10:58.598357 Received DATA (on stdin)
03:10:58.598401 > 1 bytes data, server => client
03:10:58.598431 '''
03:10:58.598450 *** We are disconnected
03:10:58.608471 Received DATA (on stdin)
03:10:58.608530 > 1 bytes data, server => client
03:10:58.608558 't'
03:10:58.608576 *** We are disconnected
03:10:58.618561 Received DATA (on stdin)
03:10:58.618621 > 1 bytes data, server => client
03:10:58.618648 ' '
03:10:58.618667 *** We are disconnected
03:10:58.628652 Received DATA (on stdin)
03:10:58.628711 > 1 bytes data, server => client
03:10:58.628739 'p'
03:10:58.628757 *** We are disconnected
03:10:58.638742 Received DATA (on stdin)
03:10:58.638801 > 1 bytes data, server => client
03:10:58.638829 'o'
03:10:58.638847 *** We are disconnected
03:10:58.648810 Received DATA (on stdin)
03:10:58.648865 > 1 bytes data, server => client
03:10:58.648907 's'
03:10:58.648928 *** We are disconnected
03:10:58.658928 Received DATA (on stdin)
03:10:58.658988 > 1 bytes data, server => client
03:10:58.659016 's'
03:10:58.659034 *** We are disconnected
03:10:58.668988 Received DATA (on stdin)
03:10:58.669041 > 1 bytes data, server => client
03:10:58.669066 'i'
03:10:58.669085 *** We are disconnected
03:10:58.679099 Received DATA (on stdin)
03:10:58.679164 > 1 bytes data, server => client
03:10:58.679191 'b'
03:10:58.679209 *** We are disconnected
03:10:58.689191 Received DATA (on stdin)
03:10:58.689250 > 1 bytes data, server => client
03:10:58.689278 'l'
03:10:58.689297 *** We are disconnected
03:10:58.699257 Received DATA (on stdin)
03:10:58.699315 > 1 bytes data, server => client
03:10:58.699341 'y'
03:10:58.699360 *** We are disconnected
03:10:58.709348 Received DATA (on stdin)
03:10:58.709400 > 1 bytes data, server => client
03:10:58.709425 ' '
03:10:58.709449 *** We are disconnected
03:10:58.719442 Received DATA (on stdin)
03:10:58.719484 > 1 bytes data, server => client
03:10:58.719508 'b'
03:10:58.719526 *** We are disconnected
03:10:58.729560 Received DATA (on stdin)
03:10:58.729622 > 1 bytes data, server => client
03:10:58.729650 'e'
03:10:58.729668 *** We are disconnected
03:10:58.739650 Received DATA (on stdin)
03:10:58.739708 > 1 bytes data, server => client
03:10:58.739736 ' '
03:10:58.739754 *** We are disconnected
03:10:58.749742 Received DATA (on stdin)
03:10:58.749800 > 1 bytes data, server => client
03:10:58.749828 's'
03:10:58.749846 *** We are disconnected
03:10:58.759824 Received DATA (on stdin)
03:10:58.759876 > 1 bytes data, server => client
03:10:58.759901 'e'
03:10:58.759920 *** We are disconnected
03:10:58.769942 Received DATA (on stdin)
03:10:58.770000 > 1 bytes data, server => client
03:10:58.770028 'n'
03:10:58.770046 *** We are disconnected
03:10:58.780027 Received DATA (on stdin)
03:10:58.780086 > 1 bytes data, server => client
03:10:58.780113 't'
03:10:58.780131 *** We are disconnected
03:10:58.790117 Received DATA (on stdin)
03:10:58.790175 > 1 bytes data, server => client
03:10:58.790202 ' '
03:10:58.790220 *** We are disconnected
03:10:58.800201 Received DATA (on stdin)
03:10:58.800260 > 1 bytes data, server => client
03:10:58.800287 'i'
03:10:58.800305 *** We are disconnected
03:10:58.810280 Received DATA (on stdin)
03:10:58.810339 > 1 bytes data, server => client
03:10:58.810367 'n'
03:10:58.810385 *** We are disconnected
03:10:58.820346 Received DATA (on stdin)
03:10:58.820400 > 1 bytes data, server => client
03:10:58.820431 ' '
03:10:58.820450 *** We are disconnected
03:10:58.830460 Received DATA (on stdin)
03:10:58.830518 > 1 bytes data, server => client
03:10:58.830545 't'
03:10:58.830564 *** We are disconnected
03:10:58.840553 Received DATA (on stdin)
03:10:58.840611 > 1 bytes data, server => client
03:10:58.840638 'h'
03:10:58.840657 *** We are disconnected
03:10:58.850628 Received DATA (on stdin)
03:10:58.850684 > 1 bytes data, server => client
03:10:58.850708 'e'
03:10:58.850726 *** We are disconnected
03:10:58.860741 Received DATA (on stdin)
03:10:58.860799 > 1 bytes data, server => client
03:10:58.860827 ' '
03:10:58.860845 *** We are disconnected
03:10:58.870832 Received DATA (on stdin)
03:10:58.870891 > 1 bytes data, server => client
03:10:58.870918 't'
03:10:58.870937 *** We are disconnected
03:10:58.880924 Received DATA (on stdin)
03:10:58.880983 > 1 bytes data, server => client
03:10:58.881010 'i'
03:10:58.881029 *** We are disconnected
03:10:58.891019 Received DATA (on stdin)
03:10:58.891077 > 1 bytes data, server => client
03:10:58.891104 'm'
03:10:58.891122 *** We are disconnected
03:10:58.901112 Received DATA (on stdin)
03:10:58.901170 > 1 bytes data, server => client
03:10:58.901198 'e'
03:10:58.901216 *** We are disconnected
03:10:58.911194 Received DATA (on stdin)
03:10:58.911252 > 1 bytes data, server => client
03:10:58.911280 ' '
03:10:58.911298 *** We are disconnected
03:10:58.921256 Received DATA (on stdin)
03:10:58.921308 > 1 bytes data, server => client
03:10:58.921333 'a'
03:10:58.921368 *** We are disconnected
03:10:58.931362 Received DATA (on stdin)
03:10:58.931427 > 1 bytes data, server => client
03:10:58.931467 'l'
03:10:58.931498 *** We are disconnected
03:10:58.941451 Received DATA (on stdin)
03:10:58.941510 > 1 bytes data, server => client
03:10:58.941537 'l'
03:10:58.941556 *** We are disconnected
03:10:58.951522 Received DATA (on stdin)
03:10:58.951580 > 1 bytes data, server => client
03:10:58.951609 'o'
03:10:58.951627 *** We are disconnected
03:10:58.961627 Received DATA (on stdin)
03:10:58.961685 > 1 bytes data, server => client
03:10:58.961713 't'
03:10:58.961731 *** We are disconnected
03:10:58.971714 Received DATA (on stdin)
03:10:58.971788 > 1 bytes data, server => client
03:10:58.971817 't'
03:10:58.971836 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.09 03:10:38 LOG5[1970]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:10:38 LOG5[1970]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:10:38 LOG5[1970]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:10:38 LOG5[1970]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:10:38 LOG5[1970]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:10:38 LOG5[1970]: Reading configuration from file /build-29962/tests/ftps_stunnel.conf
2019.08.09 03:10:38 LOG5[1970]: FIPS mode disabled
2019.08.09 03:10:38 LOG5[1970]: Configuration successful
2019.08.09 03:10:39 LOG5[1976]: Service [curltest] accepted connection from 127.0.0.1:57668
2019.08.09 03:10:39 LOG5[1976]: s_connect: connected 127.0.0.1:8992
2019.08.09 03:10:39 LOG5[1976]: Service [curltest] connected remote server from 127.0.0.1:46630
2019.08.09 03:10:39 LOG5[1976]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.09 03:10:41 LOG5[1981]: Service [curltest] accepted connection from 127.0.0.1:57674
2019.08.09 03:10:43 LOG5[1981]: s_connect: connected 127.0.0.1:8992
2019.08.09 03:10:43 LOG5[1981]: Service [curltest] connected remote server from 127.0.0.1:46636
2019.08.09 03:10:57 LOG5[1981]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.08.09 03:10:58 LOG5[1970]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x557490dd9798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x557490dd9798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x557490dd9798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x557490def370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x557490dd9798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x557490def370 (line 792) state change from WAIT220 to USER
{ [5 bytes data]
< 331 We are happy you popped in
} [5 bytes data]
> PASS ftp@example.com
* FTP 0x557490def370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x557490def370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x557490def370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x557490def370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x557490def370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x557490dd9798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x557490def370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x557490dd9798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||43125|)
* Trying 127.0.0.1:43125...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 43125
* FTP 0x557490def370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x557490dd9798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x557490def370 (line 3418) state change from STOP to RETR_TYPE
{ [5 bytes data]
< 200 I modify TYPE as you wanted
} [5 bytes data]
> SIZE verifiedserver
* FTP 0x557490def370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 16
} [5 bytes data]
> RETR verifiedserver
* FTP 0x557490def370 (line 2229) state change from RETR_SIZE to RETR
{ [5 bytes data]
< 150 Binary junk (16 bytes).
* Maxdownload = -1
* Getting file with size: 16
* FTP 0x557490def370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x557490dd9798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x557490dd9798; line 1749 (connection #0)
{ [16 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x557490dd9798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x557490dd9798)
=== End of file ftps_verify.log
=== Start of file server.input
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
SIZE 1112
RETR 1112
=== End of file server.input
=== Start of file stderr1112
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0
0 3600 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
1 3600 1 61 0 0 9 0 0:06:40 0:00:06 0:06:34 15
4 3600 4 160 0 0 22 0 0:02:43 0:00:07 0:02:36 31
7 3600 7 259 0 0 31 0 0:01:56 0:00:08 0:01:48 51
9 3600 9 358 0 0 38 0 0:01:34 0:00:09 0:01:25 71
12 3600 12 457 0 0 44 0 0:01:21 0:00:10 0:01:11 91
15 3600 15 557 0 0 49 0 0:01:13 0:00:11 0:01:02 99
18 3600 18 656 0 0 53 0 0:01:07 0:00:12 0:00:55 99
20 3600 20 755 0 0 57 0 0:01:03 0:00:13 0:00:50 99
23 3600 23 854 0 0 60 0 0:01:00 0:00:14 0:00:46 99
26 3600 26 953 0 0 62 0 0:00:58 0:00:15 0:00:43 99
28 3600 28 1032 0 0 64 0 0:00:56 0:00:16 0:00:40 98
curl: (28) Operation timed out after 16000 milliseconds with 1032 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:10:41.793226 == Info: STATE: INIT => CONNECT handle 0x56c52e8; line 1362 (connection #-5000)
03:10:41.849183 == Info: Added connection 0. The cache now contains 1 members
03:10:41.867088 == Info: Trying 127.0.0.1:8993...
03:10:41.867712 == Info: TCP_NODELAY set
03:10:41.872377 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52e8; line 1418 (connection #0)
03:10:41.884161 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:41.884755 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52e8; line 1538 (connection #0)
03:10:41.885891 == Info: Marked for [keep alive]: FTP default
03:10:43.351456 == Info: successfully set certificate verify locations:
03:10:43.351720 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:43.465385 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:43.470452 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:43.470513 => Send SSL data, 126 bytes (0x7e)
0000: ...z...P.&..Gn.....< .}...?)....2.b.$~....+./.,.0...............
0040: ../.5.....3...................................................
03:10:43.487436 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:43.493035 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:43.493092 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..A..........`.HXa)..15....../..eW s.......e..d._..0.Rdjv.X}
0040: ....#.6./................
03:10:43.536968 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.537412 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:43.537466 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:10:43.636147 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:43.636406 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:43.636462 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.x;3X.bX..?.....?..Y.+...6.......r=M."{P},c.d.#V[7F]....n<1
0040: ..;.....y......&V....{L.....L7TkKk..Xj..\,r...VK......s.g.l.B4:.
0080: ..F..OL..8...............e.P.....TM.......i>E...rY...a...J.. *..
00c0: ~.D.Y.......I..vS.?.............wY......t........~..$.N%.6.q:...
0100: ..4..P.w.p....U...}._e..i.B.....'.d.r:...!.Er....:H..J..........
0140: ......r...[..
03:10:43.706214 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.706543 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:43.706603 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:43.822503 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:43.822769 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:43.822828 => Send SSL data, 70 bytes (0x46)
0000: ...BA.^H.:...tk...-....9..jf..B....A.&.f...)r.Q..%....v?........
0040: .q...d
03:10:43.834752 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:43.835364 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:43.835422 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:43.856874 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:43.856931 => Send SSL data, 16 bytes (0x10)
0000: .........B/.EwD.
03:10:43.869434 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:43.872008 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.873107 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:43.873163 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:43.875611 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:43.881287 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:43.881341 <= Recv SSL data, 16 bytes (0x10)
0000: ....K.DTj../.*.X
03:10:43.909764 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:43.912033 == Info: Server certificate:
03:10:43.919558 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:43.925726 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:43.926681 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:43.927602 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:43.928478 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:43.929965 == Info: FTP 0x57410f0 (line 3092) state change from STOP to WAIT220
03:10:43.936256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.939580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.939823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.940049 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.940273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.940493 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.940713 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.943666 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52e8; line 1553 (connection #0)
03:10:43.949778 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.951511 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.961654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.971810 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.981922 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.992067 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.002182 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.012348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.022460 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.032472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.042602 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.052730 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.062813 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.072906 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.082997 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.093086 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.103292 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.113296 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.123470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.133499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.143654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.153628 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.163761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.173838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.183953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.184959 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:44.193991 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.203999 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.214184 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.224340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.234345 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.244504 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.254528 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.264646 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.274709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.284794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.294909 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.304978 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.315070 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.325136 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.335249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.345359 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.355428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.365530 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.375588 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.385709 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.395797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.405895 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.416048 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.426193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.436203 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.446296 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.456391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.466505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.476576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.486659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.496763 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.506815 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.507168 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:44.516904 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.527043 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.537123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.547407 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.557451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.567495 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.577528 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.587582 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.597752 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.607810 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.617885 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.628012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.638098 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.648218 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.658257 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.668379 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.678448 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.688512 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.698576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.708675 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.718797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.728858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.738936 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.749047 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.759130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.769216 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.779266 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.789386 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.799522 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.809571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.819633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.829752 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.830105 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:44.839860 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.849935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.860044 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.870114 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.880193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.890300 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.900406 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.910466 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.920543 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.930649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.940801 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.950860 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.960942 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.971059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.981217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.991221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.001363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.011546 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.021472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.031681 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.041703 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.051802 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.061918 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.071990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.082059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.092178 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.102249 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.112355 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.122423 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.132531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.142613 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.152681 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.153050 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:45.162808 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.172866 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.182992 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.193050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.203127 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.213166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.223281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.233327 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.243432 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.253520 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.263653 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.273742 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.283869 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.293946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.304590 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.314636 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.324776 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.334751 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.344940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.354992 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.365074 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.375152 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.385219 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.395338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.405418 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.415492 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.425654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.436013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.445898 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.455963 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.466017 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.476087 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.476439 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:45.490850 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:45.493766 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:45.494572 == Info: FTP 0x57410f0 (line 792) state change from WAIT220 to USER
03:10:45.494940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.536266 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.543677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.553800 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.563909 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.564260 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:45.567464 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:45.567788 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:45.568747 == Info: FTP 0x57410f0 (line 2520) state change from USER to PASS
03:10:45.574207 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.616278 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.624715 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.634819 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.644929 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.645302 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:45.647060 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:45.647382 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:45.648303 == Info: FTP 0x57410f0 (line 2496) state change from PASS to PBSZ
03:10:45.655170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.696260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.705721 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.715812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.725894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.736001 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.746086 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.756194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.766269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.776389 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.786424 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.796527 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.806618 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.816708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.826801 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.836890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.847011 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.857089 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.867174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.877270 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.887309 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.897461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.907752 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.908299 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:45.910420 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:45.910871 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:45.911997 == Info: FTP 0x57410f0 (line 2709) state change from PBSZ to PROT
03:10:45.918065 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.960319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.968385 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.978470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.988574 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.998669 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.008879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.018567 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.028572 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.038646 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.048770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.058935 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.069016 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.079110 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.089145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.099170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.109417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.119544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.129626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.139760 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.149963 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.160055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.170152 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.170545 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:46.172400 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:46.172708 => Send header, 5 bytes (0x5)
0000: PWD
03:10:46.173548 == Info: FTP 0x57410f0 (line 804) state change from PROT to PWD
03:10:46.180576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.224443 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.231021 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.241033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.251173 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.261228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.261648 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:46.264488 == Info: Entry path is '/'
03:10:46.265072 == Info: FTP 0x57410f0 (line 2844) state change from PWD to STOP
03:10:46.265492 == Info: protocol connect phase DONE
03:10:46.266173 == Info: STATE: PROTOCONNECT => DO handle 0x56c52e8; line 1572 (connection #0)
03:10:46.272316 == Info: DO phase starts
03:10:46.274332 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:46.274454 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:46.274845 == Info: FTP 0x57410f0 (line 1330) state change from STOP to PASV
03:10:46.275073 == Info: Connect data stream passively
03:10:46.276213 == Info: ftp_perform ends with SECONDARY: 0
03:10:46.277200 == Info: STATE: DO => DOING handle 0x56c52e8; line 1614 (connection #0)
03:10:46.278405 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.320351 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.327441 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.337553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.347626 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.357581 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.367785 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.377876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.387991 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.398096 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.408189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.418308 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.428481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.438451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.448537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.458594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.468722 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.478797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.488867 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.498941 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.509129 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.519117 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.529306 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.539417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.549451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.559558 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.569664 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.579755 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.589822 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.599980 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.610012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.620150 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.630230 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.640324 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.650357 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.650720 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||44035|).
03:10:46.663022 == Info: Trying 127.0.0.1:44035...
03:10:46.663130 == Info: TCP_NODELAY set
03:10:46.665836 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 44035
03:10:46.667711 == Info: FTP 0x57410f0 (line 1977) state change from PASV to STOP
03:10:46.668332 == Info: DO phase is complete2
03:10:46.668594 == Info: STATE: DOING => DO_MORE handle 0x56c52e8; line 1699 (connection #0)
03:10:46.669305 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:46.669520 == Info: DO-MORE connected phase starts
03:10:46.670875 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:46.671010 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:46.671367 == Info: FTP 0x57410f0 (line 3418) state change from STOP to RETR_TYPE
03:10:46.671785 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.712735 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.722179 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.732361 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.742463 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.742891 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:46.746072 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:46.746403 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:46.747383 == Info: FTP 0x57410f0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:46.753544 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.796326 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.803944 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.814090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.824133 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.834265 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.844319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.844671 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:46.848985 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:46.849299 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:46.850230 == Info: FTP 0x57410f0 (line 2229) state change from RETR_SIZE to RETR
03:10:46.855271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.896244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.905688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.915990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.925902 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.935992 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.946114 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.956275 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.966372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.976428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.986588 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.996536 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.006680 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.016698 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.026723 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.036938 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.047093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.057235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.066850 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.077056 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.087284 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.097499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.107252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.117451 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.127666 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.137991 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.147999 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.157959 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.168142 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.178128 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.188268 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.198530 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.208403 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.218484 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.228545 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.238650 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.248831 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.258794 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.268910 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.279059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.289075 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.299166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.309246 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.319450 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.329425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.339452 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.349491 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.359807 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.369658 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.379789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.389952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.390448 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:47.393352 == Info: Maxdownload = -1
03:10:47.393892 == Info: Getting file with size: 3600
03:10:47.397627 == Info: FTP 0x57410f0 (line 477) state change from RETR to STOP
03:10:47.399049 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52e8; line 1724 (connection #0)
03:10:47.400068 == Info: STATE: DO_DONE => PERFORM handle 0x56c52e8; line 1749 (connection #0)
03:10:47.405939 <= Recv data, 1 bytes (0x1)
0000: L
03:10:47.411167 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.419930 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.430135 <= Recv data, 1 bytes (0x1)
0000: g
03:10:47.440178 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.450249 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.460382 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.470450 <= Recv data, 1 bytes (0x1)
0000: u
03:10:47.480552 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.490784 <= Recv data, 1 bytes (0x1)
0000: k
03:10:47.500682 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.510765 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.520923 <= Recv data, 1 bytes (0x1)
0000: f
03:10:47.530934 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.541015 <= Recv data, 1 bytes (0x1)
0000: d
03:10:47.551232 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.561312 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.571424 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.581377 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.591464 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.601443 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.611601 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.621659 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.632007 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.641839 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.651942 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.662086 <= Recv data, 1 bytes (0x1)
0000: u
03:10:47.672217 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.682236 <= Recv data, 1 bytes (0x1)
0000: d
03:10:47.692456 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.702508 <= Recv data, 1 bytes (0x1)
0000: '
03:10:47.712490 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.722593 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.732708 <= Recv data, 1 bytes (0x1)
0000: p
03:10:47.742741 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.752869 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.762916 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.773081 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.783138 <= Recv data, 1 bytes (0x1)
0000: b
03:10:47.793230 <= Recv data, 1 bytes (0x1)
0000: l
03:10:47.803296 <= Recv data, 1 bytes (0x1)
0000: y
03:10:47.813391 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.823539 <= Recv data, 1 bytes (0x1)
0000: b
03:10:47.833527 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.843686 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.853746 <= Recv data, 1 bytes (0x1)
0000: s
03:10:47.863939 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.873895 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.883977 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.894072 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.904154 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.914309 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.924410 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.934342 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.944459 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.954480 <= Recv data, 1 bytes (0x1)
0000: e
03:10:47.964487 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.974626 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.984864 <= Recv data, 1 bytes (0x1)
0000: i
03:10:47.994791 <= Recv data, 1 bytes (0x1)
0000: m
03:10:48.004946 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.014906 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.025044 <= Recv data, 1 bytes (0x1)
0000: a
03:10:48.035143 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.045262 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.055457 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.065503 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.075576 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.085714 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.095956 <= Recv data, 1 bytes (0x1)
0000: d
03:10:48.106040 <= Recv data, 1 bytes (0x1)
0000: .
03:10:48.116177 <= Recv data, 1 bytes (0x1)
0000: .
03:10:48.126169 <= Recv data, 1 bytes (0x1)
0000: L
03:10:48.136254 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.146382 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.156387 <= Recv data, 1 bytes (0x1)
0000: g
03:10:48.166587 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.176491 <= Recv data, 1 bytes (0x1)
0000: c
03:10:48.186695 <= Recv data, 1 bytes (0x1)
0000: h
03:10:48.196825 <= Recv data, 1 bytes (0x1)
0000: u
03:10:48.206895 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.216987 <= Recv data, 1 bytes (0x1)
0000: k
03:10:48.227066 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.237152 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.247249 <= Recv data, 1 bytes (0x1)
0000: f
03:10:48.257306 <= Recv data, 1 bytes (0x1)
=== File too long: 1704 lines omitted here
0000: o
03:10:56.863871 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.873917 <= Recv data, 1 bytes (0x1)
0000: g
03:10:56.883991 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.894056 <= Recv data, 1 bytes (0x1)
0000: c
03:10:56.904141 <= Recv data, 1 bytes (0x1)
0000: h
03:10:56.914251 <= Recv data, 1 bytes (0x1)
0000: u
03:10:56.924446 <= Recv data, 1 bytes (0x1)
0000: n
03:10:56.934394 <= Recv data, 1 bytes (0x1)
0000: k
03:10:56.944420 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.954491 <= Recv data, 1 bytes (0x1)
0000: o
03:10:56.964574 <= Recv data, 1 bytes (0x1)
0000: f
03:10:56.974714 <= Recv data, 1 bytes (0x1)
0000:
03:10:56.984850 <= Recv data, 1 bytes (0x1)
0000: d
03:10:56.995000 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.005215 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.015212 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.025323 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.035390 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.045479 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.055556 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.065641 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.075741 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.085830 <= Recv data, 1 bytes (0x1)
0000: c
03:10:57.095932 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.106004 <= Recv data, 1 bytes (0x1)
0000: u
03:10:57.116151 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.126228 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.136246 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.146403 <= Recv data, 1 bytes (0x1)
0000: '
03:10:57.156415 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.166536 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.176599 <= Recv data, 1 bytes (0x1)
0000: p
03:10:57.186696 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.196768 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.206885 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.216951 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.227090 <= Recv data, 1 bytes (0x1)
0000: b
03:10:57.237175 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.247263 <= Recv data, 1 bytes (0x1)
0000: y
03:10:57.257354 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.267391 <= Recv data, 1 bytes (0x1)
0000: b
03:10:57.277497 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.287630 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.297677 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.307798 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.317903 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.328019 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.338079 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.348157 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.358229 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.368350 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.378420 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.388370 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.398656 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.408690 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.418836 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.428923 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.438970 <= Recv data, 1 bytes (0x1)
0000: m
03:10:57.449066 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.459217 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.469264 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.479332 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.489412 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.499487 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.509568 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.519639 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.529715 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.539810 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.549858 <= Recv data, 1 bytes (0x1)
0000: .
03:10:57.559920 <= Recv data, 1 bytes (0x1)
0000: .
03:10:57.570034 <= Recv data, 1 bytes (0x1)
0000: L
03:10:57.580100 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.590193 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.600280 <= Recv data, 1 bytes (0x1)
0000: g
03:10:57.610366 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.620416 <= Recv data, 1 bytes (0x1)
0000: c
03:10:57.630501 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.640575 <= Recv data, 1 bytes (0x1)
0000: u
03:10:57.650658 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.660763 <= Recv data, 1 bytes (0x1)
0000: k
03:10:57.670836 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.680945 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.690973 <= Recv data, 1 bytes (0x1)
0000: f
03:10:57.701018 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.711094 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.721186 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.731278 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.741392 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.751479 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.761545 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.771612 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.781678 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.791845 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.801902 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.811836 == Info: Operation timed out after 16000 milliseconds with 1032 out of 3600 bytes received
03:10:57.812768 == Info: Marked for [closure]: Disconnected with pending data
03:10:57.813247 == Info: multi_done
03:10:57.829771 == Info: Closing connection 0
03:10:57.831435 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:57.832335 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:57.832392 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:57.889911 == Info: The cache now contains 0 members
03:10:57.896917 == Info: Expire cleared (transfer 0x56c52e8)
=== End of file trace1112
=== Start of file valgrind1112
==1980== Invalid read of size 8
==1980== at 0x53315A5: check_free (dlerror.c:188)
==1980== by 0x5331AB1: free_key_mem (dlerror.c:221)
==1980== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==1980== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==1980== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==1980== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==1980== by 0x4D60EB9: exit (exit.c:139)
==1980== by 0x4D4B0A1: (below main) (libc-start.c:342)
==1980== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
==1980== Invalid free() / delete / delete[] / realloc()
==1980== at 0x48369AB: free (vg_replace_malloc.c:540)
==1980== by 0x5331AB9: free_key_mem (dlerror.c:223)
==1980== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==1980== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==1980== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==1980== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==1980== by 0x4D60EB9: exit (exit.c:139)
==1980== by 0x4D4B0A1: (below main) (libc-start.c:342)
==1980== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
==1980== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==1980== at 0x483577F: malloc (vg_replace_malloc.c:309)
==1980== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==1980== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==1980== by 0x24B11C: err_get_state (err.c:210)
==1980== by 0x24BCF2: ERR_put_error (err.c:636)
==1980== by 0x260992: PEM_read_bio (pem_lib.c:622)
==1980== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==1980== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==1980== by 0x27033E: by_file_ctrl (by_file.c:111)
==1980== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==1980== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==1980== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==1980== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==1980== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==1980== by 0x1CADD0: Curl_ossl_connect (openssl.c:3643)
==1980== by 0x17F573: Curl_ssl_connect (vtls.c:251)
==1980==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (789 out of 1250, remaining: 11:26, took 4.0s, duration: 19:34)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (790 out of 1250, remaining: 11:24, took 1.4s, duration: 19:35)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (791 out of 1250, remaining: 11:22, took 1.2s, duration: 19:36)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (792 out of 1250, remaining: 11:21, took 1.2s, duration: 19:37)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (793 out of 1250, remaining: 11:32, took 24.1s, duration: 20:02)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (794 out of 1250, remaining: 11:31, took 1.2s, duration: 20:03)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (795 out of 1250, remaining: 11:28, took 0.0s, duration: 20:03)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (796 out of 1250, remaining: 11:26, took 1.2s, duration: 20:04)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (797 out of 1250, remaining: 11:25, took 1.2s, duration: 20:05)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (798 out of 1250, remaining: 11:23, took 1.2s, duration: 20:06)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (799 out of 1250, remaining: 11:21, took 1.2s, duration: 20:08)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (800 out of 1250, remaining: 11:20, took 1.2s, duration: 20:09)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (801 out of 1250, remaining: 11:18, took 1.2s, duration: 20:10)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (802 out of 1250, remaining: 11:16, took 1.2s, duration: 20:11)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (803 out of 1250, remaining: 11:15, took 1.2s, duration: 20:12)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (804 out of 1250, remaining: 11:13, took 1.2s, duration: 20:14)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (805 out of 1250, remaining: 11:11, took 1.2s, duration: 20:15)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (806 out of 1250, remaining: 11:10, took 1.2s, duration: 20:16)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (807 out of 1250, remaining: 11:08, took 1.2s, duration: 20:17)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (808 out of 1250, remaining: 11:06, took 0.0s, duration: 20:17)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (809 out of 1250, remaining: 11:05, took 2.2s, duration: 20:20)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (810 out of 1250, remaining: 11:03, took 1.2s, duration: 20:21)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (811 out of 1250, remaining: 11:01, took 0.0s, duration: 20:21)
test 1136...[Check cookies against PSL]
---d--oemv- OK (812 out of 1250, remaining: 10:59, took 1.3s, duration: 20:22)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (813 out of 1250, remaining: 10:57, took 1.2s, duration: 20:23)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (814 out of 1250, remaining: 10:56, took 1.3s, duration: 20:25)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (815 out of 1250, remaining: 10:53, took 0.1s, duration: 20:25)
test 1140...[Verify the nroff of man pages]
-------e-- OK (816 out of 1250, remaining: 10:51, took 0.0s, duration: 20:25)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (817 out of 1250, remaining: 10:49, took 1.2s, duration: 20:26)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (818 out of 1250, remaining: 10:48, took 1.2s, duration: 20:27)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (819 out of 1250, remaining: 10:46, took 1.2s, duration: 20:28)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (820 out of 1250, remaining: 10:44, took 1.2s, duration: 20:29)
test 1145...[file:// bad host]
-------emv- OK (821 out of 1250, remaining: 10:43, took 1.1s, duration: 20:31)
test 1146...[--proto-default file]
---d---emv- OK (822 out of 1250, remaining: 10:41, took 1.1s, duration: 20:32)
test 1147...[Get -H headers from a file]
--pd---emv- OK (823 out of 1250, remaining: 10:39, took 1.2s, duration: 20:33)
test 1148...[progress-bar]
--pd--oemv- OK (824 out of 1250, remaining: 10:38, took 1.2s, duration: 20:34)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (825 out of 1250, remaining: 10:36, took 1.3s, duration: 20:35)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (826 out of 1250, remaining: 10:34, took 1.2s, duration: 20:37)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (827 out of 1250, remaining: 10:33, took 1.3s, duration: 20:38)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (828 out of 1250, remaining: 10:31, took 1.2s, duration: 20:39)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (829 out of 1250, remaining: 10:30, took 1.2s, duration: 20:40)
test 1154...[HTTP GET]
--p----emv- OK (830 out of 1250, remaining: 10:28, took 1.2s, duration: 20:41)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (831 out of 1250, remaining: 10:26, took 1.2s, duration: 20:43)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (832 out of 1250, remaining: 10:25, took 1.2s, duration: 20:44)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (833 out of 1250, remaining: 10:23, took 1.2s, duration: 20:45)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (834 out of 1250, remaining: 10:21, took 1.2s, duration: 20:46)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (835 out of 1250, remaining: 10:20, took 1.2s, duration: 20:47)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (836 out of 1250, remaining: 10:18, took 1.2s, duration: 20:49)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (837 out of 1250, remaining: 10:16, took 1.2s, duration: 20:50)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (838 out of 1250, remaining: 10:15, took 1.1s, duration: 20:51)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (839 out of 1250, remaining: 10:13, took 1.1s, duration: 20:52)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (840 out of 1250, remaining: 10:11, took 1.2s, duration: 20:53)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (841 out of 1250, remaining: 10:09, took 0.0s, duration: 20:53)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (842 out of 1250, remaining: 10:08, took 1.2s, duration: 20:54)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (843 out of 1250, remaining: 10:06, took 1.2s, duration: 20:56)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (844 out of 1250, remaining: 10:04, took 1.2s, duration: 20:57)
test 1173...[Basic man page syntax check]
-------e-- OK (845 out of 1250, remaining: 10:02, took 0.0s, duration: 20:57)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (846 out of 1250, remaining: 10:00, took 1.1s, duration: 20:58)
test 1200...[Gopher index]
--pd---emv- OK (847 out of 1250, remaining: 10:00, took 3.3s, duration: 21:01)
test 1201...[Gopher selector]
--pd---emv- OK (848 out of 1250, remaining: 09:58, took 1.2s, duration: 21:02)
test 1202...[Gopher query]
--pd---emv- OK (849 out of 1250, remaining: 09:57, took 1.2s, duration: 21:04)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (850 out of 1250, remaining: 09:56, took 3.3s, duration: 21:07)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (851 out of 1250, remaining: 09:54, took 1.2s, duration: 21:08)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (852 out of 1250, remaining: 09:53, took 1.2s, duration: 21:09)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (853 out of 1250, remaining: 09:51, took 1.2s, duration: 21:11)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (854 out of 1250, remaining: 09:49, took 1.2s, duration: 21:12)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (855 out of 1250, remaining: 09:49, took 3.1s, duration: 21:15)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (856 out of 1250, remaining: 09:47, took 1.2s, duration: 21:16)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (857 out of 1250, remaining: 09:45, took 1.2s, duration: 21:17)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (858 out of 1250, remaining: 09:44, took 1.2s, duration: 21:18)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (859 out of 1250, remaining: 09:42, took 1.2s, duration: 21:20)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (860 out of 1250, remaining: 09:41, took 1.3s, duration: 21:21)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (861 out of 1250, remaining: 09:39, took 1.2s, duration: 21:22)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (862 out of 1250, remaining: 09:37, took 1.3s, duration: 21:23)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (863 out of 1250, remaining: 09:36, took 1.3s, duration: 21:25)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (864 out of 1250, remaining: 09:34, took 1.2s, duration: 21:26)
test 1220...[file:// URLs with query string]
s------emv- OK (865 out of 1250, remaining: 09:33, took 1.1s, duration: 21:27)
test 1221...[10 chars object name generation testing]
------oe-- OK (866 out of 1250, remaining: 09:31, took 0.4s, duration: 21:27)
test 1222...[8 chars object name generation testing]
------oe-- OK (867 out of 1250, remaining: 09:29, took 0.4s, duration: 21:28)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (868 out of 1250, remaining: 09:27, took 1.2s, duration: 21:29)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (869 out of 1250, remaining: 09:25, took 1.2s, duration: 21:30)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (870 out of 1250, remaining: 09:24, took 1.3s, duration: 21:32)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (871 out of 1250, remaining: 09:22, took 1.2s, duration: 21:33)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (872 out of 1250, remaining: 09:21, took 1.2s, duration: 21:34)
test 1228...[HTTP cookie path match]
--pd---emv- OK (873 out of 1250, remaining: 09:19, took 1.3s, duration: 21:35)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (874 out of 1250, remaining: 09:17, took 1.2s, duration: 21:37)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (875 out of 1250, remaining: 09:16, took 1.2s, duration: 21:38)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (876 out of 1250, remaining: 09:14, took 1.2s, duration: 21:39)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (877 out of 1250, remaining: 09:13, took 1.2s, duration: 21:40)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (878 out of 1250, remaining: 09:11, took 1.2s, duration: 21:41)
test 1234...[abusing {}-globbing]
-------emv- OK (879 out of 1250, remaining: 09:09, took 0.9s, duration: 21:42)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (880 out of 1250, remaining: 09:08, took 1.3s, duration: 21:44)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (881 out of 1250, remaining: 09:06, took 0.9s, duration: 21:44)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (882 out of 1250, remaining: 09:04, took 1.2s, duration: 21:46)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (883 out of 1250, remaining: 09:05, took 5.1s, duration: 21:51)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (884 out of 1250, remaining: 09:03, took 1.2s, duration: 21:52)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (885 out of 1250, remaining: 09:01, took 1.2s, duration: 21:53)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (886 out of 1250, remaining: 09:00, took 1.2s, duration: 21:54)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (887 out of 1250, remaining: 08:58, took 1.1s, duration: 21:56)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (888 out of 1250, remaining: 08:57, took 3.2s, duration: 21:59)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (889 out of 1250, remaining: 08:56, took 1.2s, duration: 22:00)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (890 out of 1250, remaining: 08:54, took 1.2s, duration: 22:01)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (891 out of 1250, remaining: 08:53, took 1.2s, duration: 22:02)
test 1247...[--fail-early]
-------emv- OK (892 out of 1250, remaining: 08:51, took 1.1s, duration: 22:03)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (893 out of 1250, remaining: 08:49, took 1.2s, duration: 22:05)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (894 out of 1250, remaining: 08:48, took 1.2s, duration: 22:06)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (895 out of 1250, remaining: 08:46, took 1.2s, duration: 22:07)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (896 out of 1250, remaining: 08:44, took 1.2s, duration: 22:08)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (897 out of 1250, remaining: 08:43, took 1.2s, duration: 22:09)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (898 out of 1250, remaining: 08:41, took 1.2s, duration: 22:11)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1250, remaining: 08:40, took 1.2s, duration: 22:12)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (900 out of 1250, remaining: 08:38, took 1.2s, duration: 22:13)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (901 out of 1250, remaining: 08:36, took 1.2s, duration: 22:14)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1250, remaining: 08:35, took 1.2s, duration: 22:15)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (903 out of 1250, remaining: 08:33, took 1.2s, duration: 22:17)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (904 out of 1250, remaining: 08:32, took 1.2s, duration: 22:18)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (905 out of 1250, remaining: 08:30, took 1.1s, duration: 22:19)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (906 out of 1250, remaining: 08:28, took 1.2s, duration: 22:20)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (907 out of 1250, remaining: 08:27, took 1.2s, duration: 22:21)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (908 out of 1250, remaining: 08:25, took 1.1s, duration: 22:22)
test 1264...[HTTP URL with space in host name]
-------emv- OK (909 out of 1250, remaining: 08:24, took 1.0s, duration: 22:23)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (910 out of 1250, remaining: 08:22, took 1.2s, duration: 22:25)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (911 out of 1250, remaining: 08:20, took 1.2s, duration: 22:26)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (912 out of 1250, remaining: 08:19, took 1.2s, duration: 22:27)
test 1268...[file name argument looks like a flag]
------oemv- OK (913 out of 1250, remaining: 08:17, took 1.1s, duration: 22:28)
test 1269...[too large --retry-delay value]
-------emv- OK (914 out of 1250, remaining: 08:16, took 0.9s, duration: 22:29)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (915 out of 1250, remaining: 08:14, took 1.2s, duration: 22:30)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (916 out of 1250, remaining: 08:12, took 1.0s, duration: 22:31)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (917 out of 1250, remaining: 08:11, took 1.1s, duration: 22:32)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (918 out of 1250, remaining: 08:09, took 1.2s, duration: 22:33)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (919 out of 1250, remaining: 08:08, took 1.2s, duration: 22:35)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1250, remaining: 08:06, took 2.3s, duration: 22:37)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (921 out of 1250, remaining: 08:05, took 1.2s, duration: 22:38)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (922 out of 1250, remaining: 08:03, took 1.7s, duration: 22:40)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (923 out of 1250, remaining: 08:02, took 1.7s, duration: 22:42)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (924 out of 1250, remaining: 08:00, took 0.9s, duration: 22:42)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (925 out of 1250, remaining: 07:59, took 1.2s, duration: 22:44)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (926 out of 1250, remaining: 08:02, took 13.8s, duration: 22:57)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (927 out of 1250, remaining: 08:00, took 1.2s, duration: 22:59)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (928 out of 1250, remaining: 07:58, took 1.2s, duration: 23:00)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (929 out of 1250, remaining: 07:57, took 1.2s, duration: 23:01)
test 1300...[llist unit tests]
-------emv- OK (930 out of 1250, remaining: 07:55, took 0.8s, duration: 23:02)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (931 out of 1250, remaining: 07:53, took 0.8s, duration: 23:03)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (932 out of 1250, remaining: 07:52, took 0.9s, duration: 23:04)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (933 out of 1250, remaining: 07:50, took 0.9s, duration: 23:04)
test 1304...[netrc parsing unit tests]
-------emv- OK (934 out of 1250, remaining: 07:48, took 0.8s, duration: 23:05)
test 1305...[internal hash create/destroy testing]
-------emv- OK (935 out of 1250, remaining: 07:47, took 0.9s, duration: 23:06)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (936 out of 1250, remaining: 07:45, took 0.9s, duration: 23:07)
test 1308...[formpost unit tests]
-------emv- OK (937 out of 1250, remaining: 07:43, took 0.9s, duration: 23:08)
test 1309...[splay unit tests]
s------emv- OK (938 out of 1250, remaining: 07:42, took 0.9s, duration: 23:09)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (939 out of 1250, remaining: 07:40, took 1.2s, duration: 23:10)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (940 out of 1250, remaining: 07:38, took 1.2s, duration: 23:11)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (941 out of 1250, remaining: 07:37, took 1.2s, duration: 23:12)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (942 out of 1250, remaining: 07:35, took 1.2s, duration: 23:13)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (943 out of 1250, remaining: 07:34, took 1.2s, duration: 23:15)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (944 out of 1250, remaining: 07:32, took 1.2s, duration: 23:16)
test 1317...[HTTP with --resolve]
--pd---emv- OK (945 out of 1250, remaining: 07:31, took 1.2s, duration: 23:17)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (946 out of 1250, remaining: 07:29, took 1.2s, duration: 23:18)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (947 out of 1250, remaining: 07:28, took 1.7s, duration: 23:20)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (948 out of 1250, remaining: 07:26, took 1.7s, duration: 23:22)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (949 out of 1250, remaining: 07:25, took 1.8s, duration: 23:23)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (950 out of 1250, remaining: 07:23, took 1.2s, duration: 23:25)
test 1323...[curlx_tvdiff]
-------emv- OK (951 out of 1250, remaining: 07:22, took 0.8s, duration: 23:25)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (952 out of 1250, remaining: 07:20, took 1.2s, duration: 23:27)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (953 out of 1250, remaining: 07:18, took 1.3s, duration: 23:28)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (954 out of 1250, remaining: 07:17, took 1.3s, duration: 23:29)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (955 out of 1250, remaining: 07:15, took 1.3s, duration: 23:31)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (956 out of 1250, remaining: 07:14, took 1.2s, duration: 23:32)
test 1329...[/-prefixed proxy name]
-------emv- OK (957 out of 1250, remaining: 07:12, took 1.1s, duration: 23:33)
test 1330...[unit tests memory tracking operational]
------oemv- OK (958 out of 1250, remaining: 07:11, took 0.8s, duration: 23:34)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (959 out of 1250, remaining: 07:09, took 1.2s, duration: 23:35)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (960 out of 1250, remaining: 07:07, took 1.3s, duration: 23:36)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (961 out of 1250, remaining: 07:06, took 1.2s, duration: 23:37)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (962 out of 1250, remaining: 07:04, took 1.2s, duration: 23:39)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (963 out of 1250, remaining: 07:03, took 1.2s, duration: 23:40)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (964 out of 1250, remaining: 07:01, took 1.2s, duration: 23:41)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (965 out of 1250, remaining: 07:00, took 1.2s, duration: 23:42)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (966 out of 1250, remaining: 06:58, took 1.2s, duration: 23:43)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (967 out of 1250, remaining: 06:57, took 1.2s, duration: 23:44)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (968 out of 1250, remaining: 06:55, took 1.2s, duration: 23:46)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (969 out of 1250, remaining: 06:53, took 1.2s, duration: 23:47)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (970 out of 1250, remaining: 06:52, took 1.2s, duration: 23:48)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (971 out of 1250, remaining: 06:50, took 1.2s, duration: 23:49)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (972 out of 1250, remaining: 06:49, took 1.2s, duration: 23:50)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (973 out of 1250, remaining: 06:47, took 1.2s, duration: 23:52)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (974 out of 1250, remaining: 06:46, took 1.2s, duration: 23:53)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (975 out of 1250, remaining: 06:44, took 1.2s, duration: 23:54)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (976 out of 1250, remaining: 06:43, took 1.2s, duration: 23:55)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (977 out of 1250, remaining: 06:41, took 1.2s, duration: 23:56)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (978 out of 1250, remaining: 06:39, took 1.2s, duration: 23:58)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (979 out of 1250, remaining: 06:38, took 1.2s, duration: 23:59)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (980 out of 1250, remaining: 06:36, took 1.2s, duration: 24:00)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (981 out of 1250, remaining: 06:35, took 1.2s, duration: 24:01)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (982 out of 1250, remaining: 06:33, took 1.2s, duration: 24:02)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (983 out of 1250, remaining: 06:32, took 1.2s, duration: 24:04)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (984 out of 1250, remaining: 06:30, took 1.2s, duration: 24:05)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (985 out of 1250, remaining: 06:29, took 1.2s, duration: 24:06)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (986 out of 1250, remaining: 06:27, took 1.2s, duration: 24:07)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (987 out of 1250, remaining: 06:26, took 1.2s, duration: 24:09)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (988 out of 1250, remaining: 06:24, took 1.2s, duration: 24:10)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (989 out of 1250, remaining: 06:23, took 1.2s, duration: 24:11)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (990 out of 1250, remaining: 06:21, took 1.2s, duration: 24:12)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (991 out of 1250, remaining: 06:20, took 1.2s, duration: 24:14)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (992 out of 1250, remaining: 06:18, took 1.2s, duration: 24:15)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (993 out of 1250, remaining: 06:16, took 1.2s, duration: 24:16)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (994 out of 1250, remaining: 06:15, took 1.2s, duration: 24:17)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (995 out of 1250, remaining: 06:13, took 1.2s, duration: 24:18)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (996 out of 1250, remaining: 06:12, took 1.2s, duration: 24:19)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (997 out of 1250, remaining: 06:10, took 1.2s, duration: 24:21)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (998 out of 1250, remaining: 06:09, took 1.2s, duration: 24:22)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (999 out of 1250, remaining: 06:07, took 1.2s, duration: 24:23)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1000 out of 1250, remaining: 06:06, took 1.2s, duration: 24:24)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1001 out of 1250, remaining: 06:04, took 1.2s, duration: 24:25)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1002 out of 1250, remaining: 06:03, took 1.2s, duration: 24:26)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1003 out of 1250, remaining: 06:01, took 1.2s, duration: 24:28)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1004 out of 1250, remaining: 06:00, took 1.2s, duration: 24:29)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1250, remaining: 05:58, took 1.2s, duration: 24:30)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1006 out of 1250, remaining: 05:56, took 1.2s, duration: 24:31)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1007 out of 1250, remaining: 05:55, took 1.2s, duration: 24:32)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1008 out of 1250, remaining: 05:53, took 1.2s, duration: 24:34)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1009 out of 1250, remaining: 05:52, took 1.2s, duration: 24:35)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1010 out of 1250, remaining: 05:50, took 1.2s, duration: 24:36)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1011 out of 1250, remaining: 05:49, took 1.2s, duration: 24:37)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1012 out of 1250, remaining: 05:47, took 1.2s, duration: 24:39)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1013 out of 1250, remaining: 05:46, took 1.2s, duration: 24:40)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1014 out of 1250, remaining: 05:44, took 1.2s, duration: 24:41)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1015 out of 1250, remaining: 05:43, took 1.2s, duration: 24:42)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1016 out of 1250, remaining: 05:41, took 1.3s, duration: 24:44)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1017 out of 1250, remaining: 05:40, took 1.3s, duration: 24:45)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1018 out of 1250, remaining: 05:38, took 1.2s, duration: 24:46)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1019 out of 1250, remaining: 05:37, took 1.2s, duration: 24:47)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1020 out of 1250, remaining: 05:35, took 1.2s, duration: 24:49)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1021 out of 1250, remaining: 05:34, took 1.2s, duration: 24:50)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1022 out of 1250, remaining: 05:32, took 0.8s, duration: 24:51)
test 1395...[Curl_dedotdotify]
-------emv- OK (1023 out of 1250, remaining: 05:31, took 0.8s, duration: 24:51)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1024 out of 1250, remaining: 05:29, took 0.9s, duration: 24:52)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1025 out of 1250, remaining: 05:27, took 0.8s, duration: 24:53)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1026 out of 1250, remaining: 05:26, took 0.8s, duration: 24:54)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1027 out of 1250, remaining: 05:24, took 0.8s, duration: 24:55)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1028 out of 1250, remaining: 05:23, took 1.2s, duration: 24:56)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1029 out of 1250, remaining: 05:21, took 1.2s, duration: 24:57)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1030 out of 1250, remaining: 05:20, took 1.2s, duration: 24:58)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1031 out of 1250, remaining: 05:18, took 1.2s, duration: 25:00)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1032 out of 1250, remaining: 05:17, took 1.3s, duration: 25:01)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1033 out of 1250, remaining: 05:15, took 1.3s, duration: 25:02)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1034 out of 1250, remaining: 05:14, took 1.3s, duration: 25:03)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1035 out of 1250, remaining: 05:12, took 1.2s, duration: 25:05)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1036 out of 1250, remaining: 05:11, took 1.2s, duration: 25:06)
test 1409...[Pass in string to -C]
-------emv- OK (1037 out of 1250, remaining: 05:09, took 0.9s, duration: 25:07)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1038 out of 1250, remaining: 05:08, took 0.9s, duration: 25:08)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1039 out of 1250, remaining: 05:06, took 1.2s, duration: 25:09)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1040 out of 1250, remaining: 05:05, took 1.3s, duration: 25:10)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1041 out of 1250, remaining: 05:03, took 1.3s, duration: 25:11)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1042 out of 1250, remaining: 05:02, took 1.2s, duration: 25:13)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1043 out of 1250, remaining: 05:00, took 1.3s, duration: 25:14)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1044 out of 1250, remaining: 04:59, took 1.2s, duration: 25:15)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1045 out of 1250, remaining: 04:57, took 1.2s, duration: 25:16)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1046 out of 1250, remaining: 04:56, took 1.3s, duration: 25:17)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1047 out of 1250, remaining: 04:54, took 1.2s, duration: 25:19)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1048 out of 1250, remaining: 04:53, took 1.3s, duration: 25:20)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1049 out of 1250, remaining: 04:51, took 1.2s, duration: 25:21)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1050 out of 1250, remaining: 04:50, took 1.2s, duration: 25:22)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1250, remaining: 04:48, took 1.2s, duration: 25:24)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1052 out of 1250, remaining: 04:47, took 1.2s, duration: 25:25)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1053 out of 1250, remaining: 04:45, took 1.2s, duration: 25:26)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1054 out of 1250, remaining: 04:44, took 1.2s, duration: 25:27)
test 1427...[too large -m timeout value]
-------emv- OK (1055 out of 1250, remaining: 04:42, took 0.9s, duration: 25:28)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1056 out of 1250, remaining: 04:41, took 1.7s, duration: 25:30)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1057 out of 1250, remaining: 04:39, took 1.2s, duration: 25:31)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1058 out of 1250, remaining: 04:38, took 1.2s, duration: 25:32)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1059 out of 1250, remaining: 04:36, took 1.2s, duration: 25:33)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1060 out of 1250, remaining: 04:35, took 1.2s, duration: 25:34)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1061 out of 1250, remaining: 04:33, took 1.1s, duration: 25:35)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1062 out of 1250, remaining: 04:32, took 1.2s, duration: 25:37)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1063 out of 1250, remaining: 04:30, took 3.2s, duration: 25:40)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1064 out of 1250, remaining: 04:29, took 1.2s, duration: 25:41)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1065 out of 1250, remaining: 04:27, took 1.2s, duration: 25:42)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1066 out of 1250, remaining: 04:26, took 1.2s, duration: 25:43)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1250, remaining: 04:25, took 1.2s, duration: 25:45)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1068 out of 1250, remaining: 04:23, took 1.1s, duration: 25:46)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1069 out of 1250, remaining: 04:21, took 1.1s, duration: 25:47)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1070 out of 1250, remaining: 04:20, took 1.1s, duration: 25:48)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1071 out of 1250, remaining: 04:18, took 1.2s, duration: 25:49)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1072 out of 1250, remaining: 04:17, took 1.3s, duration: 25:50)
test 1445...[file:// with --remote-time]
-------emv- OK (1073 out of 1250, remaining: 04:15, took 1.1s, duration: 25:51)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1075 out of 1250, remaining: 04:12, took 1.1s, duration: 25:52)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1076 out of 1250, remaining: 04:11, took 1.2s, duration: 25:54)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1077 out of 1250, remaining: 04:09, took 1.2s, duration: 25:55)
test 1450...[Basic DICT lookup]
-------emv- OK (1078 out of 1250, remaining: 04:08, took 3.2s, duration: 25:58)
test 1451...[Basic SMB request]
-------emv- OK (1079 out of 1250, remaining: 04:07, took 3.2s, duration: 26:01)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1080 out of 1250, remaining: 04:06, took 3.2s, duration: 26:04)
test 1453...[Too long tftp filename]
-------emv- OK (1081 out of 1250, remaining: 04:04, took 1.1s, duration: 26:06)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1083 out of 1250, remaining: 04:01, took 1.2s, duration: 26:07)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1084 out of 1250, remaining: 04:00, took 1.2s, duration: 26:08)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1085 out of 1250, remaining: 03:58, took 1.2s, duration: 26:09)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1086 out of 1250, remaining: 03:57, took 1.2s, duration: 26:10)
test 1500...[curl_multi_wait]
---d---emv- OK (1087 out of 1250, remaining: 03:55, took 1.0s, duration: 26:11)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1088 out of 1250, remaining: 03:54, took 5.1s, duration: 26:16)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1089 out of 1250, remaining: 03:53, took 1.0s, duration: 26:17)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1090 out of 1250, remaining: 03:51, took 1.0s, duration: 26:19)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1091 out of 1250, remaining: 03:50, took 1.0s, duration: 26:20)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1092 out of 1250, remaining: 03:48, took 1.0s, duration: 26:21)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1093 out of 1250, remaining: 03:47, took 1.1s, duration: 26:22)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1094 out of 1250, remaining: 03:45, took 1.0s, duration: 26:23)
test 1508...[Close a multi handle without using it]
------oemv- OK (1095 out of 1250, remaining: 03:44, took 0.9s, duration: 26:24)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1096 out of 1250, remaining: 03:42, took 1.6s, duration: 26:25)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1097 out of 1250, remaining: 03:41, took 1.1s, duration: 26:26)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1098 out of 1250, remaining: 03:39, took 1.0s, duration: 26:27)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1099 out of 1250, remaining: 03:38, took 2.1s, duration: 26:29)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1100 out of 1250, remaining: 03:37, took 3.1s, duration: 26:32)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1101 out of 1250, remaining: 03:35, took 3.1s, duration: 26:36)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1102 out of 1250, remaining: 03:34, took 1.0s, duration: 26:37)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1103 out of 1250, remaining: 03:32, took 1.0s, duration: 26:38)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1104 out of 1250, remaining: 03:31, took 1.0s, duration: 26:39)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1105 out of 1250, remaining: 03:29, took 1.0s, duration: 26:40)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1106 out of 1250, remaining: 03:28, took 1.1s, duration: 26:41)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1107 out of 1250, remaining: 03:26, took 1.0s, duration: 26:42)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1108 out of 1250, remaining: 03:26, took 11.1s, duration: 26:53)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1109 out of 1250, remaining: 03:25, took 4.1s, duration: 26:57)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1110 out of 1250, remaining: 03:24, took 2.1s, duration: 26:59)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1111 out of 1250, remaining: 03:22, took 2.1s, duration: 27:01)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1112 out of 1250, remaining: 03:21, took 1.1s, duration: 27:02)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1113 out of 1250, remaining: 03:19, took 0.9s, duration: 27:03)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1114 out of 1250, remaining: 03:18, took 1.0s, duration: 27:04)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1115 out of 1250, remaining: 03:16, took 1.1s, duration: 27:05)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1116 out of 1250, remaining: 03:15, took 1.0s, duration: 27:06)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1117 out of 1250, remaining: 03:13, took 1.1s, duration: 27:07)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1118 out of 1250, remaining: 03:12, took 1.1s, duration: 27:08)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1119 out of 1250, remaining: 03:10, took 1.0s, duration: 27:10)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1120 out of 1250, remaining: 03:09, took 1.0s, duration: 27:11)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1121 out of 1250, remaining: 03:07, took 0.8s, duration: 27:11)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1122 out of 1250, remaining: 03:06, took 0.8s, duration: 27:12)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1123 out of 1250, remaining: 03:04, took 1.1s, duration: 27:13)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1124 out of 1250, remaining: 03:03, took 0.8s, duration: 27:14)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1125 out of 1250, remaining: 03:01, took 0.9s, duration: 27:15)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1126 out of 1250, remaining: 03:00, took 1.1s, duration: 27:16)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1127 out of 1250, remaining: 02:58, took 1.1s, duration: 27:17)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1128 out of 1250, remaining: 02:57, took 1.0s, duration: 27:18)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1129 out of 1250, remaining: 02:55, took 1.1s, duration: 27:19)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1130 out of 1250, remaining: 02:54, took 1.0s, duration: 27:20)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1131 out of 1250, remaining: 02:52, took 1.0s, duration: 27:21)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1132 out of 1250, remaining: 02:51, took 1.0s, duration: 27:22)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1133 out of 1250, remaining: 02:49, took 1.0s, duration: 27:23)
test 1559...[Set excessive URL lengths]
s------emv- OK (1134 out of 1250, remaining: 02:48, took 1.1s, duration: 27:24)
test 1560...[URL API]
s------emv- OK (1135 out of 1250, remaining: 02:46, took 1.1s, duration: 27:25)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 33
valgrind ERROR ==5240== Invalid read of size 8
==5240== at 0x53315A5: check_free (dlerror.c:188)
==5240== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5240== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5240== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5240== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5240== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5240== by 0x4D60EB9: exit (exit.c:139)
==5240== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5240== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
==5240== Invalid free() / delete / delete[] / realloc()
==5240== at 0x48369AB: free (vg_replace_malloc.c:540)
==5240== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5240== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5240== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5240== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5240== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5240== by 0x4D60EB9: exit (exit.c:139)
==5240== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5240== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
==5240== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
== Contents of files in the log/ dir after test 1561
=== Start of file curl1561.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
=== End of file curl1561.out
=== Start of file http_server.log
03:19:00.800046 ====> Client connect
03:19:00.800086 accept_connection 3 returned 4
03:19:00.800105 accept_connection 3 returned 0
03:19:00.800269 Read 96 bytes
03:19:00.800297 Process 96 bytes request
03:19:00.800320 Got request: GET /verifiedserver HTTP/1.1
03:19:00.800338 Are-we-friendly question received
03:19:00.800368 Wrote request (96 bytes) input to log/server.input
03:19:00.800397 Identifying ourselves as friends
03:19:00.800486 Response sent (55 bytes) and written to log/server.response
03:19:00.800507 special request received, no persistency
03:19:00.800523 ====> Client disconnect 0
03:19:04.807298 ====> Client connect
03:19:04.807321 accept_connection 3 returned 4
03:19:04.807336 accept_connection 3 returned 0
03:19:04.894043 Read 91 bytes
03:19:04.894081 Process 91 bytes request
03:19:04.894098 Got request: GET /15610001 HTTP/1.1
03:19:04.894110 Requested test number 1561 part 1
03:19:04.894138 - request found to be complete
03:19:04.894164 Wrote request (91 bytes) input to log/server.input
03:19:04.894187 Send response test1561 section <data1>
03:19:04.894340 Response sent (722 bytes) and written to log/server.response
03:19:04.894350 => persistent connection request ended, awaits new request
03:19:05.019378 ====> Client connect
03:19:05.019411 accept_connection 3 returned 5
03:19:05.019428 accept_connection 3 returned 0
03:19:05.023101 Read 91 bytes
03:19:05.023127 Process 91 bytes request
03:19:05.023144 Got request: GET /15610002 HTTP/1.1
03:19:05.023156 Requested test number 1561 part 2
03:19:05.023186 - request found to be complete
03:19:05.023198 Wrote request (91 bytes) input to log/server.input
03:19:05.023210 Send response test1561 section <data2>
03:19:05.023342 Response sent (966 bytes) and written to log/server.response
03:19:05.023352 => persistent connection request ended, awaits new request
03:19:05.057039 Connection closed by client
03:19:05.057072 ====> Client disconnect 0
03:19:05.121567 Connection closed by client
03:19:05.121593 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.09 03:18:59 LOG5[5233]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:18:59 LOG5[5233]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:18:59 LOG5[5233]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:18:59 LOG5[5233]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:18:59 LOG5[5233]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:18:59 LOG5[5233]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 03:18:59 LOG5[5233]: FIPS mode disabled
2019.08.09 03:18:59 LOG5[5233]: Configuration successful
2019.08.09 03:19:00 LOG5[5238]: Service [curltest] accepted connection from 127.0.0.1:50790
2019.08.09 03:19:00 LOG5[5238]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:19:00 LOG5[5238]: Service [curltest] connected remote server from 127.0.0.1:55084
2019.08.09 03:19:00 LOG5[5238]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 03:19:02 LOG5[5241]: Service [curltest] accepted connection from 127.0.0.1:50794
2019.08.09 03:19:04 LOG5[5241]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:19:04 LOG5[5241]: Service [curltest] connected remote server from 127.0.0.1:55088
2019.08.09 03:19:04 LOG5[5241]: Connection closed: 722 byte(s) sent to SSL, 91 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x55a91ffeb7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a91ffeb7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a91ffeb7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55a91ffeb7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55a91ffeb7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a91ffeb7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a91ffeb7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55a91ffeb7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a91ffeb7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 5142
=== End of file https_verify.out
=== Start of file jar1561.txt
# Netscape HTTP Cookie File
# https://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.example.com TRUE /foo FALSE 0 public yes
www.example.com FALSE / TRUE 0 __Host-SID 12346
.example.com TRUE / TRUE 0 supersupersuper secret
.example.com TRUE / TRUE 0 __Secure-SID 12346
.example.com TRUE /1561/login/ TRUE 0 supersuper secret
#HttpOnly_.example.com TRUE /15 FALSE 0 super secret
=== End of file jar1561.txt
=== Start of file server.input
GET /15610001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /15610002 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 5142
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file server.response
=== Start of file stderr1561
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 250 0 --:--:-- --:--:-- --:--:-- 304
=== End of file stderr1561
=== Start of file stdout1561
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; httponly;
Set-Cookie: super=secret; domain=example.com; path=/1561/; httponly;
Set-Cookie: super=secret; domain=example.com; path=/15; httponly;
Set-Cookie: public=yes; domain=example.com; path=/foo;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/en;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login;
Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561; secure;
Set-Cookie: __Secure-SID=22345; Domain=example.com
Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com
Set-Cookie: __Host-SID=32345
Set-Cookie: __Host-SID=32346; Secure
Set-Cookie: __Host-SID=32347; Domain=example.com
Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=32350; Secure; Path=/
Content-Length: 7
nomnom
=== End of file stdout1561
=== Start of file trace1561
03:19:02.758047 == Info: STATE: INIT => CONNECT handle 0x56c7c78; line 1362 (connection #-5000)
03:19:02.814362 == Info: Added connection 0. The cache now contains 1 members
03:19:02.833227 == Info: Trying 127.0.0.1:8991...
03:19:02.833836 == Info: TCP_NODELAY set
03:19:02.839377 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7c78; line 1418 (connection #0)
03:19:02.851568 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:02.852149 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7c78; line 1538 (connection #0)
03:19:02.853262 == Info: Marked for [keep alive]: HTTP default
03:19:02.906438 == Info: ALPN, offering h2
03:19:02.906724 == Info: ALPN, offering http/1.1
03:19:04.279720 == Info: successfully set certificate verify locations:
03:19:04.279995 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:04.399609 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:04.404745 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:04.404806 => Send SSL data, 148 bytes (0x94)
0000: ......O..S..bO..u..'....@/......b .E)H....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:04.421895 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:04.427331 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:04.427391 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...OPj.....Zu$`....nN.....G.a-O..[ .....3h.....l.Rz*.m...Xk.
0040: .x...n../................
03:19:04.473005 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:04.473505 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:04.473563 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:19:04.572661 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:04.572926 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:04.572987 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...:.....9...../b.;f.`..4s..L.......N.....3..5FH'..#...
0040: ...}eV..I......-z....H.)R./.k^..........s.&e....|j...........A*.
0080: FoT...)........p{.....:EV.^....&..,.=...6.I.1....Wvz.....w....K.
00c0: ....5.j.q.."/0.Y.6..2.../..k....q=j..M....u...e.J..*.c.1.=..@...
0100: ...!..n.P?.]\...V4e...6G..I......l .GK.>.qS...A`hn\.x..)A..._.._
0140: ."....|XC>.;F
03:19:04.642277 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:04.642664 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:04.642722 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:04.759661 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:04.759913 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:04.759973 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....D<.....60.iuG.......0.W..8.J.i.?.$a.@.......!1.....p]I
0040: !g.'.k
03:19:04.771861 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:04.772444 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:04.772503 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:04.793907 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:04.793967 => Send SSL data, 16 bytes (0x10)
0000: ....\g.........d
03:19:04.806439 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:04.808974 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:04.810068 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:04.810131 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:04.812580 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:04.818265 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:04.818323 <= Recv SSL data, 16 bytes (0x10)
0000: ....k.a1z..}.A.d
03:19:04.846725 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:04.847387 == Info: ALPN, server did not agree to a protocol
03:19:04.850105 == Info: Server certificate:
03:19:04.857633 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:04.863814 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:04.864759 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:04.865685 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:04.866556 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:04.868063 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7c78; line 1556 (connection #0)
03:19:04.892323 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:04.895249 => Send header, 91 bytes (0x5b)
0000: GET /15610001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:04.898187 == Info: STATE: DO => DO_DONE handle 0x56c7c78; line 1627 (connection #0)
03:19:04.898678 == Info: STATE: DO_DONE => PERFORM handle 0x56c7c78; line 1749 (connection #0)
03:19:04.903115 <= Recv SSL data, 5 bytes (0x5)
0000: ....D
03:19:04.919417 == Info: Mark bundle as not supporting multiuse
03:19:04.920016 == Info: HTTP 1.1 or later with persistent connection
03:19:04.922700 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:04.926393 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:04.926623 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:04.944896 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:19:04.945293 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:19:04.946475 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:19:04.946625 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:19:04.949244 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:19:04.957104 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:04.957735 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:19:04.957796 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:19:04.958806 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:19:04.958867 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:19:04.960292 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:19:04.961353 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:19:04.961414 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:19:04.962306 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:04.963046 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:19:04.963939 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:19:04.964848 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:19:04.965305 <= Recv SSL data, 5 bytes (0x5)
0000: ....V
03:19:04.968018 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:19:04.968159 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:19:04.969320 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:04.971800 <= Recv header, 1 bytes (0x1)
0000: .
03:19:04.972444 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:04.976052 == Info: STATE: PERFORM => DONE handle 0x56c7c78; line 1939 (connection #0)
03:19:04.976381 == Info: multi_done
03:19:04.985321 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:05.014737 == Info: STATE: INIT => CONNECT handle 0x5722998; line 1362 (connection #-5000)
03:19:05.018488 == Info: Added connection 1. The cache now contains 2 members
03:19:05.019174 == Info: Trying 127.0.0.1:8990...
03:19:05.019237 == Info: TCP_NODELAY set
03:19:05.019389 == Info: STATE: CONNECT => WAITCONNECT handle 0x5722998; line 1418 (connection #1)
03:19:05.020685 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:19:05.020771 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5722998; line 1538 (connection #1)
03:19:05.020847 == Info: Marked for [keep alive]: HTTP default
03:19:05.020987 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5722998; line 1556 (connection #1)
03:19:05.023432 => Send header, 91 bytes (0x5b)
0000: GET /15610002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:05.023925 == Info: STATE: DO => DO_DONE handle 0x5722998; line 1627 (connection #1)
03:19:05.024014 == Info: STATE: DO_DONE => PERFORM handle 0x5722998; line 1749 (connection #1)
03:19:05.025063 == Info: Mark bundle as not supporting multiuse
03:19:05.025138 == Info: HTTP 1.1 or later with persistent connection
03:19:05.025205 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:05.025368 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:05.025583 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:05.027056 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:19:05.028079 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:19:05.029282 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:19:05.029349 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:19:05.030120 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:19:05.030178 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:19:05.031254 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:19:05.032288 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:19:05.034014 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:19:05.034925 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:19:05.035582 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:19:05.036603 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:19:05.037545 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:19:05.038795 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:19:05.040154 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:19:05.040885 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:19:05.041603 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:19:05.041858 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:05.042021 <= Recv header, 1 bytes (0x1)
0000: .
03:19:05.042105 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:05.042531 == Info: STATE: PERFORM => DONE handle 0x5722998; line 1939 (connection #1)
03:19:05.042598 == Info: multi_done
03:19:05.043354 == Info: Connection #1 to host 127.0.0.1 left intact
03:19:05.044558 == Info: Expire cleared (transfer 0x5722998)
=== End of file trace1561
=== Start of file valgrind1561
==5240== Invalid read of size 8
==5240== at 0x53315A5: check_free (dlerror.c:188)
==5240== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5240== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5240== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5240== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5240== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5240== by 0x4D60EB9: exit (exit.c:139)
==5240== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5240== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
==5240== Invalid free() / delete / delete[] / realloc()
==5240== at 0x48369AB: free (vg_replace_malloc.c:540)
==5240== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5240== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5240== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5240== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5240== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5240== by 0x4D60EB9: exit (exit.c:139)
==5240== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5240== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
==5240== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5240== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5240== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5240== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5240== by 0x24B11C: err_get_state (err.c:210)
==5240== by 0x24BCF2: ERR_put_error (err.c:636)
==5240== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5240== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5240== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5240== by 0x27033E: by_file_ctrl (by_file.c:111)
==5240== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5240== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5240== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5240== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5240== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5240== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5240== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5240==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 34
valgrind ERROR ==5244== Invalid read of size 8
==5244== at 0x53315A5: check_free (dlerror.c:188)
==5244== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5244== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5244== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5244== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5244== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5244== by 0x4D60EB9: exit (exit.c:139)
==5244== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5244== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
==5244== Invalid free() / delete / delete[] / realloc()
==5244== at 0x48369AB: free (vg_replace_malloc.c:540)
==5244== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5244== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5244== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5244== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5244== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5244== by 0x4D60EB9: exit (exit.c:139)
==5244== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5244== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
==5244== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
== Contents of files in the log/ dir after test 1562
=== Start of file curl1562.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file curl1562.out
=== Start of file http_server.log
03:19:08.206660 ====> Client connect
03:19:08.206696 accept_connection 3 returned 4
03:19:08.206711 accept_connection 3 returned 0
03:19:08.293547 Read 91 bytes
03:19:08.293585 Process 91 bytes request
03:19:08.293602 Got request: GET /15620001 HTTP/1.1
03:19:08.293613 Requested test number 1562 part 1
03:19:08.293638 - request found to be complete
03:19:08.293664 Wrote request (91 bytes) input to log/server.input
03:19:08.293687 Send response test1562 section <data1>
03:19:08.293760 Response sent (140 bytes) and written to log/server.response
03:19:08.293771 => persistent connection request ended, awaits new request
03:19:08.405647 Read 108 bytes
03:19:08.405682 Process 108 bytes request
03:19:08.405699 Got request: GET /15620002 HTTP/1.1
03:19:08.405710 Requested test number 1562 part 2
03:19:08.405735 - request found to be complete
03:19:08.405747 Wrote request (108 bytes) input to log/server.input
03:19:08.405759 Send response test1562 section <data2>
03:19:08.405833 Response sent (178 bytes) and written to log/server.response
03:19:08.405843 => persistent connection request ended, awaits new request
03:19:08.430802 Read 91 bytes
03:19:08.430830 Process 91 bytes request
03:19:08.430845 Got request: GET /15620001 HTTP/1.1
03:19:08.430857 Requested test number 1562 part 1
03:19:08.430882 - request found to be complete
03:19:08.430894 Wrote request (91 bytes) input to log/server.input
03:19:08.430905 Send response test1562 section <data1>
03:19:08.430962 Response sent (140 bytes) and written to log/server.response
03:19:08.430972 => persistent connection request ended, awaits new request
03:19:08.444935 Connection closed by client
03:19:08.444961 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /15620001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
GET /15620002 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
Cookie: foo=123
GET /15620001 HTTP/1.1
Host: www.example.com
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file server.response
=== Start of file stderr1562
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 7 100 7 0 0 3 0 0:00:02 0:00:02 --:--:-- 3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 212 0 --:--:-- --:--:-- --:--:-- 368
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 875 0 --:--:-- --:--:-- --:--:-- 1400
=== End of file stderr1562
=== Start of file stdout1562
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file stdout1562
=== Start of file trace1562
03:19:06.137502 == Info: STATE: INIT => CONNECT handle 0x56c73b8; line 1362 (connection #-5000)
03:19:06.199262 == Info: Added connection 0. The cache now contains 1 members
03:19:06.216863 == Info: Trying 127.0.0.1:8991...
03:19:06.217466 == Info: TCP_NODELAY set
03:19:06.222568 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c73b8; line 1418 (connection #0)
03:19:06.234113 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:06.234673 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c73b8; line 1538 (connection #0)
03:19:06.235751 == Info: Marked for [keep alive]: HTTP default
03:19:06.285993 == Info: ALPN, offering h2
03:19:06.286276 == Info: ALPN, offering http/1.1
03:19:07.691222 == Info: successfully set certificate verify locations:
03:19:07.691486 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:07.804753 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:07.809741 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:07.809805 => Send SSL data, 148 bytes (0x94)
0000: ..........f..{.AL..>....l....6#.A`........+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:07.826746 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:07.832186 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:07.832244 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...FmaC...c.....z..!....vW.k2`.j0. ...K.......5{.....1H.p...
0040: =...,.../................
03:19:07.875813 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:07.876254 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:07.876311 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:19:07.974436 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:07.974689 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:07.974748 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...:.....9...../b.;f.`..4s..L.......N.....3..5FH'..#...
0040: ...}eV..I......N....W..l:E.t..z.1c..c*..... "....r.~.j........i.
0080: ..<...T...XN.-..Bj)......a...B.g...<....oq+.H.~..l..&....Xjzb...
00c0: ........8h....O....&..J"...E..a..[9..9;-..K....yZ.Z.{zG...E..j%.
0100: ..).77.....`..&l...5..h.|....G...-...h...5....0...tn...\.:..2.2.
0140: .R.c......BU.
03:19:08.043749 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.044090 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:08.044149 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:08.159195 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:08.159433 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:08.159492 => Send SSL data, 70 bytes (0x46)
0000: ...BA..O.......*.<}
0015: .@.+U..q......n.H..;.M.....|.........C<.O...Jn4.P
03:19:08.171414 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:08.171996 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:08.172054 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:08.193319 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:08.193377 => Send SSL data, 16 bytes (0x10)
0000: ........._..M8..
03:19:08.205791 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:08.208265 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.209345 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:08.209402 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:08.211817 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:08.217481 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:08.217537 <= Recv SSL data, 16 bytes (0x10)
0000: .....2R.3..%g...
03:19:08.245755 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:08.246426 == Info: ALPN, server did not agree to a protocol
03:19:08.249170 == Info: Server certificate:
03:19:08.257158 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:08.263356 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:08.264316 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:08.265259 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:08.266124 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:08.267620 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c73b8; line 1556 (connection #0)
03:19:08.291864 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:08.294739 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:08.297610 == Info: STATE: DO => DO_DONE handle 0x56c73b8; line 1627 (connection #0)
03:19:08.298076 == Info: STATE: DO_DONE => PERFORM handle 0x56c73b8; line 1749 (connection #0)
03:19:08.302474 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.315311 == Info: Mark bundle as not supporting multiuse
03:19:08.315902 == Info: HTTP 1.1 or later with persistent connection
03:19:08.318545 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:08.322273 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:08.322505 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:08.335818 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:08.336216 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:08.337323 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:08.339756 <= Recv header, 1 bytes (0x1)
0000: .
03:19:08.340580 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:08.346141 == Info: STATE: PERFORM => DONE handle 0x56c73b8; line 1939 (connection #0)
03:19:08.346466 == Info: multi_done
03:19:08.355630 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:08.357662 == Info: Expire cleared (transfer 0x56c73b8)
03:19:08.383531 == Info: STATE: INIT => CONNECT handle 0x5722138; line 1362 (connection #-5000)
03:19:08.387500 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:08.387825 == Info: Can not multiplex, even if we wanted to
03:19:08.396148 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:08.396939 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:08.397146 == Info: STATE: CONNECT => DO handle 0x5722138; line 1411 (connection #0)
03:19:08.405425 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:08.405567 => Send header, 108 bytes (0x6c)
0000: GET /15620002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059: Cookie: foo=123
006a:
03:19:08.406115 == Info: STATE: DO => DO_DONE handle 0x5722138; line 1627 (connection #0)
03:19:08.406201 == Info: STATE: DO_DONE => PERFORM handle 0x5722138; line 1749 (connection #0)
03:19:08.406379 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.406614 == Info: Mark bundle as not supporting multiuse
03:19:08.406678 == Info: HTTP 1.1 or later with persistent connection
03:19:08.406739 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:08.406901 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:08.407121 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:08.410883 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:19:08.410998 <= Recv header, 75 bytes (0x4b)
0000: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age
0040: =0; Path=/.
03:19:08.415369 <= Recv SSL data, 5 bytes (0x5)
0000: ....*
03:19:08.415564 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:08.415739 <= Recv header, 1 bytes (0x1)
0000: .
03:19:08.415832 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:08.416227 == Info: STATE: PERFORM => DONE handle 0x5722138; line 1939 (connection #0)
03:19:08.416294 == Info: multi_done
03:19:08.417123 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:08.424694 == Info: STATE: INIT => CONNECT handle 0x577c118; line 1362 (connection #-5000)
03:19:08.426567 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:08.426633 == Info: Can not multiplex, even if we wanted to
03:19:08.427554 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:08.427730 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:08.427817 == Info: STATE: CONNECT => DO handle 0x577c118; line 1411 (connection #0)
03:19:08.430613 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:08.430736 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:08.431218 == Info: STATE: DO => DO_DONE handle 0x577c118; line 1627 (connection #0)
03:19:08.431305 == Info: STATE: DO_DONE => PERFORM handle 0x577c118; line 1749 (connection #0)
03:19:08.431472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.431651 == Info: Mark bundle as not supporting multiuse
03:19:08.431714 == Info: HTTP 1.1 or later with persistent connection
03:19:08.431781 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:08.431931 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:08.432149 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:08.432702 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:08.432762 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:08.432980 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:08.433129 <= Recv header, 1 bytes (0x1)
0000: .
03:19:08.433202 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:08.433344 == Info: STATE: PERFORM => DONE handle 0x577c118; line 1939 (connection #0)
03:19:08.433407 == Info: multi_done
03:19:08.434180 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:08.434301 == Info: Expire cleared (transfer 0x577c118)
=== End of file trace1562
=== Start of file valgrind1562
==5244== Invalid read of size 8
==5244== at 0x53315A5: check_free (dlerror.c:188)
==5244== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5244== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5244== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5244== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5244== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5244== by 0x4D60EB9: exit (exit.c:139)
==5244== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5244== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
==5244== Invalid free() / delete / delete[] / realloc()
==5244== at 0x48369AB: free (vg_replace_malloc.c:540)
==5244== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5244== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5244== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5244== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5244== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5244== by 0x4D60EB9: exit (exit.c:139)
==5244== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5244== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
==5244== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5244== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5244== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5244== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5244== by 0x24B11C: err_get_state (err.c:210)
==5244== by 0x24BCF2: ERR_put_error (err.c:636)
==5244== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5244== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5244== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5244== by 0x27033E: by_file_ctrl (by_file.c:111)
==5244== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5244== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5244== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5244== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5244== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5244== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5244== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5244==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1138 out of 1250, remaining: 02:42, took 1.2s, duration: 27:35)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1139 out of 1250, remaining: 02:41, took 1.1s, duration: 27:37)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1141 out of 1250, remaining: 02:38, took 0.0s, duration: 27:37)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1142 out of 1250, remaining: 02:36, took 1.0s, duration: 27:38)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1143 out of 1250, remaining: 02:35, took 1.0s, duration: 27:39)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1144 out of 1250, remaining: 02:33, took 1.1s, duration: 27:40)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1145 out of 1250, remaining: 02:32, took 1.0s, duration: 27:41)
test 1600...[NTLM unit tests]
-------emv- OK (1146 out of 1250, remaining: 02:30, took 0.9s, duration: 27:42)
test 1601...[MD5 unit tests]
-------emv- OK (1147 out of 1250, remaining: 02:29, took 0.8s, duration: 27:42)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1148 out of 1250, remaining: 02:27, took 0.8s, duration: 27:43)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1149 out of 1250, remaining: 02:26, took 0.8s, duration: 27:44)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1150 out of 1250, remaining: 02:24, took 0.8s, duration: 27:45)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1151 out of 1250, remaining: 02:23, took 0.9s, duration: 27:46)
test 1606...[verify speedcheck]
-------emv- OK (1152 out of 1250, remaining: 02:21, took 0.9s, duration: 27:47)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1153 out of 1250, remaining: 02:20, took 1.0s, duration: 27:48)
test 1608...[verify DNS shuffling]
-------emv- OK (1154 out of 1250, remaining: 02:18, took 0.9s, duration: 27:48)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1155 out of 1250, remaining: 02:17, took 0.9s, duration: 27:49)
test 1620...[unit tests for url.c]
-------emv- OK (1156 out of 1250, remaining: 02:15, took 0.9s, duration: 27:50)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1157 out of 1250, remaining: 02:14, took 0.8s, duration: 27:51)
test 1650...[DOH]
-------emv- OK (1158 out of 1250, remaining: 02:12, took 0.9s, duration: 27:52)
test 1651...[x509 parsing]
-------emv- OK (1159 out of 1250, remaining: 02:11, took 0.8s, duration: 27:53)
test 1652...[infof]
-------emv- OK (1160 out of 1250, remaining: 02:09, took 0.9s, duration: 27:54)
test 1653...[urlapi]
-------emv- OK (1161 out of 1250, remaining: 02:08, took 0.9s, duration: 27:54)
test 1654 SKIPPED: curl lacks alt-svc support
RUN: failed to start the HTTP/2 server
test 1700 SKIPPED: failed starting HTTP/2 server
test 1701 SKIPPED: failed starting HTTP/2 server
test 1702 SKIPPED: failed starting HTTP/2 server
test 1800...[HTTP/2 upgrade refused]
--pd---emv- OK (1166 out of 1250, remaining: 02:01, took 1.2s, duration: 28:01)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1167 out of 1250, remaining: 01:59, took 1.7s, duration: 28:02)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1168 out of 1250, remaining: 01:58, took 1.1s, duration: 28:03)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1169 out of 1250, remaining: 01:56, took 1.1s, duration: 28:04)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1170 out of 1250, remaining: 01:55, took 1.2s, duration: 28:06)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1250, remaining: 01:53, took 1.3s, duration: 28:07)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1172 out of 1250, remaining: 01:52, took 1.3s, duration: 28:08)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1173 out of 1250, remaining: 01:50, took 1.5s, duration: 28:10)
test 2005 SKIPPED: curl lacks Metalink support
test 2006 SKIPPED: curl lacks Metalink support
test 2007 SKIPPED: curl lacks Metalink support
test 2023...[HTTP authorization retry (Basic)]
--pd---emv- OK (1193 out of 1250, remaining: 01:20, took 1.1s, duration: 28:11)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1194 out of 1250, remaining: 01:19, took 1.1s, duration: 28:12)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1195 out of 1250, remaining: 01:17, took 1.2s, duration: 28:13)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1196 out of 1250, remaining: 01:16, took 1.2s, duration: 28:14)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1197 out of 1250, remaining: 01:15, took 1.2s, duration: 28:16)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1198 out of 1250, remaining: 01:13, took 1.2s, duration: 28:17)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1199 out of 1250, remaining: 01:12, took 1.2s, duration: 28:18)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1200 out of 1250, remaining: 01:10, took 1.2s, duration: 28:19)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1201 out of 1250, remaining: 01:09, took 1.2s, duration: 28:20)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1202 out of 1250, remaining: 01:07, took 1.2s, duration: 28:22)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 35
valgrind ERROR ==5425== Invalid read of size 8
==5425== at 0x53315A5: check_free (dlerror.c:188)
==5425== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5425== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5425== by 0x4D60EB9: exit (exit.c:139)
==5425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5425== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
==5425== Invalid free() / delete / delete[] / realloc()
==5425== at 0x48369AB: free (vg_replace_malloc.c:540)
==5425== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5425== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5425== by 0x4D60EB9: exit (exit.c:139)
==5425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5425== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
==5425== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
== Contents of files in the log/ dir after test 2034
=== Start of file curl2034.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl2034.out
=== Start of file http_server.log
03:19:55.860160 signalled to die
03:19:55.860284 ========> IPv4 sws (port 8990 pid: 5142) exits with signal (15)
03:20:00.881052 Running HTTP IPv4 version on port 8990
03:20:00.881277 Wrote pid 5412 to .http_server.pid
03:20:01.880020 ====> Client connect
03:20:01.880050 accept_connection 3 returned 4
03:20:01.880067 accept_connection 3 returned 0
03:20:01.880086 Read 96 bytes
03:20:01.880098 Process 96 bytes request
03:20:01.880119 Got request: GET /verifiedserver HTTP/1.1
03:20:01.880144 Are-we-friendly question received
03:20:01.880185 Wrote request (96 bytes) input to log/server.input
03:20:01.880231 Identifying ourselves as friends
03:20:01.880349 Response sent (55 bytes) and written to log/server.response
03:20:01.880379 special request received, no persistency
03:20:01.880389 ====> Client disconnect 0
03:20:03.923543 ====> Client connect
03:20:03.923574 accept_connection 3 returned 4
03:20:03.923586 accept_connection 3 returned 0
03:20:03.923750 Read 96 bytes
03:20:03.923760 Process 96 bytes request
03:20:03.923777 Got request: GET /verifiedserver HTTP/1.1
03:20:03.923787 Are-we-friendly question received
03:20:03.923814 Wrote request (96 bytes) input to log/server.input
03:20:03.923834 Identifying ourselves as friends
03:20:03.923912 Response sent (55 bytes) and written to log/server.response
03:20:03.923927 special request received, no persistency
03:20:03.923937 ====> Client disconnect 0
03:20:06.694188 ====> Client connect
03:20:06.694215 accept_connection 3 returned 4
03:20:06.694229 accept_connection 3 returned 0
03:20:06.785234 Read 86 bytes
03:20:06.785269 Process 86 bytes request
03:20:06.785283 Got request: GET /2034 HTTP/1.1
03:20:06.785293 Requested test number 2034 part 0
03:20:06.785322 - request found to be complete
03:20:06.785348 Wrote request (86 bytes) input to log/server.input
03:20:06.785369 Send response test2034 section <data>
03:20:06.785444 Response sent (103 bytes) and written to log/server.response
03:20:06.785460 => persistent connection request ended, awaits new request
03:20:06.860895 Connection closed by client
03:20:06.860925 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55a4617df7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a4617df7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a4617df7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55a4617df7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a4617df7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a4617df7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x55a4617df7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a4617df7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 5412
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.09 03:20:02 LOG5[5418]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.09 03:20:02 LOG5[5418]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.09 03:20:02 LOG5[5418]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.09 03:20:02 LOG5[5418]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.09 03:20:02 LOG5[5418]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.09 03:20:02 LOG5[5418]: Reading configuration from file /build-29962/tests/https_stunnel.conf
2019.08.09 03:20:02 LOG5[5418]: FIPS mode disabled
2019.08.09 03:20:02 LOG5[5418]: Configuration successful
2019.08.09 03:20:03 LOG5[5421]: Service [curltest] accepted connection from 127.0.0.1:50916
2019.08.09 03:20:03 LOG5[5421]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:20:03 LOG5[5421]: Service [curltest] connected remote server from 127.0.0.1:55210
2019.08.09 03:20:03 LOG5[5421]: Connection closed: 55 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.09 03:20:05 LOG5[5428]: Service [curltest] accepted connection from 127.0.0.1:50922
2019.08.09 03:20:06 LOG5[5428]: s_connect: connected 127.0.0.1:8990
2019.08.09 03:20:06 LOG5[5428]: Service [curltest] connected remote server from 127.0.0.1:55216
2019.08.09 03:20:06 LOG5[5428]: Connection closed: 103 byte(s) sent to SSL, 86 byte(s) sent to socket
=== End of file https_stunnel.log
=== Start of file https_verify.log
* STATE: INIT => CONNECT handle 0x5641cc5c17c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5641cc5c17c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5641cc5c17c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5641cc5c17c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5641cc5c17c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5641cc5c17c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5641cc5c17c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 16
<
{ [16 bytes data]
* STATE: PERFORM => DONE handle 0x5641cc5c17c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5641cc5c17c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 5412
=== End of file https_verify.out
=== Start of file server.input
GET /2034 HTTP/1.1
Host: localhost:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 5412
HTTP/1.1 200 OK
Content-Length: 16
WE ROOLZ: 5412
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr2034
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 8
=== End of file stderr2034
=== Start of file trace2034
03:20:05.868368 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:20:05.923060 == Info: Added connection 0. The cache now contains 1 members
03:20:05.978072 == Info: Trying ::1:8991...
03:20:05.978714 == Info: TCP_NODELAY set
03:20:05.983790 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c98; line 1418 (connection #0)
03:20:05.998237 == Info: connect to ::1 port 8991 failed: Connection refused
03:20:06.000496 == Info: Trying 127.0.0.1:8991...
03:20:06.000562 == Info: TCP_NODELAY set
03:20:06.010163 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:20:06.010684 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:20:06.011766 == Info: Marked for [keep alive]: HTTP default
03:20:06.062167 == Info: ALPN, offering h2
03:20:06.062448 == Info: ALPN, offering http/1.1
03:20:06.151414 == Info: successfully set certificate verify locations:
03:20:06.151664 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:20:06.268286 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:06.273252 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:20:06.273313 => Send SSL data, 166 bytes (0xa6)
0000: ........).F.uW.....n..%].......p..........+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:20:06.290235 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:20:06.295659 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:20:06.295718 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..y.*.C.&._}...^..*.K.<_.ac..>.... .i}s....6..up.iOK..D+.k.6
0040: .5i.CQ"./....................
03:20:06.340413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:06.340859 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:20:06.340915 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:20:06.514212 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:20:06.514475 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:20:06.514532 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.J.7..Gp...p....|..../.i.1.^3.N9..\...J.5i.:/..D7(.e..v.
0040: .Z'.............:...5.3.Mw.......O..y.=7.N...Y<X|.....6A....|.M.
0080: .m7....O.Ev....a......;..L.=.Wd2..Q..@...j.c\....S.._..4.&...^Y.
00c0: .E.25sw+6.Y.,.f..W8+K...rTx1h(.$u..{.Q......>d.[...i.R.?N..b.0..
0100: ....k.F..-..X......./..98.X..n9..(Jw.1.=..r."1.........~$b....f%
0140: ....".....s..
03:20:06.529337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:06.529655 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:20:06.529710 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:20:06.646344 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:20:06.646585 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:20:06.646643 => Send SSL data, 70 bytes (0x46)
0000: ...BA.(<....4)UX.....o..0u..>.........'r..e.!...$3~.........+[7F]..
0040: ]G....
03:20:06.658600 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:06.659180 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:20:06.659239 => Send SSL data, 1 bytes (0x1)
0000: .
03:20:06.680759 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:20:06.680820 => Send SSL data, 16 bytes (0x10)
0000: .......u.]..>&.j
03:20:06.693330 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:20:06.696076 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:06.697174 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:20:06.697231 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:20:06.699668 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:20:06.705357 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:20:06.705413 <= Recv SSL data, 16 bytes (0x10)
0000: ....5.2\..k.....
03:20:06.733162 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:20:06.733820 == Info: ALPN, server did not agree to a protocol
03:20:06.736433 == Info: Server certificate:
03:20:06.744532 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:20:06.749308 == Info: start date: Sep 19 07:13:14 2018 GMT
03:20:06.750655 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:20:06.753695 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:20:06.755990 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:20:06.756574 == Info: SSL certificate verify ok.
03:20:06.763503 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5c98; line 1556 (connection #0)
03:20:06.783590 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:20:06.786481 => Send header, 86 bytes (0x56)
0000: GET /2034 HTTP/1.1
0014: Host: localhost:8991
002a: User-Agent: curl/7.66.0-DEV
0047: Accept: */*
0054:
03:20:06.789411 == Info: STATE: DO => DO_DONE handle 0x56c5c98; line 1627 (connection #0)
03:20:06.789875 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c98; line 1749 (connection #0)
03:20:06.794313 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:20:06.803793 == Info: Mark bundle as not supporting multiuse
03:20:06.804382 == Info: HTTP 1.1 or later with persistent connection
03:20:06.807096 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:20:06.814265 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:20:06.814717 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:20:06.814946 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:20:06.816117 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:20:06.818568 <= Recv header, 1 bytes (0x1)
0000: .
03:20:06.819207 <= Recv data, 4 bytes (0x4)
0000: MooM
03:20:06.821926 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:06.822098 <= Recv data, 3 bytes (0x3)
0000: oo.
03:20:06.823548 == Info: STATE: PERFORM => DONE handle 0x56c5c98; line 1939 (connection #0)
03:20:06.823880 == Info: multi_done
03:20:06.832912 == Info: Connection #0 to host localhost left intact
03:20:06.834749 == Info: Expire cleared (transfer 0x56c5c98)
=== End of file trace2034
=== Start of file valgrind2034
==5425== Invalid read of size 8
==5425== at 0x53315A5: check_free (dlerror.c:188)
==5425== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5425== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5425== by 0x4D60EB9: exit (exit.c:139)
==5425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5425== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
==5425== Invalid free() / delete / delete[] / realloc()
==5425== at 0x48369AB: free (vg_replace_malloc.c:540)
==5425== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5425== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5425== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5425== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5425== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5425== by 0x4D60EB9: exit (exit.c:139)
==5425== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5425== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
==5425== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5425== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5425== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5425== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5425== by 0x24B11C: err_get_state (err.c:210)
==5425== by 0x24BCF2: ERR_put_error (err.c:636)
==5425== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5425== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5425== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5425== by 0x27033E: by_file_ctrl (by_file.c:111)
==5425== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5425== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5425== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5425== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5425== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5425== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5425== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5425==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 36
valgrind ERROR ==5433== Invalid read of size 8
==5433== at 0x53315A5: check_free (dlerror.c:188)
==5433== by 0x5331AB1: free_key_mem (dlerror.c:221)
==5433== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==5433== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5433== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5433== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5433== by 0x4D60EB9: exit (exit.c:139)
==5433== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5433== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==5433== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5433== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5433== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5433== by 0x24B11C: err_get_state (err.c:210)
==5433== by 0x24BCF2: ERR_put_error (err.c:636)
==5433== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5433== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5433== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5433== by 0x27033E: by_file_ctrl (by_file.c:111)
==5433== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5433== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5433== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5433== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5433== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5433== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5433== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5433==
==5433== Invalid free() / delete / delete[] / realloc()
==5433== at 0x48369AB: free (vg_replace_malloc.c:540)
==5433== by 0x5331AB9: free_key_mem (dlerror.c:223)
==5433== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==5433== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==5433== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==5433== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==5433== by 0x4D60EB9: exit (exit.c:139)
==5433== by 0x4D4B0A1: (below main) (libc-start.c:342)
==5433== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==5433== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5433== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5433== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5433== by 0x24B11C: err_get_state (err.c:210)
==5433== by 0x24BCF2: ERR_put_error (err.c:636)
==5433== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5433== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5433== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5433== by 0x27033E: by_file_ctrl (by_file.c:111)
==5433== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5433== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5433== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5433== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5433== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5433== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5433== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5433==
==5433== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==5433== at 0x483577F: malloc (vg_replace_malloc.c:309)
==5433== by 0x25C29A: OPENSSL_malloc (mem.c:106)
==5433== by 0x26EF46: CRYPTO_set_thread_local (thread_pthread.c:182)
==5433== by 0x24B11C: err_get_state (err.c:210)
==5433== by 0x24BCF2: ERR_put_error (err.c:636)
==5433== by 0x260992: PEM_read_bio (pem_lib.c:622)
==5433== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==5433== by 0x27085C: X509_load_cert_crl_file (by_file.c:255)
==5433== by 0x27033E: by_file_ctrl (by_file.c:111)
==5433== by 0x273EF8: X509_LOOKUP_ctrl (x509_lu.c:123)
==5433== by 0x2733D9: X509_STORE_load_locations (x509_d2.c:91)
==5433== by 0x1F735D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==5433== by 0x1C810F: ossl_connect_step1 (openssl.c:2599)
==5433== by 0x1CAB24: ossl_connect_common (openssl.c:3549)
==5433== by 0x1CADA0: Curl_ossl_connect_nonblocking (openssl.c:3635)
==5433== by 0x17F641: Curl_ssl_connect_nonblocking (vtls.c:275)
==5433==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:20:08.702929 ====> Client connect
03:20:08.702968 accept_connection 3 returned 4
03:20:08.702982 accept_connection 3 returned 0
03:20:08.787965 Connection closed by client
03:20:08.788000 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file stderr2035
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (90) SSL: public key does not match pinned public key
=== End of file stderr2035
=== Start of file trace2035
03:20:07.877029 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:20:07.931816 == Info: Added connection 0. The cache now contains 1 members
03:20:07.986883 == Info: Trying ::1:8991...
03:20:07.987532 == Info: TCP_NODELAY set
03:20:07.992409 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c98; line 1418 (connection #0)
03:20:08.007419 == Info: connect to ::1 port 8991 failed: Connection refused
03:20:08.009588 == Info: Trying 127.0.0.1:8991...
03:20:08.009653 == Info: TCP_NODELAY set
03:20:08.018744 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:20:08.019266 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:20:08.020356 == Inf