curl / Autobuilds / Log From 2019-09-11

Log from 2019-09-11

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 40 (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 = Wed Sep 11 00:48:09 2019 UTC
testcurl: ./ is verified to be a fine git source dir
testcurl: build dir build-9373 was created fine
testcurl: run git pull in curl
Already up to date.
testcurl: The most recent curl git commits:
testcurl: bbde0407d curl: make sure the parallel transfers do them all
testcurl: 9637dbfff urlapi: one colon is enough for the strspn() input (typo)
testcurl: eab3c580f urlapi: verify the IPv6 numerical address
testcurl: ffe34b7b5 openssl: use SSL_CTX_set_<min|max>_proto_version() when available
testcurl: 9136542d3 openssl: indent, re-organize and add comments
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 pkg-config... (cached) /usr/bin/pkg-config
checking for quiche options with pkg-config... 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-9373/lib'
make all-am
make[2]: Entering directory '/build-9373/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-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 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 'set_ssl_version_min_max':
goto problem 2
/lib/vtls/openssl.c:2195:44: warning: conversion from 'long int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion]
2195 | if(!SSL_CTX_set_min_proto_version(ctx, ossl_ssl_version_min)) {
| ^~~~~~~~~~~~~~~~~~~~
goto problem 3
/lib/vtls/openssl.c:2231:42: warning: conversion from 'long int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion]
2231 | if(!SSL_CTX_set_max_proto_version(ctx, ossl_ssl_version_max)) {
| ^~~~~~~~~~~~~~~~~~~~
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-quiche.lo
CC vssh/libcurl_la-libssh2.lo
CC vssh/libcurl_la-libssh.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-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 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 'set_ssl_version_min_max':
goto problem 4
/lib/vtls/openssl.c:2195:44: warning: conversion from 'long int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion]
2195 | if(!SSL_CTX_set_min_proto_version(ctx, ossl_ssl_version_min)) {
| ^~~~~~~~~~~~~~~~~~~~
goto problem 5
/lib/vtls/openssl.c:2231:42: warning: conversion from 'long int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion]
2231 | if(!SSL_CTX_set_max_proto_version(ctx, ossl_ssl_version_max)) {
| ^~~~~~~~~~~~~~~~~~~~
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-quiche.lo
CC vssh/libcurlu_la-libssh2.lo
CC vssh/libcurlu_la-libssh.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-9373/lib'
make[1]: Leaving directory '/build-9373/lib'
Making all in src
make[1]: Entering directory '/build-9373/src'
Making all in ../docs
make[2]: Entering directory '/build-9373/docs'
Making all in .
make[3]: Entering directory '/build-9373/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-9373/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-9373/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-9373/docs/cmdline-opts'
make[3]: Leaving directory '/build-9373/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-9373/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-9373/docs/cmdline-opts'
make[2]: Leaving directory '/build-9373/docs'
make[2]: Entering directory '/build-9373/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-9373/src'
make[1]: Leaving directory '/build-9373/src'
make[1]: Entering directory '/build-9373'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-9373'
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.39.2 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-9373/tests'
Making all in certs
make[2]: Entering directory '/build-9373/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-9373/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-9373/tests/certs/scripts'
make[3]: Entering directory '/build-9373/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-9373/tests/certs'
make[2]: Leaving directory '/build-9373/tests/certs'
Making all in data
make[2]: Entering directory '/build-9373/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-9373/tests/data'
Making all in server
make[2]: Entering directory '/build-9373/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-9373/tests/server'
Making all in libtest
make[2]: Entering directory '/build-9373/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-9373/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-9373/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-9373/tests/unit'
make[2]: Entering directory '/build-9373/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-9373/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-9373/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-9373/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-9373/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-9373/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-9373/tests/server'
make[2]: Leaving directory '/build-9373/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.39.2 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 5.2.0-2-amd64 #1 SMP Debian 5.2.9-2 (2019-08-21) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1251, remaining: 66:44, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1251, remaining: 46:16, 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 1251, remaining: 38:58, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1251, remaining: 35:51, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1251, remaining: 33:38, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1251, remaining: 32:08, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1251, remaining: 31:06, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1251, remaining: 30:23, took 1.2s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1251, remaining: 29:51, took 1.2s, duration: 00:12)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1251, remaining: 31:27, took 2.2s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1251, remaining: 30:50, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1251, remaining: 30:16, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1251, remaining: 29:47, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1251, remaining: 29:24, took 1.2s, duration: 00:19)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1251, remaining: 29:03, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1251, remaining: 28:46, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1251, remaining: 28:30, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1251, remaining: 28:18, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1251, remaining: 28:02, took 1.1s, duration: 00:25)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1251, remaining: 27:45, took 1.1s, duration: 00:27)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1251, remaining: 27:16, took 0.9s, duration: 00:27)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1251, remaining: 27:08, took 1.2s, duration: 00:29)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1251, remaining: 26:53, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1251, remaining: 26:43, took 1.2s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1251, remaining: 26:39, took 1.3s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1251, remaining: 26:34, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1251, remaining: 26:32, took 1.3s, duration: 00:35)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1251, remaining: 26:26, 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 1251, remaining: 29:04, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1251, remaining: 32:16, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1251, remaining: 32:03, took 1.3s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1251, remaining: 31:48, took 1.2s, duration: 00:50)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1251, remaining: 32:11, took 2.2s, duration: 00:52)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1251, remaining: 31:55, took 1.2s, duration: 00:53)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1251, remaining: 31:40, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1251, remaining: 31:25, took 1.2s, duration: 00:55)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1251, remaining: 31:12, took 1.2s, duration: 00:57)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1251, remaining: 30:59, took 1.2s, duration: 00:58)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1251, remaining: 31:19, took 2.2s, duration: 01:00)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1251, remaining: 31:10, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1251, remaining: 30:51, took 1.0s, duration: 01:02)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1251, remaining: 30:43, took 1.3s, duration: 01:04)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1251, remaining: 30:33, took 1.2s, duration: 01:05)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1251, remaining: 30:24, took 1.3s, duration: 01:06)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1251, remaining: 30:15, 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 1251, remaining: 30:07, took 1.3s, duration: 01:08)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1251, remaining: 29:57, took 1.2s, duration: 01:10)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1251, remaining: 29:49, took 1.2s, duration: 01:11)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1251, remaining: 29:42, took 1.3s, duration: 01:12)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1251, remaining: 29:35, took 1.3s, duration: 01:13)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1251, remaining: 29:29, took 1.3s, duration: 01:15)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1251, remaining: 29:23, took 1.3s, duration: 01:16)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1251, remaining: 29:16, took 1.2s, duration: 01:17)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1251, remaining: 29:08, took 1.2s, duration: 01:18)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1251, remaining: 29:03, took 1.3s, duration: 01:20)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1251, remaining: 29:06, took 1.7s, duration: 01:21)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1251, remaining: 28:59, took 1.2s, duration: 01:23)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1251, remaining: 29:13, took 2.2s, duration: 01:25)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1251, remaining: 29:06, took 1.2s, duration: 01:26)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1251, remaining: 29:20, took 2.2s, duration: 01:28)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1251, remaining: 29:13, took 1.2s, duration: 01:29)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1251, remaining: 29:08, took 1.3s, duration: 01:31)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1251, remaining: 29:01, took 1.2s, duration: 01:32)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1251, remaining: 28:57, took 1.3s, duration: 01:33)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1251, remaining: 28:51, took 1.2s, duration: 01:34)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1251, remaining: 28:45, took 1.2s, duration: 01:36)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1251, remaining: 28:40, took 1.3s, duration: 01:37)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1251, remaining: 28:35, took 1.3s, duration: 01:38)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1251, remaining: 28:31, took 1.3s, duration: 01:39)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1251, remaining: 28:26, took 1.2s, duration: 01:41)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1251, remaining: 28:21, took 1.2s, duration: 01:42)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1251, remaining: 28:16, 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 1251, remaining: 28:11, took 1.2s, duration: 01:44)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1251, remaining: 28:07, took 1.3s, duration: 01:46)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1251, remaining: 27:58, took 0.9s, duration: 01:47)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1251, remaining: 27:49, took 0.9s, duration: 01:47)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1251, remaining: 27:44, took 1.2s, duration: 01:49)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1251, remaining: 27:39, took 1.2s, duration: 01:50)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1251, remaining: 27:35, 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 1251, remaining: 28:07, took 3.7s, duration: 01:55)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1251, remaining: 28:03, took 1.3s, duration: 01:56)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1251, remaining: 27:59, took 1.2s, duration: 01:57)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1251, remaining: 28:01, took 1.7s, duration: 01:59)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1251, remaining: 27:57, took 1.2s, duration: 02:00)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1251, remaining: 27:52, took 1.2s, duration: 02:01)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1251, remaining: 27:50, took 1.4s, duration: 02:03)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1251, remaining: 27:46, took 1.2s, duration: 02:04)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1251, remaining: 27:56, took 2.3s, duration: 02:06)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1251, remaining: 27:53, took 1.4s, duration: 02:08)
test 0090...[HTTP with NTLM via --anyauth, and then follow-location with NTLM again]
--pd---emv- OK (90 out of 1251, remaining: 27:52, took 1.5s, duration: 02:09)
test 0091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain, with size 0]
--pd---emv- OK (91 out of 1251, remaining: 27:49, took 1.3s, duration: 02:10)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1251, remaining: 27:44, took 1.2s, duration: 02:12)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1251, remaining: 27:40, took 1.2s, duration: 02:13)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1251, remaining: 27:35, took 1.2s, duration: 02:14)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1251, remaining: 27:36, took 1.7s, duration: 02:16)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1251, remaining: 27:28, took 0.9s, duration: 02:17)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1251, remaining: 27:24, took 1.2s, duration: 02:18)
test 0098...[HTTP PUT from stdin with set size, disabling chunked transfer-encoding]
--pd---emv- OK (98 out of 1251, remaining: 27:32, took 2.2s, duration: 02:20)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1251, remaining: 27:27, took 1.2s, duration: 02:21)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1251, remaining: 27:47, took 3.3s, duration: 02:24)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1251, remaining: 27:43, took 1.2s, duration: 02:26)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1251, remaining: 27:39, took 1.2s, duration: 02:27)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1251, remaining: 27:35, took 1.2s, duration: 02:28)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1251, remaining: 27:30, took 1.2s, duration: 02:29)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1251, remaining: 27:26, 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 1251, remaining: 27:23, took 1.2s, duration: 02:32)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1251, remaining: 27:19, took 1.2s, duration: 02:33)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1251, remaining: 27:15, took 1.2s, duration: 02:34)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1251, remaining: 27:12, took 1.2s, duration: 02:35)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1251, remaining: 27:08, took 1.2s, duration: 02:36)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1251, remaining: 27:04, took 1.2s, duration: 02:38)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1251, remaining: 27:00, took 1.2s, duration: 02:39)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1251, remaining: 26:56, took 1.2s, duration: 02:40)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1251, remaining: 26:52, took 1.1s, duration: 02:41)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1251, remaining: 26:48, took 1.2s, duration: 02:42)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1251, remaining: 26:45, took 1.2s, duration: 02:44)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1251, remaining: 26:41, took 1.2s, duration: 02:45)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1251, remaining: 26:38, took 1.2s, duration: 02:46)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1251, remaining: 26:34, took 1.2s, duration: 02:47)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1251, remaining: 26:31, took 1.2s, duration: 02:48)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1251, remaining: 26:28, took 1.2s, duration: 02:50)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1251, remaining: 26:24, took 1.2s, duration: 02:51)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1251, remaining: 26:21, took 1.2s, duration: 02:52)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1251, remaining: 26:18, took 1.2s, duration: 02:53)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1251, remaining: 26:14, took 1.2s, duration: 02:54)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1251, remaining: 26:11, took 1.2s, duration: 02:56)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1251, remaining: 26:08, took 1.2s, duration: 02:57)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1251, remaining: 26:05, 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 1251, remaining: 26:02, took 1.2s, duration: 02:59)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1251, remaining: 25:59, took 1.2s, duration: 03:00)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1251, remaining: 25:56, took 1.2s, duration: 03:02)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1251, remaining: 25:53, took 1.2s, duration: 03:03)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1251, remaining: 25:51, took 1.2s, duration: 03:04)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1251, remaining: 25:48, took 1.2s, duration: 03:05)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1251, remaining: 25:45, took 1.2s, duration: 03:06)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1251, remaining: 25:42, took 1.2s, duration: 03:08)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1251, 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 1251, remaining: 25:36, took 1.2s, duration: 03:10)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1251, remaining: 25:34, took 1.2s, duration: 03:11)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1251, remaining: 25:31, took 1.2s, duration: 03:12)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1251, remaining: 25:28, took 1.2s, duration: 03:14)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1251, remaining: 25:26, took 1.4s, duration: 03:15)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1251, 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 1251, remaining: 25:21, took 1.2s, duration: 03:17)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1251, remaining: 25:18, took 1.2s, duration: 03:19)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1251, remaining: 25:16, took 1.3s, duration: 03:20)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1251, remaining: 25:14, took 1.2s, duration: 03:21)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1251, remaining: 25:11, took 1.2s, duration: 03:22)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1251, remaining: 25:09, took 1.3s, duration: 03:24)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1251, remaining: 25:07, took 1.3s, duration: 03:25)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1251, remaining: 25:04, 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 1251, remaining: 25:01, took 1.2s, duration: 03:27)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1251, remaining: 25:00, took 1.4s, duration: 03:29)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1251, remaining: 25:05, took 2.3s, duration: 03:31)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1251, remaining: 25:10, took 2.3s, duration: 03:33)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1251, remaining: 25:15, took 2.2s, duration: 03:35)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1251, remaining: 25:12, took 1.2s, duration: 03:37)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1251, remaining: 25:10, took 1.2s, duration: 03:38)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1251, remaining: 25:07, 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 1251, remaining: 25:18, took 3.3s, duration: 03:42)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1251, remaining: 25:15, took 1.2s, duration: 03:43)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1251, remaining: 25:13, took 1.2s, duration: 03:45)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1251, remaining: 25:10, took 1.2s, duration: 03:46)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1251, remaining: 25:07, took 1.2s, duration: 03:47)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1251, remaining: 25:06, took 1.3s, duration: 03:48)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1251, remaining: 25:03, took 1.2s, duration: 03:50)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1251, remaining: 25:01, took 1.3s, duration: 03:51)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1251, remaining: 24:59, took 1.3s, duration: 03:52)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1251, remaining: 24:58, took 1.3s, duration: 03:53)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1251, remaining: 24:55, took 1.3s, duration: 03:55)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1251, remaining: 24:53, took 1.2s, duration: 03:56)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1251, remaining: 24:50, took 1.2s, duration: 03:57)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1251, remaining: 24:48, took 1.2s, duration: 03:58)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1251, remaining: 24:45, 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 1251, remaining: 24:43, 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 1251, remaining: 24:41, took 1.2s, duration: 04:02)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1251, remaining: 24:38, took 1.2s, duration: 04:03)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1251, remaining: 24:36, took 1.2s, duration: 04:04)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1251, remaining: 24:34, took 1.2s, duration: 04:06)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1251, remaining: 24:31, took 1.2s, duration: 04:07)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1251, remaining: 24:29, took 1.2s, duration: 04:08)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1251, remaining: 24:27, took 1.2s, duration: 04:09)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1251, remaining: 24:24, took 1.2s, duration: 04:10)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1251, remaining: 24:22, took 1.2s, duration: 04:12)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1251, remaining: 24:20, took 1.2s, duration: 04:13)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1251, remaining: 24:18, took 1.2s, duration: 04:14)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1251, remaining: 24:15, took 1.2s, duration: 04:15)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1251, remaining: 24:13, 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 1251, remaining: 24:11, took 1.2s, duration: 04:18)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1251, remaining: 24:53, took 9.1s, duration: 04:27)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1251, remaining: 25:01, took 3.2s, duration: 04:30)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1251, remaining: 24:59, took 1.2s, duration: 04:31)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1251, remaining: 24:56, 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 1251, remaining: 24:53, took 1.2s, duration: 04:34)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1251, remaining: 24:51, took 1.2s, duration: 04:35)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1251, remaining: 24:53, took 2.2s, duration: 04:37)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1251, remaining: 24:56, took 2.2s, duration: 04:39)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1251, remaining: 24:59, took 2.2s, duration: 04:41)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1251, remaining: 24:56, took 1.2s, duration: 04:43)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1251, remaining: 24:54, took 1.1s, duration: 04:44)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1251, remaining: 24:50, took 1.1s, duration: 04:45)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1251, remaining: 24:47, took 1.1s, duration: 04:46)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1251, remaining: 24:44, took 1.1s, duration: 04:47)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1251, remaining: 24:41, took 1.1s, duration: 04:48)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1251, remaining: 24:38, took 1.1s, duration: 04:49)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1251, remaining: 24:36, took 1.2s, duration: 04:51)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1251, remaining: 24:33, 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 1251, remaining: 24:36, took 2.2s, duration: 04:54)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1251, remaining: 24:34, took 1.3s, duration: 04:55)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1251, remaining: 24:32, took 1.2s, duration: 04:57)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1251, remaining: 24:30, took 1.2s, duration: 04:58)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1251, remaining: 24:27, took 1.2s, duration: 04:59)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1251, remaining: 24:25, took 1.3s, duration: 05:00)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1251, remaining: 24:23, took 1.2s, duration: 05:01)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1251, remaining: 24:21, took 1.2s, duration: 05:03)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1251, remaining: 24:19, took 1.3s, duration: 05:04)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1251, remaining: 24:16, took 1.1s, duration: 05:05)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1251, remaining: 24:18, took 2.2s, duration: 05:07)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1251, remaining: 24:15, took 1.1s, duration: 05:08)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1251, remaining: 24:13, took 1.2s, duration: 05:10)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1251, remaining: 24:10, took 1.2s, duration: 05:11)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1251, remaining: 24:08, took 1.2s, duration: 05:12)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1251, remaining: 24:06, took 1.2s, duration: 05:13)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1251, remaining: 24:03, took 1.2s, duration: 05:14)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1251, remaining: 24:01, took 1.1s, duration: 05:16)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1251, remaining: 23:58, took 1.2s, duration: 05:17)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1251, remaining: 23:56, took 1.2s, duration: 05:18)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1251, remaining: 23:54, took 1.2s, duration: 05:19)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1251, remaining: 23:51, took 1.2s, duration: 05:20)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1251, remaining: 23:49, took 1.2s, duration: 05:22)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1251, remaining: 23:46, took 1.1s, duration: 05:23)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1251, remaining: 23:44, took 1.2s, duration: 05:24)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1251, remaining: 23:42, took 1.2s, duration: 05:25)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1251, remaining: 23:40, took 1.2s, duration: 05:26)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1251, remaining: 23:38, took 1.2s, duration: 05:28)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1251, remaining: 23:35, took 1.2s, duration: 05:29)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1251, remaining: 23:33, took 1.2s, duration: 05:30)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1251, remaining: 23:31, took 1.2s, duration: 05:31)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1251, remaining: 23:29, took 1.3s, duration: 05:32)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1251, remaining: 23:35, took 3.2s, duration: 05:36)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1251, remaining: 23:33, took 1.2s, duration: 05:37)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1251, remaining: 23:30, took 1.2s, duration: 05:38)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1251, remaining: 23:29, took 1.3s, duration: 05:39)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1251, remaining: 23:26, took 1.2s, duration: 05:40)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1251, remaining: 23:24, took 1.2s, duration: 05:42)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1251, remaining: 23:22, took 1.3s, duration: 05:43)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1251, remaining: 23:20, took 1.2s, duration: 05:44)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1251, remaining: 23:18, took 1.2s, duration: 05:45)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1251, remaining: 23:16, took 1.2s, duration: 05:47)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1251, remaining: 23:55, took 11.4s, duration: 05:58)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1251, remaining: 24:34, took 11.6s, duration: 06:10)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1251, remaining: 24:39, took 3.2s, duration: 06:13)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1251, remaining: 24:37, took 1.2s, duration: 06:14)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1251, remaining: 24:34, took 1.2s, duration: 06:15)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1251, remaining: 24:31, took 1.2s, duration: 06:16)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1251, remaining: 24:29, took 1.2s, duration: 06:18)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1251, remaining: 24:27, took 1.3s, duration: 06:19)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1251, remaining: 24:24, took 1.3s, duration: 06:20)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1251, remaining: 24:30, took 3.3s, duration: 06:23)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1251, remaining: 24:27, took 1.2s, duration: 06:25)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1251, remaining: 24:25, took 1.2s, duration: 06:26)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1251, remaining: 24:22, took 1.2s, duration: 06:27)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1251, remaining: 24:20, took 1.2s, duration: 06:28)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1251, remaining: 24:17, took 1.2s, duration: 06:29)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1251, remaining: 24:15, took 1.3s, duration: 06:31)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1251, remaining: 24:12, took 1.2s, duration: 06:32)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1251, remaining: 24:10, took 1.3s, duration: 06:33)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1251, remaining: 24:08, took 1.2s, duration: 06:34)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1251, remaining: 24:05, took 1.2s, duration: 06:36)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1251, remaining: 24:03, took 1.2s, duration: 06:37)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1251, remaining: 24:08, took 3.2s, duration: 06:40)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1251, remaining: 24:05, took 1.2s, duration: 06:41)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1251, remaining: 24:03, took 1.2s, duration: 06:42)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1251, remaining: 24:00, took 1.2s, duration: 06:44)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1251, remaining: 24:00, took 1.7s, duration: 06:45)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1251, remaining: 23:57, took 1.2s, duration: 06:47)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1251, remaining: 23:55, took 1.2s, duration: 06:48)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1251, remaining: 23:53, took 1.2s, duration: 06:49)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1251, remaining: 23:50, took 1.2s, duration: 06:50)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1251, remaining: 23:48, took 1.2s, duration: 06:51)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1251, remaining: 23:49, took 2.2s, duration: 06:54)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1251, remaining: 23:46, took 1.2s, duration: 06:55)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1251, remaining: 23:44, took 1.2s, duration: 06:56)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1251, remaining: 23:41, took 1.2s, duration: 06:57)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1251, remaining: 23:45, took 3.2s, duration: 07:00)
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 1251, remaining: 23:56, took 5.0s, duration: 07:05)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1251, remaining: 23:53, took 1.2s, duration: 07:06)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1251, remaining: 23:51, took 1.1s, duration: 07:07)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1251, remaining: 23:48, took 1.0s, duration: 07:09)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1251, remaining: 23:45, took 1.2s, duration: 07:10)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1251, remaining: 23:43, took 1.2s, duration: 07:11)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1251, remaining: 23:40, took 1.2s, duration: 07:12)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1251, remaining: 23:38, took 1.2s, duration: 07:13)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1251, remaining: 23:35, took 1.2s, duration: 07:15)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1251, remaining: 23:33, took 1.2s, duration: 07:16)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1251, remaining: 23:31, took 1.2s, duration: 07:17)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1251, remaining: 23:28, took 1.2s, duration: 07:18)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1251, remaining: 23:26, took 1.2s, duration: 07:19)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1251, remaining: 23:24, took 1.2s, duration: 07:21)
test 0300...[simple HTTPS GET]
goto problem 6
valgrind ERROR ==11790== Invalid read of size 8
==11790== at 0x53335A5: check_free (dlerror.c:188)
==11790== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11790== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11790== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11790== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11790== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11790== by 0x4C4AEB9: exit (exit.c:139)
==11790== by 0x4C350A1: (below main) (libc-start.c:342)
==11790== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
==11790== Invalid free() / delete / delete[] / realloc()
==11790== at 0x48369AB: free (vg_replace_malloc.c:540)
==11790== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11790== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11790== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11790== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11790== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11790== by 0x4C4AEB9: exit (exit.c:139)
==11790== by 0x4C350A1: (below main) (libc-start.c:342)
==11790== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
==11790== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
== 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:50.635033 ====> Client connect
02:58:50.635072 accept_connection 3 returned 4
02:58:50.635086 accept_connection 3 returned 0
02:58:50.635227 Read 96 bytes
02:58:50.635265 Process 96 bytes request
02:58:50.635292 Got request: GET /verifiedserver HTTP/1.1
02:58:50.635311 Are-we-friendly question received
02:58:50.635346 Wrote request (96 bytes) input to log/server.input
02:58:50.635383 Identifying ourselves as friends
02:58:50.635480 Response sent (56 bytes) and written to log/server.response
02:58:50.635497 special request received, no persistency
02:58:50.635508 ====> Client disconnect 0
02:58:54.667397 ====> Client connect
02:58:54.667425 accept_connection 3 returned 4
02:58:54.667443 accept_connection 3 returned 0
02:58:54.752227 Read 85 bytes
02:58:54.752263 Process 85 bytes request
02:58:54.752278 Got request: GET /300 HTTP/1.1
02:58:54.752287 Requested test number 300 part 0
02:58:54.752312 - request found to be complete
02:58:54.752337 Wrote request (85 bytes) input to log/server.input
02:58:54.752361 Send response test300 section <data>
02:58:54.752438 Response sent (103 bytes) and written to log/server.response
02:58:54.752451 => persistent connection request ended, awaits new request
02:58:54.833538 Connection closed by client
02:58:54.833586 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.11 02:58:49 LOG5[11783]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 02:58:49 LOG5[11783]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 02:58:49 LOG5[11783]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 02:58:49 LOG5[11783]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 02:58:49 LOG5[11783]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 02:58:49 LOG5[11783]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 02:58:49 LOG5[11783]: FIPS mode disabled
2019.09.11 02:58:49 LOG5[11783]: Configuration successful
2019.09.11 02:58:50 LOG5[11788]: Service [curltest] accepted connection from 127.0.0.1:40336
2019.09.11 02:58:50 LOG5[11788]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:58:50 LOG5[11788]: Service [curltest] connected remote server from 127.0.0.1:47420
2019.09.11 02:58:50 LOG5[11788]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 02:58:52 LOG5[11791]: Service [curltest] accepted connection from 127.0.0.1:40340
2019.09.11 02:58:54 LOG5[11791]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:58:54 LOG5[11791]: Service [curltest] connected remote server from 127.0.0.1:47424
2019.09.11 02:58:54 LOG5[11791]: 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 0x561f136db828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x561f136db828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x561f136db828; line 1665 (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 0x561f136db828; line 1682 (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 0x561f136db828; line 1701 (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 0x561f136db828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x561f136db828; line 1877 (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 0x561f136db828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x561f136db828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 10535
=== 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: 10535
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:52.566649 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:58:52.624347 == Info: Added connection 0. The cache now contains 1 members
02:58:52.642163 == Info: Trying 127.0.0.1:8991...
02:58:52.642774 == Info: TCP_NODELAY set
02:58:52.647878 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:58:52.659634 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:52.660195 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:58:52.661324 == Info: Marked for [keep alive]: HTTP default
02:58:52.712270 == Info: ALPN, offering h2
02:58:52.712555 == Info: ALPN, offering http/1.1
02:58:54.139664 == Info: successfully set certificate verify locations:
02:58:54.139927 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:54.255673 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.260865 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:54.260931 => Send SSL data, 148 bytes (0x94)
0000: ......fV........v.K... .Z.=..^..f...'C....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:54.278121 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:54.283607 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:54.283668 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......g.........2..i....p.{..+|#R. .]..}2.).....&...*ig.....
0040: ~..>.B../................
02:58:54.328387 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.328746 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:54.328803 <= 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:58:54.429429 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:54.429649 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:54.429705 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G........B..(V;.....+WW.......].....NWO.J....).........h..
0080: .^..0..M-.^..Y..X.u..r....g7Dq2..#...@.u.$.6I.V.b9...2L...\ ....
00c0: ....Z......VR~.c`.[7F].%/.F`.^&...T..('.....8FLkYh..........:.x..L.
0100: m#<...jr.*..x.S.e......V.0.9|.....=i.(.2<<+..1x..........u?...K.
0140: ........f....
02:58:54.499598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.499819 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:54.499875 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:54.618666 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:54.618882 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:54.618940 => Send SSL data, 70 bytes (0x46)
0000: ...BA..U|........n.....6./^..<..}wZ.=......_..!..~,.2b_.........
0040: t.A}L.
02:58:54.631031 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:54.631616 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:54.631672 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:54.653843 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:54.653910 => Send SSL data, 16 bytes (0x10)
0000: ............E$..
02:58:54.666500 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.669030 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:54.670125 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:54.670186 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:54.672698 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:54.678563 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:54.678619 <= Recv SSL data, 16 bytes (0x10)
0000: ....e.:...v....w
02:58:54.708427 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:54.709118 == Info: ALPN, server did not agree to a protocol
02:58:54.711894 == Info: Server certificate:
02:58:54.719651 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.725967 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:54.726919 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:54.727852 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:54.728730 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:54.730277 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:58:54.750539 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:58:54.753463 => 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:58:54.756397 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:58:54.756873 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:58:54.761371 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:58:54.770440 == Info: Mark bundle as not supporting multiuse
02:58:54.771045 == Info: HTTP 1.1 or later with persistent connection
02:58:54.773766 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:58:54.784952 <= Recv SSL data, 5 bytes (0x5)
0000: ....k
02:58:54.785221 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:54.785455 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:54.786663 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:58:54.789315 <= Recv header, 1 bytes (0x1)
0000: .
02:58:54.789984 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:58:54.793664 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
02:58:54.793989 == Info: multi_done
02:58:54.803368 == Info: Connection #0 to host 127.0.0.1 left intact
02:58:54.805289 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace300
=== Start of file valgrind300
==11790== Invalid read of size 8
==11790== at 0x53335A5: check_free (dlerror.c:188)
==11790== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11790== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11790== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11790== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11790== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11790== by 0x4C4AEB9: exit (exit.c:139)
==11790== by 0x4C350A1: (below main) (libc-start.c:342)
==11790== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
==11790== Invalid free() / delete / delete[] / realloc()
==11790== at 0x48369AB: free (vg_replace_malloc.c:540)
==11790== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11790== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11790== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11790== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11790== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11790== by 0x4C4AEB9: exit (exit.c:139)
==11790== by 0x4C350A1: (below main) (libc-start.c:342)
==11790== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
==11790== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11790== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11790== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11790== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11790== by 0x24AEEC: err_get_state (err.c:210)
==11790== by 0x24BAC2: ERR_put_error (err.c:636)
==11790== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11790== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11790== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11790== by 0x27010E: by_file_ctrl (by_file.c:111)
==11790== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11790== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11790== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11790== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11790== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11790== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11790== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11790==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 7
valgrind ERROR ==11794== Invalid read of size 8
==11794== at 0x53335A5: check_free (dlerror.c:188)
==11794== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11794== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11794== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11794== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11794== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11794== by 0x4C4AEB9: exit (exit.c:139)
==11794== by 0x4C350A1: (below main) (libc-start.c:342)
==11794== Address 0x5afb1c0 is 0 bytes after a block of size 32 alloc'd
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
==11794== Invalid free() / delete / delete[] / realloc()
==11794== at 0x48369AB: free (vg_replace_malloc.c:540)
==11794== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11794== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11794== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11794== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11794== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11794== by 0x4C4AEB9: exit (exit.c:139)
==11794== by 0x4C350A1: (below main) (libc-start.c:342)
==11794== Address 0x5afb1a8 is 8 bytes inside a block of size 32 alloc'd
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
==11794== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
== 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:58:57.981794 ====> Client connect
02:58:57.981828 accept_connection 3 returned 4
02:58:57.981843 accept_connection 3 returned 0
02:58:58.069817 Read 120 bytes
02:58:58.069856 Process 120 bytes request
02:58:58.069873 Got request: GET /301 HTTP/1.1
02:58:58.069883 Requested test number 301 part 0
02:58:58.069907 - request found to be complete
02:58:58.069934 Wrote request (120 bytes) input to log/server.input
02:58:58.069956 Send response test301 section <data>
02:58:58.069978 connection close instruction "swsclose" found in response
02:58:58.070044 Response sent (130 bytes) and written to log/server.response
02:58:58.070060 instructed to close connection after server-reply
02:58:58.070068 ====> 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:58:56.887171 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
02:58:56.944087 == Info: Added connection 0. The cache now contains 1 members
02:58:56.961346 == Info: Trying 127.0.0.1:8991...
02:58:56.962046 == Info: TCP_NODELAY set
02:58:56.967288 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
02:58:56.979010 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:56.979572 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
02:58:56.980711 == Info: Marked for [keep alive]: HTTP default
02:58:57.032101 == Info: ALPN, offering h2
02:58:57.032391 == Info: ALPN, offering http/1.1
02:58:58.455187 == Info: successfully set certificate verify locations:
02:58:58.455450 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:58.570744 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:58.576352 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:58.576440 => Send SSL data, 148 bytes (0x94)
0000: ...... ...q..[7F].s..A_....O.D.ML....;.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:58.593768 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:58.599249 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:58.599307 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...0..H..Yy.e..HU....aP.@....&..P* $..7t.......J:.B...Nl+p..
0040: ..h..Xe./................
02:58:58.646039 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.646413 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:58.646474 <= 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:58:58.746628 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:58.746856 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:58.746913 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G........=.'.gZ.......Ou.b..k.....#<9.?.......M..9.z....z9
0080: ......y-!.eo."...1..9...e...z..l.,6m...h3S`5.xa&......,#....o...
00c0: .7Z..j.}=..7.. ..h.V/ ....S...0.a...Xi.A*...v..b....W..>.U9..c!.
0100: .4...8..I..j...v..........Op..........T...[/s.....8Z.v..3...&..
0140: i...)T..jx...
02:58:58.816775 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.816992 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:58:58.817049 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:58:58.933816 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:58:58.934020 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:58:58.934077 => Send SSL data, 70 bytes (0x46)
0000: ...BA......b.....]..CuSJNo.......D>QjH+..........)"]`.....T .8t.
0040: .....M
02:58:58.946092 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:58.946677 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:58:58.946734 => Send SSL data, 1 bytes (0x1)
0000: .
02:58:58.968324 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:58:58.968386 => Send SSL data, 16 bytes (0x10)
0000: .....ne...V%S...
02:58:58.980951 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:58:58.983584 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:58.984703 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:58:58.984763 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:58:58.987204 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:58:58.992981 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:58:58.993037 <= Recv SSL data, 16 bytes (0x10)
0000: .....S......_...
02:58:59.021729 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:58:59.022512 == Info: ALPN, server did not agree to a protocol
02:58:59.025162 == Info: Server certificate:
02:58:59.032802 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:59.038955 == Info: start date: Aug 31 23:39:18 2018 GMT
02:58:59.039909 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:58:59.040850 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:58:59.041718 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:58:59.043338 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8538; line 1685 (connection #0)
02:58:59.050397 == Info: Server auth using Basic with user 'fake'
02:58:59.068114 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:59.071123 => 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:58:59.074196 == Info: STATE: DO => DO_DONE handle 0x56c8538; line 1756 (connection #0)
02:58:59.074664 == Info: STATE: DO_DONE => PERFORM handle 0x56c8538; line 1877 (connection #0)
02:58:59.079185 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.092317 == Info: Mark bundle as not supporting multiuse
02:58:59.093009 == Info: HTTP 1.1 or later with persistent connection
02:58:59.095714 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:58:59.099631 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:58:59.099863 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:58:59.101608 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:58:59.101802 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:58:59.102599 == Info: no chunk, no close, no size. Assume close to signal end
02:58:59.102897 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:58:59.105900 <= Recv header, 1 bytes (0x1)
0000: .
02:58:59.121106 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.122453 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:58:59.122546 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:58:59.125409 <= Recv data, 0 bytes (0x0)
02:58:59.129390 == Info: STATE: PERFORM => DONE handle 0x56c8538; line 2067 (connection #0)
02:58:59.129944 == Info: multi_done
02:58:59.141793 == Info: Closing connection 0
02:58:59.143435 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:59.143991 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:58:59.144046 => Send SSL data, 2 bytes (0x2)
0000: ..
02:58:59.204940 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==11794== Invalid read of size 8
==11794== at 0x53335A5: check_free (dlerror.c:188)
==11794== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11794== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11794== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11794== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11794== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11794== by 0x4C4AEB9: exit (exit.c:139)
==11794== by 0x4C350A1: (below main) (libc-start.c:342)
==11794== Address 0x5afb1c0 is 0 bytes after a block of size 32 alloc'd
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
==11794== Invalid free() / delete / delete[] / realloc()
==11794== at 0x48369AB: free (vg_replace_malloc.c:540)
==11794== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11794== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11794== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11794== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11794== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11794== by 0x4C4AEB9: exit (exit.c:139)
==11794== by 0x4C350A1: (below main) (libc-start.c:342)
==11794== Address 0x5afb1a8 is 8 bytes inside a block of size 32 alloc'd
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
==11794== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11794== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11794== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11794== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11794== by 0x24AEEC: err_get_state (err.c:210)
==11794== by 0x24BAC2: ERR_put_error (err.c:636)
==11794== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11794== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11794== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11794== by 0x27010E: by_file_ctrl (by_file.c:111)
==11794== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11794== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11794== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11794== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11794== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11794== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11794== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11794==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1251, remaining: 23:36, took 1.2s, duration: 07:30)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 8
valgrind ERROR ==11801== Invalid read of size 8
==11801== at 0x53335A5: check_free (dlerror.c:188)
==11801== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11801== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11801== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11801== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11801== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11801== by 0x4C4AEB9: exit (exit.c:139)
==11801== by 0x4C350A1: (below main) (libc-start.c:342)
==11801== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
==11801== Invalid free() / delete / delete[] / realloc()
==11801== at 0x48369AB: free (vg_replace_malloc.c:540)
==11801== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11801== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11801== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11801== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11801== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11801== by 0x4C4AEB9: exit (exit.c:139)
==11801== by 0x4C350A1: (below main) (libc-start.c:342)
==11801== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
==11801== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
== 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:02.529182 ====> Client connect
02:59:02.529224 accept_connection 3 returned 4
02:59:02.529244 accept_connection 3 returned 0
02:59:02.615452 Read 90 bytes
02:59:02.615487 Process 90 bytes request
02:59:02.615502 Got request: GET /want/303 HTTP/1.1
02:59:02.615512 Requested test number 303 part 0
02:59:02.615538 - request found to be complete
02:59:02.615566 Wrote request (90 bytes) input to log/server.input
02:59:02.615588 Send response test303 section <data>
02:59:02.615660 Response sent (94 bytes) and written to log/server.response
02:59:02.615674 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:00:02 --:--:-- 0
100 19 0 19 0 0 5 0 --:--:-- 0:00:03 --:--:-- 5
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:00.394312 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:59:00.450320 == Info: Added connection 0. The cache now contains 1 members
02:59:00.467482 == Info: Trying 127.0.0.1:8991...
02:59:00.468085 == Info: TCP_NODELAY set
02:59:00.472464 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:59:00.484072 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:00.484642 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:59:00.485762 == Info: Marked for [keep alive]: HTTP default
02:59:00.536341 == Info: ALPN, offering h2
02:59:00.536627 == Info: ALPN, offering http/1.1
02:59:02.004679 == Info: successfully set certificate verify locations:
02:59:02.004952 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:02.122763 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:02.127984 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:02.128056 => Send SSL data, 148 bytes (0x94)
0000: ......m......X)...?1.p+....x.u..l?..F.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:02.145596 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:02.151104 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:02.151169 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....^q0..v.!/L.8`k=.m.\...Z4.7... ..y......}T.G......A.b^(A
0040: .a....2./................
02:59:02.195879 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:02.196258 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:02.196318 <= 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:02.296490 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:02.296724 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:02.296781 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G.......#.* .`...+@M.9...F( 8L_XF....w....B..).`/..0...u..
0080: .VX..Bjn...r.....4..b..l....s#....u!.f..00.....jx.....`.H...PKr.
00c0: .....:JC......z .........C,^.;..t.S-)Z...8.W~T..m...s5....s@2..o
0100: .;.G...Z.z.5~x..qFju[.;..~.H....\..!5...1...3..m.g.h.....'y/..0.
0140: ... "..6.A...
02:59:02.365770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:02.365981 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:02.366037 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:02.481388 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:02.481594 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:02.481654 => Send SSL data, 70 bytes (0x46)
0000: ...BA..Rg.|M....[7F]..5*.6M.|...E..5.f....z..0...........m.P.,!.F..
0040: ..94.F
02:59:02.493519 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:02.494103 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:02.494162 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:02.515522 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:02.515586 => Send SSL data, 16 bytes (0x10)
0000: .....T. .D.}....
02:59:02.528274 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:02.530876 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:02.532015 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:02.532082 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:02.534627 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:02.540636 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:02.540699 <= Recv SSL data, 16 bytes (0x10)
0000: ....s..`...^.n..
02:59:02.570192 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:02.570882 == Info: ALPN, server did not agree to a protocol
02:59:02.573623 == Info: Server certificate:
02:59:02.581405 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:02.587760 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:02.588719 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:02.589657 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:02.590529 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:02.592037 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:59:02.613751 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:59:02.616716 => 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:02.619807 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:59:02.620426 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:59:02.624874 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:02.633895 == Info: Mark bundle as not supporting multiuse
02:59:02.634487 == Info: HTTP 1.1 or later with persistent connection
02:59:02.637235 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:59:02.648182 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:02.649020 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:02.650111 == Info: Marked for [closure]: Connection: close used
02:59:02.650234 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:02.652855 <= Recv header, 2 bytes (0x2)
0000:
02:59:02.653488 <= Recv data, 5 bytes (0x5)
0000: _data
02:59:02.656828 <= Recv SSL data, 5 bytes (0x5)
0000: ....&
02:59:02.657016 <= Recv data, 14 bytes (0xe)
0000: _result_data_.
02:59:08.415199 == Info: Operation timed out after 8001 milliseconds with 19 bytes received
02:59:08.416256 == Info: multi_done
02:59:08.429162 == Info: Closing connection 0
02:59:08.431349 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:08.432451 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:08.432518 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:08.493133 == Info: The cache now contains 0 members
02:59:08.500725 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace303
=== Start of file valgrind303
==11801== Invalid read of size 8
==11801== at 0x53335A5: check_free (dlerror.c:188)
==11801== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11801== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11801== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11801== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11801== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11801== by 0x4C4AEB9: exit (exit.c:139)
==11801== by 0x4C350A1: (below main) (libc-start.c:342)
==11801== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
==11801== Invalid free() / delete / delete[] / realloc()
==11801== at 0x48369AB: free (vg_replace_malloc.c:540)
==11801== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11801== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11801== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11801== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11801== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11801== by 0x4C4AEB9: exit (exit.c:139)
==11801== by 0x4C350A1: (below main) (libc-start.c:342)
==11801== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
==11801== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11801== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11801== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11801== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11801== by 0x24AEEC: err_get_state (err.c:210)
==11801== by 0x24BAC2: ERR_put_error (err.c:636)
==11801== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11801== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11801== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11801== by 0x27010E: by_file_ctrl (by_file.c:111)
==11801== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11801== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11801== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11801== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11801== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11801== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11801== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11801==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 9
valgrind ERROR ==11808== Invalid read of size 8
==11808== at 0x53335A5: check_free (dlerror.c:188)
==11808== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11808== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11808== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11808== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11808== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11808== by 0x4C4AEB9: exit (exit.c:139)
==11808== by 0x4C350A1: (below main) (libc-start.c:342)
==11808== Address 0x5b033d0 is 0 bytes after a block of size 32 alloc'd
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
==11808== Invalid free() / delete / delete[] / realloc()
==11808== at 0x48369AB: free (vg_replace_malloc.c:540)
==11808== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11808== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11808== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11808== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11808== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11808== by 0x4C4AEB9: exit (exit.c:139)
==11808== by 0x4C350A1: (below main) (libc-start.c:342)
==11808== Address 0x5b033b8 is 8 bytes inside a block of size 32 alloc'd
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
==11808== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
== 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:22.635330 Continuing after sleeping 20 seconds
02:59:22.635680 => persistent connection request ended, awaits new request
02:59:22.635726 Connection closed by client
02:59:22.635750 ====> Client disconnect 0
02:59:22.635843 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:22.635923 ====> Client connect
02:59:22.635959 accept_connection 3 returned 4
02:59:22.635980 accept_connection 3 returned 0
02:59:22.636002 Read 1610 bytes
02:59:22.636018 Process 1610 bytes request
02:59:22.636037 Got request: POST /we/want/304 HTTP/1.1
02:59:22.636052 Requested test number 304 part 0
02:59:22.636094 - request found to be complete
02:59:22.636111 Found Content-Length: 1386 in the request
02:59:22.636143 Wrote request (1610 bytes) input to log/server.input
02:59:22.636175 Send response test304 section <data>
02:59:22.636311 Response sent (108 bytes) and written to log/server.response
02:59:22.636332 => persistent connection request ended, awaits new request
02:59:22.709852 Connection closed by client
02:59:22.709892 ====> 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 328 0:00:04 0:00:04 --:--:-- 335
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 124 0:00:11 0:00:11 --:--:-- 0
100 1396 0 10 100 1386 0 124 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:11.551171 == Info: STATE: INIT => CONNECT handle 0x56ccb38; line 1491 (connection #-5000)
02:59:11.605965 == Info: Added connection 0. The cache now contains 1 members
02:59:11.623924 == Info: Trying 127.0.0.1:8991...
02:59:11.624565 == Info: TCP_NODELAY set
02:59:11.629740 == Info: STATE: CONNECT => WAITCONNECT handle 0x56ccb38; line 1547 (connection #0)
02:59:11.641559 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:11.642130 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56ccb38; line 1665 (connection #0)
02:59:11.643255 == Info: Marked for [keep alive]: HTTP default
02:59:11.694294 == Info: ALPN, offering h2
02:59:11.694579 == Info: ALPN, offering http/1.1
02:59:13.105372 == Info: successfully set certificate verify locations:
02:59:13.105640 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:13.221800 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:13.226925 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:13.226984 => Send SSL data, 148 bytes (0x94)
0000: ........R.e..=a.g&..#...CA$..KT>bt`.$.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:13.244021 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:13.249414 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:13.249470 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....3Q\E~1X.1{M......^..[7F]^...C4... ......W^.......<c..z....f
0040: [7F]....e^./................
02:59:13.293380 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:13.293751 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:13.293806 <= 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:13.392818 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:13.393056 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:13.393113 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G............7.`.....O..:|....}.....0....9v...Q.&Tu.......
0080: .<..#;U..z....k:.;..j....FX.A..(...T`S.|YVW.X.u.b.pKk%..,,...N.n
00c0: ....F......-.a.%.%.r.$f.-..E.E...C[7F]3|...........$.....%m.../....
0100: i.....*g.V#o<T...3Wb...Y4..d.V.^.2.#..|p_...Vq...l...83..8qz...o
0140: ".....M@...-.
02:59:13.462328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:13.462571 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:13.462650 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:13.578448 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:13.578651 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:13.578708 => Send SSL data, 70 bytes (0x46)
0000: ...BA...*...;h.=.d.U..y....m<.=.H....Y...U.O.)...=.Z7U....|...60
0040: QC...5
02:59:13.590659 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:13.591242 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:13.591299 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:13.612778 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:13.612844 => Send SSL data, 16 bytes (0x10)
0000: ............<...
02:59:13.626055 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:13.628683 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:13.629788 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:13.629850 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:13.632311 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:13.638055 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:13.638112 <= Recv SSL data, 16 bytes (0x10)
0000: .......w.&A!b.:.
02:59:13.666732 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:13.667413 == Info: ALPN, server did not agree to a protocol
02:59:13.670096 == Info: Server certificate:
02:59:13.677650 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:13.683816 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:13.684773 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:13.685705 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:13.686571 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:13.688091 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56ccb38; line 1685 (connection #0)
02:59:13.723747 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:13.726672 => 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:13.730654 == Info: STATE: DO => DO_DONE handle 0x56ccb38; line 1756 (connection #0)
02:59:13.731120 == Info: STATE: DO_DONE => PERFORM handle 0x56ccb38; line 1877 (connection #0)
02:59:14.732989 == Info: Done waiting for 100-continue
02:59:14.755010 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:14.755580 => 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:14.761687 == Info: We are completely uploaded and fine
02:59:22.641871 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
02:59:22.655336 == Info: Mark bundle as not supporting multiuse
02:59:22.655935 == Info: HTTP 1.1 or later with persistent connection
02:59:22.658612 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:22.664729 <= Recv SSL data, 5 bytes (0x5)
0000: ....\
02:59:22.665384 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:22.665617 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:22.666698 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:22.669167 <= Recv header, 1 bytes (0x1)
0000: .
02:59:22.669828 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:22.673449 == Info: STATE: PERFORM => DONE handle 0x56ccb38; line 2067 (connection #0)
02:59:22.673772 == Info: multi_done
02:59:22.681988 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==11808== Invalid read of size 8
==11808== at 0x53335A5: check_free (dlerror.c:188)
==11808== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11808== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11808== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11808== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11808== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11808== by 0x4C4AEB9: exit (exit.c:139)
==11808== by 0x4C350A1: (below main) (libc-start.c:342)
==11808== Address 0x5b033d0 is 0 bytes after a block of size 32 alloc'd
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
==11808== Invalid free() / delete / delete[] / realloc()
==11808== at 0x48369AB: free (vg_replace_malloc.c:540)
==11808== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11808== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11808== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11808== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11808== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11808== by 0x4C4AEB9: exit (exit.c:139)
==11808== by 0x4C350A1: (below main) (libc-start.c:342)
==11808== Address 0x5b033b8 is 8 bytes inside a block of size 32 alloc'd
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
==11808== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11808== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11808== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11808== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11808== by 0x24AEEC: err_get_state (err.c:210)
==11808== by 0x24BAC2: ERR_put_error (err.c:636)
==11808== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11808== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11808== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11808== by 0x27010E: by_file_ctrl (by_file.c:111)
==11808== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11808== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11808== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11808== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11808== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11808== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11808== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11808==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 10
valgrind ERROR ==11812== Invalid read of size 8
==11812== at 0x53335A5: check_free (dlerror.c:188)
==11812== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11812== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11812== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11812== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11812== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11812== by 0x4C4AEB9: exit (exit.c:139)
==11812== by 0x4C350A1: (below main) (libc-start.c:342)
==11812== Address 0x5758ea0 is 0 bytes after a block of size 32 alloc'd
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
==11812== Invalid free() / delete / delete[] / realloc()
==11812== at 0x48369AB: free (vg_replace_malloc.c:540)
==11812== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11812== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11812== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11812== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11812== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11812== by 0x4C4AEB9: exit (exit.c:139)
==11812== by 0x4C350A1: (below main) (libc-start.c:342)
==11812== Address 0x5758e88 is 8 bytes inside a block of size 32 alloc'd
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
==11812== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
== 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:23.771002 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
02:59:23.825880 == Info: Added connection 0. The cache now contains 1 members
02:59:23.843055 == Info: Trying 127.0.0.1:8991...
02:59:23.843660 == Info: TCP_NODELAY set
02:59:23.848904 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
02:59:23.860497 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:23.861057 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
02:59:23.862176 == Info: Marked for [keep alive]: HTTP default
02:59:23.912782 == Info: ALPN, offering h2
02:59:23.913058 == Info: ALPN, offering http/1.1
02:59:23.923531 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:23.923999 == Info: Marked for [closure]: Failed HTTPS connection
02:59:23.924537 == Info: multi_done
02:59:23.933752 == Info: Closing connection 0
02:59:23.953085 == Info: The cache now contains 0 members
02:59:23.960830 == Info: Expire cleared (transfer 0x56c8538)
=== End of file trace305
=== Start of file valgrind305
==11812== Invalid read of size 8
==11812== at 0x53335A5: check_free (dlerror.c:188)
==11812== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11812== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11812== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11812== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11812== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11812== by 0x4C4AEB9: exit (exit.c:139)
==11812== by 0x4C350A1: (below main) (libc-start.c:342)
==11812== Address 0x5758ea0 is 0 bytes after a block of size 32 alloc'd
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
==11812== Invalid free() / delete / delete[] / realloc()
==11812== at 0x48369AB: free (vg_replace_malloc.c:540)
==11812== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11812== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11812== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11812== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11812== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11812== by 0x4C4AEB9: exit (exit.c:139)
==11812== by 0x4C350A1: (below main) (libc-start.c:342)
==11812== Address 0x5758e88 is 8 bytes inside a block of size 32 alloc'd
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
==11812== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==11812== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11812== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11812== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11812== by 0x24AEEC: err_get_state (err.c:210)
==11812== by 0x24BAC2: ERR_put_error (err.c:636)
==11812== by 0x23B393: BIO_new_file (file.c:99)
==11812== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==11812== by 0x27010E: by_file_ctrl (by_file.c:111)
==11812== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11812== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11812== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11812== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11812== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11812== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11812== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11812== by 0x18D5A2: https_connecting (http.c:1578)
==11812==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 11
valgrind ERROR ==11816== Invalid read of size 8
==11816== at 0x53335A5: check_free (dlerror.c:188)
==11816== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11816== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11816== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11816== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11816== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11816== by 0x4C4AEB9: exit (exit.c:139)
==11816== by 0x4C350A1: (below main) (libc-start.c:342)
==11816== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
==11816== Invalid free() / delete / delete[] / realloc()
==11816== at 0x48369AB: free (vg_replace_malloc.c:540)
==11816== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11816== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11816== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11816== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11816== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11816== by 0x4C4AEB9: exit (exit.c:139)
==11816== by 0x4C350A1: (below main) (libc-start.c:342)
==11816== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
==11816== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
== 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:27.041333 ====> Client connect
02:59:27.041369 accept_connection 3 returned 4
02:59:27.041384 accept_connection 3 returned 0
02:59:27.124476 Read 85 bytes
02:59:27.124512 Process 85 bytes request
02:59:27.124528 Got request: GET /306 HTTP/1.1
02:59:27.124539 Requested test number 306 part 0
02:59:27.124563 - request found to be complete
02:59:27.124589 Wrote request (85 bytes) input to log/server.input
02:59:27.124610 Send response test306 section <data>
02:59:27.124632 connection close instruction "swsclose" found in response
02:59:27.124688 Response sent (107 bytes) and written to log/server.response
02:59:27.124699 instructed to close connection after server-reply
02:59:27.124706 ====> 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 48 0 --:--:-- 0:00:02 --:--:-- 49
=== End of file stderr306
=== Start of file trace306
02:59:25.970772 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:59:26.026132 == Info: Added connection 0. The cache now contains 1 members
02:59:26.043419 == Info: Trying 127.0.0.1:8991...
02:59:26.044027 == Info: TCP_NODELAY set
02:59:26.049153 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:59:26.060841 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:26.061405 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:59:26.062532 == Info: Marked for [keep alive]: HTTP default
02:59:26.113498 == Info: ALPN, offering h2
02:59:26.113777 == Info: ALPN, offering http/1.1
02:59:27.519005 == Info: successfully set certificate verify locations:
02:59:27.519267 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:27.633954 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:27.639240 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:27.639315 => Send SSL data, 148 bytes (0x94)
0000: ......#.f.,....L..y...ixP.w.-....a...Q....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:27.656517 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:27.661970 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:27.662029 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..Z..|..L...%-....${O.n8 S..#..... g..$.6...x...$~.EX..-....
0040: ..'Q..../................
02:59:27.706229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.706628 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:27.706689 <= 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:27.805786 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:27.806007 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:27.806065 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G...... .u.h..mW\..y..an.....K..O..]D.r...n....G.s..Dl...,
0080: ...cN.s.q......1..k.ty..z..h+3...8.z.d.+....2,.g....k%_.....,...
00c0: m.Z....U.*.t...eF.:...|.F...+e.....7..v...6.t.aA..R/.O...~...\.I
0100: ..!.3'..CH...C....e(n.6,../..........i>..g.*...O&..~.......<..|.
0140: ?...o.v.....s
02:59:27.875632 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:27.875841 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:27.875898 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:27.992418 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:27.992629 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:27.992688 => Send SSL data, 70 bytes (0x46)
0000: ...BA....+..O@......roG,.....+...[...(...K......)....x]=..ZqA...
0040: L...+x
02:59:28.005385 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:28.005981 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:28.006039 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:28.027712 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:28.027795 => Send SSL data, 16 bytes (0x10)
0000: .....A.._{.Z+.].
02:59:28.040435 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:28.042980 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:28.044076 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:28.044137 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:28.046600 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:28.052335 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:28.052392 <= Recv SSL data, 16 bytes (0x10)
0000: .....9_..W.]....
02:59:28.081102 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:28.081768 == Info: ALPN, server did not agree to a protocol
02:59:28.084426 == Info: Server certificate:
02:59:28.092016 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:28.098238 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:28.099193 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:28.100126 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:28.101001 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:28.102507 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:59:28.122809 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:28.125713 => 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:28.129020 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:59:28.129606 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:59:28.134100 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:28.139521 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:28.140460 <= Recv data, 38 bytes (0x26)
0000: No headers at all, just data swsclose.
02:59:28.140934 <= Recv data, 69 bytes (0x45)
0000: .Let's get..a little..so that..we..have..some..test..data to..ve
0040: rify.
02:59:28.141534 == Info: Increasing bytecount by 38 from hbuflen
02:59:28.176229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:28.178474 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:28.178605 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:28.181823 == Info: nread <= 0, server closed connection, bailing
02:59:28.184239 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
02:59:28.184961 == Info: multi_done
02:59:28.198069 == Info: Closing connection 0
02:59:28.199730 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:28.200417 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:28.200475 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:28.260780 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==11816== Invalid read of size 8
==11816== at 0x53335A5: check_free (dlerror.c:188)
==11816== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11816== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11816== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11816== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11816== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11816== by 0x4C4AEB9: exit (exit.c:139)
==11816== by 0x4C350A1: (below main) (libc-start.c:342)
==11816== Address 0x5af8130 is 0 bytes after a block of size 32 alloc'd
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
==11816== Invalid free() / delete / delete[] / realloc()
==11816== at 0x48369AB: free (vg_replace_malloc.c:540)
==11816== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11816== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11816== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11816== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11816== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11816== by 0x4C4AEB9: exit (exit.c:139)
==11816== by 0x4C350A1: (below main) (libc-start.c:342)
==11816== Address 0x5af8118 is 8 bytes inside a block of size 32 alloc'd
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
==11816== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11816== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11816== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11816== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11816== by 0x24AEEC: err_get_state (err.c:210)
==11816== by 0x24BAC2: ERR_put_error (err.c:636)
==11816== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11816== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11816== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11816== by 0x27010E: by_file_ctrl (by_file.c:111)
==11816== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11816== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11816== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11816== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11816== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11816== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11816== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11816==
=== 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 12
valgrind ERROR ==11822== Invalid read of size 8
==11822== at 0x53335A5: check_free (dlerror.c:188)
==11822== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11822== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11822== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11822== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11822== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11822== by 0x4C4AEB9: exit (exit.c:139)
==11822== by 0x4C350A1: (below main) (libc-start.c:342)
==11822== Address 0x5b31ca0 is 0 bytes after a block of size 32 alloc'd
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
==11822== Invalid free() / delete / delete[] / realloc()
==11822== at 0x48369AB: free (vg_replace_malloc.c:540)
==11822== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11822== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11822== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11822== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11822== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11822== by 0x4C4AEB9: exit (exit.c:139)
==11822== by 0x4C350A1: (below main) (libc-start.c:342)
==11822== Address 0x5b31c88 is 8 bytes inside a block of size 32 alloc'd
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
==11822== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
== 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:28.366931 ====> Client connect
02:59:28.366973 accept_connection 3 returned 4
02:59:28.366988 accept_connection 3 returned 0
02:59:28.396737 Read 90 bytes
02:59:28.396767 Process 90 bytes request
02:59:28.396784 Got request: GET /want/309 HTTP/1.1
02:59:28.396795 Requested test number 309 part 0
02:59:28.396821 - request found to be complete
02:59:28.396842 Wrote request (90 bytes) input to log/server.input
02:59:28.396861 Send response test309 section <data>
02:59:28.396885 connection close instruction "swsclose" found in response
02:59:28.396967 Response sent (277 bytes) and written to log/server.response
02:59:28.396977 instructed to close connection after server-reply
02:59:28.396985 ====> Client disconnect 0
02:59:30.422261 ====> Client connect
02:59:30.422284 accept_connection 3 returned 4
02:59:30.422298 accept_connection 3 returned 0
02:59:30.495210 Read 111 bytes
02:59:30.495247 Process 111 bytes request
02:59:30.495263 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:30.495274 Requested test number 309 part 2
02:59:30.495300 - request found to be complete
02:59:30.495312 Wrote request (111 bytes) input to log/server.input
02:59:30.495323 Send response test309 section <data2>
02:59:30.495345 connection close instruction "swsclose" found in response
02:59:30.495402 Response sent (179 bytes) and written to log/server.response
02:59:30.495412 instructed to close connection after server-reply
02:59:30.495420 ====> 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:28.286574 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
02:59:28.343490 == Info: Added connection 0. The cache now contains 1 members
02:59:28.363603 == Info: Trying 127.0.0.1:8990...
02:59:28.364248 == Info: TCP_NODELAY set
02:59:28.369600 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
02:59:28.381668 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:28.382254 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
02:59:28.383424 == Info: Marked for [keep alive]: HTTP default
02:59:28.384351 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #0)
02:59:28.397425 => 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:28.402723 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #0)
02:59:28.403212 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
02:59:28.412876 == Info: Mark bundle as not supporting multiuse
02:59:28.413465 == Info: HTTP 1.1 or later with persistent connection
02:59:28.416321 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:28.420315 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:28.420551 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:28.422502 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:28.423572 == Info: Marked for [closure]: Connection: close used
02:59:28.423691 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:28.426388 <= Recv header, 2 bytes (0x2)
0000:
02:59:28.428156 == Info: multi_done
02:59:28.437652 == Info: Closing connection 0
02:59:28.442299 == Info: The cache now contains 0 members
02:59:28.452503 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:28.453305 == Info: STATE: PERFORM => CONNECT handle 0x56c8098; line 2044 (connection #-5000)
02:59:28.456986 == Info: Added connection 1. The cache now contains 1 members
02:59:28.457642 == Info: Trying 127.0.0.1:8991...
02:59:28.457703 == Info: TCP_NODELAY set
02:59:28.458187 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #1)
02:59:28.458334 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:28.458419 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #1)
02:59:28.458494 == Info: Marked for [keep alive]: HTTP default
02:59:28.509460 == Info: ALPN, offering h2
02:59:28.509750 == Info: ALPN, offering http/1.1
02:59:29.902325 == Info: successfully set certificate verify locations:
02:59:29.902588 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:30.017337 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:30.020576 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:30.020635 => Send SSL data, 148 bytes (0x94)
0000: .........t9R...a...3..).c.6l..Y.x...9"....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:30.037512 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:30.043277 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:30.043337 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....[7F]L2dx/....Y.........R..a(..6.K .....W@1.3........cz=c.6.
0040: ......../................
02:59:30.087183 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:30.087559 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:30.087614 <= 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:30.188274 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:30.188525 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:30.188603 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.. #H.Y...\0.I.W.G...%.b.l..p.B`......V{co.,9."..{c.t4<.
0040: ..@..(G..........=4.%}.U.![p...x..zY@.v....Q."G...g{.OZ]........
0080: .k...9.%.......xE|*.}X.r.d.r..s...i.$|)Z................gp!..m..
00c0: .?....R\...@Op.R....q..b.q.[.8.~/....!...........e..q..h.....}..
0100: 7_.X...K,...J."...X........)v..z2.4.....f.>.^-...=...#....Gj.j4Y
0140: `B...@i..}lh&
02:59:30.258116 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:30.258345 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:30.258401 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:30.374477 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:30.374682 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:30.374739 => Send SSL data, 70 bytes (0x46)
0000: ...BA.z....%w..Y.....R.-..sV.ie...P<.v...mb.0.N.(t.....U$...(-..
0040: ......
02:59:30.386735 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:30.387320 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:30.387377 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:30.408855 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:30.408916 => Send SSL data, 16 bytes (0x10)
0000: ......^...=.K.,.
02:59:30.421399 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:30.423914 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:30.425014 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:30.425075 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:30.427577 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:30.433331 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:30.433387 <= Recv SSL data, 16 bytes (0x10)
0000: ....i..q..y%g..,
02:59:30.461956 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:30.462628 == Info: ALPN, server did not agree to a protocol
02:59:30.465228 == Info: Server certificate:
02:59:30.472739 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:30.478926 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:30.479879 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:30.480809 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:30.481676 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:30.482843 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8098; line 1685 (connection #1)
02:59:30.493528 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:30.496085 => 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:30.496668 == Info: STATE: DO => DO_DONE handle 0x56c8098; line 1756 (connection #1)
02:59:30.496757 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #1)
02:59:30.499499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:30.506072 == Info: Mark bundle as not supporting multiuse
02:59:30.506235 == Info: HTTP 1.1 or later with persistent connection
02:59:30.506317 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:30.506570 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:30.506794 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:30.507908 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:30.508260 <= Recv header, 2 bytes (0x2)
0000:
02:59:30.508653 <= Recv data, 52 bytes (0x34)
0000: If this is received, the location following worked..
02:59:30.513672 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #1)
02:59:30.513996 == Info: multi_done
02:59:30.516693 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:30.518530 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace309
=== Start of file valgrind309
==11822== Invalid read of size 8
==11822== at 0x53335A5: check_free (dlerror.c:188)
==11822== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11822== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11822== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11822== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11822== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11822== by 0x4C4AEB9: exit (exit.c:139)
==11822== by 0x4C350A1: (below main) (libc-start.c:342)
==11822== Address 0x5b31ca0 is 0 bytes after a block of size 32 alloc'd
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
==11822== Invalid free() / delete / delete[] / realloc()
==11822== at 0x48369AB: free (vg_replace_malloc.c:540)
==11822== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11822== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11822== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11822== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11822== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11822== by 0x4C4AEB9: exit (exit.c:139)
==11822== by 0x4C350A1: (below main) (libc-start.c:342)
==11822== Address 0x5b31c88 is 8 bytes inside a block of size 32 alloc'd
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
==11822== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11822== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11822== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11822== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11822== by 0x24AEEC: err_get_state (err.c:210)
==11822== by 0x24BAC2: ERR_put_error (err.c:636)
==11822== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11822== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11822== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11822== by 0x27010E: by_file_ctrl (by_file.c:111)
==11822== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11822== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11822== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11822== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11822== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11822== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11822== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11822==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 13
valgrind ERROR ==11841== Invalid read of size 8
==11841== at 0x53335A5: check_free (dlerror.c:188)
==11841== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11841== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11841== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11841== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11841== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11841== by 0x4C4AEB9: exit (exit.c:139)
==11841== by 0x4C350A1: (below main) (libc-start.c:342)
==11841== Address 0x5766090 is 0 bytes after a block of size 32 alloc'd
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
==11841== Invalid free() / delete / delete[] / realloc()
==11841== at 0x48369AB: free (vg_replace_malloc.c:540)
==11841== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11841== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11841== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11841== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11841== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11841== by 0x4C4AEB9: exit (exit.c:139)
==11841== by 0x4C350A1: (below main) (libc-start.c:342)
==11841== Address 0x5766078 is 8 bytes inside a block of size 32 alloc'd
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
==11841== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
== 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:30.666287 signalled to die
02:59:30.666394 ========> IPv4 sws (port 8990 pid: 10535) exits with signal (15)
02:59:35.688625 Running HTTP IPv4 version on port 8990
02:59:35.688833 Wrote pid 11828 to .http_server.pid
02:59:36.687611 ====> Client connect
02:59:36.687661 accept_connection 3 returned 4
02:59:36.687691 accept_connection 3 returned 0
02:59:36.687724 Read 96 bytes
02:59:36.687747 Process 96 bytes request
02:59:36.687790 Got request: GET /verifiedserver HTTP/1.1
02:59:36.687812 Are-we-friendly question received
02:59:36.687848 Wrote request (96 bytes) input to log/server.input
02:59:36.687895 Identifying ourselves as friends
02:59:36.688026 Response sent (56 bytes) and written to log/server.response
02:59:36.688052 special request received, no persistency
02:59:36.688071 ====> Client disconnect 0
02:59:38.732251 ====> Client connect
02:59:38.732279 accept_connection 3 returned 4
02:59:38.732298 accept_connection 3 returned 0
02:59:38.732449 Read 96 bytes
02:59:38.732468 Process 96 bytes request
02:59:38.732481 Got request: GET /verifiedserver HTTP/1.1
02:59:38.732489 Are-we-friendly question received
02:59:38.732502 Wrote request (96 bytes) input to log/server.input
02:59:38.732523 Identifying ourselves as friends
02:59:38.732575 Response sent (56 bytes) and written to log/server.response
02:59:38.732595 special request received, no persistency
02:59:38.732613 ====> Client disconnect 0
02:59:41.514829 ====> Client connect
02:59:41.514850 accept_connection 3 returned 4
02:59:41.514863 accept_connection 3 returned 0
02:59:41.601453 Read 85 bytes
02:59:41.601487 Process 85 bytes request
02:59:41.601501 Got request: GET /310 HTTP/1.1
02:59:41.601510 Requested test number 310 part 0
02:59:41.601544 - request found to be complete
02:59:41.601572 Wrote request (85 bytes) input to log/server.input
02:59:41.601593 Send response test310 section <data>
02:59:41.601657 Response sent (103 bytes) and written to log/server.response
02:59:41.601667 => persistent connection request ended, awaits new request
02:59:41.677713 Connection closed by client
02:59:41.677756 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5578a7a49828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5578a7a49828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5578a7a49828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5578a7a49828; line 1685 (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 0x5578a7a49828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5578a7a49828; line 1877 (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 0x5578a7a49828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5578a7a49828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 11828
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 02:59:37 LOG5[11834]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 02:59:37 LOG5[11834]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 02:59:37 LOG5[11834]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 02:59:37 LOG5[11834]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 02:59:37 LOG5[11834]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 02:59:37 LOG5[11834]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 02:59:37 LOG5[11834]: FIPS mode disabled
2019.09.11 02:59:37 LOG5[11834]: Configuration successful
2019.09.11 02:59:38 LOG5[11837]: Service [curltest] accepted connection from 127.0.0.1:40380
2019.09.11 02:59:38 LOG5[11837]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:59:38 LOG5[11837]: Service [curltest] connected remote server from 127.0.0.1:47464
2019.09.11 02:59:38 LOG5[11837]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 02:59:40 LOG5[11842]: Service [curltest] accepted connection from 127.0.0.1:40386
2019.09.11 02:59:41 LOG5[11842]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:59:41 LOG5[11842]: Service [curltest] connected remote server from 127.0.0.1:47470
2019.09.11 02:59:41 LOG5[11842]: 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 0x55b9e630e828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b9e630e828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b9e630e828; line 1665 (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 0x55b9e630e828; line 1682 (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 0x55b9e630e828; line 1701 (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 0x55b9e630e828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b9e630e828; line 1877 (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 0x55b9e630e828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b9e630e828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 11828
=== 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: 11828
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11828
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 7 0 0:00:01 --:--:-- 0:00:01 7
=== End of file stderr310
=== Start of file trace310
02:59:40.665505 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
02:59:40.721043 == Info: Added connection 0. The cache now contains 1 members
02:59:40.760819 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c8568; line 1532 (connection #0)
02:59:40.791435 == Info: Trying ::1:8991...
02:59:40.792082 == Info: TCP_NODELAY set
02:59:40.797122 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c8568; line 1611 (connection #0)
02:59:40.805073 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:40.807302 == Info: Trying 127.0.0.1:8991...
02:59:40.807366 == Info: TCP_NODELAY set
02:59:40.812060 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:40.812583 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
02:59:40.813667 == Info: Marked for [keep alive]: HTTP default
02:59:40.864862 == Info: ALPN, offering h2
02:59:40.865146 == Info: ALPN, offering http/1.1
02:59:40.955715 == Info: successfully set certificate verify locations:
02:59:40.955975 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:41.074217 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:41.079424 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:41.079489 => Send SSL data, 166 bytes (0xa6)
0000: .......[.;......Q'W)x...$.a..d... .[7F]L.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:41.101285 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:41.108961 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:41.109054 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.....=V...1p.R...R.......d..j~S.,. .....uH..".+l......K....H
0040: I.a.}.f./....................
02:59:41.155969 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:41.156347 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:41.156402 <= 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:41.333770 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:41.334009 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:41.334064 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..t...&....;...2..ML^.....E...!.a..ZA..N*....'...9.PA..5
0040: ..c..)........U.......d.').N.......{g>.|'&(:..VZO.c}].@>.q..P...
0080: .[7F]x...-..{.Z|.n....u.-..I....7..F0.........;...]..5....q........
00c0: .X.5..q...{.......c.U~.lB....VW..../,......m.!.Be0...M..Z..:g6.?
0100: ...l....rG..ck...T)..{.Zt......?r.v...M...).zm...#.3.J...%.w....
0140: .`..PG...~.yp
02:59:41.348916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:41.349122 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:41.349177 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:41.466627 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:41.466842 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:41.466897 => Send SSL data, 70 bytes (0x46)
0000: ...BA.>..$R..../..W..kB ..L..hm.3n.....+*.....6&.....H.._MNl...N
0040: ...y..
02:59:41.478812 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:41.479390 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:41.479446 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:41.501293 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:41.501368 => Send SSL data, 16 bytes (0x10)
0000: ....}.....[7F]..Z..
02:59:41.513932 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:41.516746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:41.517845 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:41.517906 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:41.520348 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:41.526059 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:41.526115 <= Recv SSL data, 16 bytes (0x10)
0000: .....X6w.hv{.vA.
02:59:41.554069 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:41.554735 == Info: ALPN, server did not agree to a protocol
02:59:41.557326 == Info: Server certificate:
02:59:41.565383 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:41.570232 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:41.571585 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:41.574613 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:41.576925 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:41.577510 == Info: SSL certificate verify ok.
02:59:41.578992 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8568; line 1685 (connection #0)
02:59:41.599770 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:41.602673 => 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:41.605629 == Info: STATE: DO => DO_DONE handle 0x56c8568; line 1756 (connection #0)
02:59:41.606098 == Info: STATE: DO_DONE => PERFORM handle 0x56c8568; line 1877 (connection #0)
02:59:41.610564 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:41.619607 == Info: Mark bundle as not supporting multiuse
02:59:41.620198 == Info: HTTP 1.1 or later with persistent connection
02:59:41.622903 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:41.629950 <= Recv SSL data, 5 bytes (0x5)
0000: ....k
02:59:41.630205 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:41.630441 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:41.631622 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:41.634137 <= Recv header, 1 bytes (0x1)
0000: .
02:59:41.634784 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:41.639048 == Info: STATE: PERFORM => DONE handle 0x56c8568; line 2067 (connection #0)
02:59:41.639409 == Info: multi_done
02:59:41.650100 == Info: Connection #0 to host localhost left intact
02:59:41.651350 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace310
=== Start of file valgrind310
==11841== Invalid read of size 8
==11841== at 0x53335A5: check_free (dlerror.c:188)
==11841== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11841== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11841== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11841== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11841== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11841== by 0x4C4AEB9: exit (exit.c:139)
==11841== by 0x4C350A1: (below main) (libc-start.c:342)
==11841== Address 0x5766090 is 0 bytes after a block of size 32 alloc'd
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
==11841== Invalid free() / delete / delete[] / realloc()
==11841== at 0x48369AB: free (vg_replace_malloc.c:540)
==11841== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11841== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11841== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11841== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11841== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11841== by 0x4C4AEB9: exit (exit.c:139)
==11841== by 0x4C350A1: (below main) (libc-start.c:342)
==11841== Address 0x5766078 is 8 bytes inside a block of size 32 alloc'd
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
==11841== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11841== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11841== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11841== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11841== by 0x24AEEC: err_get_state (err.c:210)
==11841== by 0x24BAC2: ERR_put_error (err.c:636)
==11841== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11841== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11841== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11841== by 0x27010E: by_file_ctrl (by_file.c:111)
==11841== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11841== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11841== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11841== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11841== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11841== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11841== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11841==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 14
valgrind ERROR ==11859== Invalid read of size 8
==11859== at 0x53335A5: check_free (dlerror.c:188)
==11859== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11859== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11859== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11859== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11859== by 0x4C4AEB9: exit (exit.c:139)
==11859== by 0x4C350A1: (below main) (libc-start.c:342)
==11859== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
==11859== Invalid free() / delete / delete[] / realloc()
==11859== at 0x48369AB: free (vg_replace_malloc.c:540)
==11859== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11859== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11859== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11859== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11859== by 0x4C4AEB9: exit (exit.c:139)
==11859== by 0x4C350A1: (below main) (libc-start.c:342)
==11859== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
==11859== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:41.770165 signalled to die
02:59:41.770249 ========> IPv4 sws (port 8990 pid: 11828) exits with signal (15)
02:59:46.794377 Running HTTP IPv4 version on port 8990
02:59:46.794603 Wrote pid 11846 to .http_server.pid
02:59:47.792648 ====> Client connect
02:59:47.792677 accept_connection 3 returned 4
02:59:47.792699 accept_connection 3 returned 0
02:59:47.792722 Read 96 bytes
02:59:47.792744 Process 96 bytes request
02:59:47.792771 Got request: GET /verifiedserver HTTP/1.1
02:59:47.792790 Are-we-friendly question received
02:59:47.792814 Wrote request (96 bytes) input to log/server.input
02:59:47.792852 Identifying ourselves as friends
02:59:47.793008 Response sent (56 bytes) and written to log/server.response
02:59:47.793042 special request received, no persistency
02:59:47.793074 ====> Client disconnect 0
02:59:49.836316 ====> Client connect
02:59:49.836343 accept_connection 3 returned 4
02:59:49.836360 accept_connection 3 returned 0
02:59:49.836488 Read 96 bytes
02:59:49.836515 Process 96 bytes request
02:59:49.836534 Got request: GET /verifiedserver HTTP/1.1
02:59:49.836546 Are-we-friendly question received
02:59:49.836560 Wrote request (96 bytes) input to log/server.input
02:59:49.836575 Identifying ourselves as friends
02:59:49.836632 Response sent (56 bytes) and written to log/server.response
02:59:49.836646 special request received, no persistency
02:59:49.836657 ====> Client disconnect 0
02:59:52.616955 ====> Client connect
02:59:52.616977 accept_connection 3 returned 4
02:59:52.616991 accept_connection 3 returned 0
02:59:52.696128 Connection closed by client
02:59:52.696166 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x563106580828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x563106580828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563106580828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x563106580828; line 1685 (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 0x563106580828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563106580828; line 1877 (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 0x563106580828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563106580828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 11846
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 02:59:48 LOG5[11852]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 02:59:48 LOG5[11852]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 02:59:48 LOG5[11852]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 02:59:48 LOG5[11852]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 02:59:48 LOG5[11852]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 02:59:48 LOG5[11852]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 02:59:48 LOG5[11852]: FIPS mode disabled
2019.09.11 02:59:48 LOG5[11852]: Configuration successful
2019.09.11 02:59:49 LOG5[11855]: Service [curltest] accepted connection from 127.0.0.1:40392
2019.09.11 02:59:49 LOG5[11855]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:59:49 LOG5[11855]: Service [curltest] connected remote server from 127.0.0.1:47476
2019.09.11 02:59:49 LOG5[11855]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 02:59:52 LOG5[11860]: Service [curltest] accepted connection from 127.0.0.1:40398
2019.09.11 02:59:52 LOG5[11860]: s_connect: connected 127.0.0.1:8990
2019.09.11 02:59:52 LOG5[11860]: Service [curltest] connected remote server from 127.0.0.1:47482
2019.09.11 02:59:52 LOG5[11860]: 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 0x55e460ceb828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55e460ceb828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e460ceb828; line 1665 (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 0x55e460ceb828; line 1682 (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 0x55e460ceb828; line 1701 (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 0x55e460ceb828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55e460ceb828; line 1877 (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 0x55e460ceb828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e460ceb828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 11846
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11846
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11846
=== 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:51.782506 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
02:59:51.837658 == Info: Added connection 0. The cache now contains 1 members
02:59:51.892402 == Info: Trying ::1:8991...
02:59:51.893057 == Info: TCP_NODELAY set
02:59:51.898000 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8568; line 1547 (connection #0)
02:59:51.912696 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:51.915088 == Info: Trying 127.0.0.1:8991...
02:59:51.915157 == Info: TCP_NODELAY set
02:59:51.923514 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:51.924037 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
02:59:51.925158 == Info: Marked for [keep alive]: HTTP default
02:59:51.976303 == Info: ALPN, offering h2
02:59:51.976588 == Info: ALPN, offering http/1.1
02:59:52.067147 == Info: successfully set certificate verify locations:
02:59:52.067413 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:52.187449 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:52.192726 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:52.192798 => Send SSL data, 166 bytes (0xa6)
0000: ............(M....t>2.t.Qj.......G)l......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:52.209936 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:52.215751 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:52.215826 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...)....oJ=#o7S[7F]O/.1..t:.......I.L i$s9..... ...S.l.........
0040: ..3..b../....................
02:59:52.260894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:52.261258 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:52.261315 <= 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:52.437480 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:52.437716 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:52.437775 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.DQ=.......h...HI..%Pvp.|;...5G)Y.`.&.T/[7F]...5.....?0..<.
0040: .%_,..{.g....5.Rt./aH.p[7F]..X.{..].....,..P...2..6..<..`c......qr~
0080: {5A"....4.'.K.52....O.".B..O..a&+.d|#.?..yx]-....[7F]./P..S.l;./..E
00c0: 4K.........Z...........}.*......d..#..U.._^|..K......6..c.Cae...
0100: ...}4a...}.%.]...p.....4..&p.?..H4,...5.).(/..ubf.t.m..lr...xW.6
0140: I[7F]E..mO...4.0
02:59:52.452702 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:52.452902 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:52.452959 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:52.568720 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:52.568926 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:52.568986 => Send SSL data, 70 bytes (0x46)
0000: ...BA..K....p.7h..PZB..y.Lo~-..a.....,...%G.iZ........ .x.....Yr
0040: (D....
02:59:52.580979 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:52.581564 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:52.581632 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:52.603445 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:52.603521 => Send SSL data, 16 bytes (0x10)
0000: ....Y....L.5....
02:59:52.616066 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:52.618924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:52.620024 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:52.620085 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:52.622553 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:52.628516 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:52.628595 <= Recv SSL data, 16 bytes (0x10)
0000: ......I....K....
02:59:52.656782 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:52.657462 == Info: ALPN, server did not agree to a protocol
02:59:52.660067 == Info: Server certificate:
02:59:52.668137 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:52.673741 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:52.675584 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:52.678868 == Info: subjectAltName does not match localhost
02:59:52.679777 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:52.680561 == Info: Marked for [closure]: Failed HTTPS connection
02:59:52.681101 == Info: multi_done
02:59:52.689945 == Info: Closing connection 0
02:59:52.694517 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:52.697437 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:52.697494 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:52.722045 == Info: The cache now contains 0 members
02:59:52.729749 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace311
=== Start of file valgrind311
==11859== Invalid read of size 8
==11859== at 0x53335A5: check_free (dlerror.c:188)
==11859== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11859== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11859== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11859== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11859== by 0x4C4AEB9: exit (exit.c:139)
==11859== by 0x4C350A1: (below main) (libc-start.c:342)
==11859== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
==11859== Invalid free() / delete / delete[] / realloc()
==11859== at 0x48369AB: free (vg_replace_malloc.c:540)
==11859== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11859== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11859== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11859== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11859== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11859== by 0x4C4AEB9: exit (exit.c:139)
==11859== by 0x4C350A1: (below main) (libc-start.c:342)
==11859== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
==11859== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11859== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11859== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11859== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11859== by 0x24AEEC: err_get_state (err.c:210)
==11859== by 0x24BAC2: ERR_put_error (err.c:636)
==11859== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11859== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11859== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11859== by 0x27010E: by_file_ctrl (by_file.c:111)
==11859== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11859== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11859== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11859== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11859== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11859== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11859== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11859==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 15
valgrind ERROR ==11888== Invalid read of size 8
==11888== at 0x53335A5: check_free (dlerror.c:188)
==11888== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11888== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11888== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11888== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11888== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11888== by 0x4C4AEB9: exit (exit.c:139)
==11888== by 0x4C350A1: (below main) (libc-start.c:342)
==11888== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
==11888== Invalid free() / delete / delete[] / realloc()
==11888== at 0x48369AB: free (vg_replace_malloc.c:540)
==11888== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11888== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11888== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11888== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11888== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11888== by 0x4C4AEB9: exit (exit.c:139)
==11888== by 0x4C350A1: (below main) (libc-start.c:342)
==11888== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
==11888== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:52.810195 signalled to die
02:59:52.810298 ========> IPv4 sws (port 8990 pid: 11846) exits with signal (15)
02:59:57.834268 Running HTTP IPv4 version on port 8990
02:59:57.834489 Wrote pid 11864 to .http_server.pid
02:59:58.831589 ====> Client connect
02:59:58.831638 accept_connection 3 returned 4
02:59:58.831667 accept_connection 3 returned 0
02:59:58.831698 Read 96 bytes
02:59:58.831722 Process 96 bytes request
02:59:58.831759 Got request: GET /verifiedserver HTTP/1.1
02:59:58.831781 Are-we-friendly question received
02:59:58.831817 Wrote request (96 bytes) input to log/server.input
02:59:58.831864 Identifying ourselves as friends
02:59:58.831995 Response sent (56 bytes) and written to log/server.response
02:59:58.832023 special request received, no persistency
02:59:58.832042 ====> Client disconnect 0
03:00:00.876034 ====> Client connect
03:00:00.876063 accept_connection 3 returned 4
03:00:00.876081 accept_connection 3 returned 0
03:00:00.876226 Read 96 bytes
03:00:00.876242 Process 96 bytes request
03:00:00.876266 Got request: GET /verifiedserver HTTP/1.1
03:00:00.876283 Are-we-friendly question received
03:00:00.876305 Wrote request (96 bytes) input to log/server.input
03:00:00.876326 Identifying ourselves as friends
03:00:00.876402 Response sent (56 bytes) and written to log/server.response
03:00:00.876431 special request received, no persistency
03:00:00.876448 ====> Client disconnect 0
03:00:03.646289 ====> Client connect
03:00:03.646312 accept_connection 3 returned 4
03:00:03.646326 accept_connection 3 returned 0
03:00:03.725234 Connection closed by client
03:00:03.725273 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55c00734b828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55c00734b828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55c00734b828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55c00734b828; line 1685 (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 0x55c00734b828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55c00734b828; line 1877 (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 0x55c00734b828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55c00734b828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 11864
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 02:59:59 LOG5[11871]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 02:59:59 LOG5[11871]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 02:59:59 LOG5[11871]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 02:59:59 LOG5[11871]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 02:59:59 LOG5[11871]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 02:59:59 LOG5[11871]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 02:59:59 LOG5[11871]: FIPS mode disabled
2019.09.11 02:59:59 LOG5[11871]: Configuration successful
2019.09.11 03:00:00 LOG5[11876]: Service [curltest] accepted connection from 127.0.0.1:40404
2019.09.11 03:00:01 LOG5[11876]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:00:01 LOG5[11876]: Service [curltest] connected remote server from 127.0.0.1:47488
2019.09.11 03:00:01 LOG5[11876]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 03:00:03 LOG5[11889]: Service [curltest] accepted connection from 127.0.0.1:40414
2019.09.11 03:00:03 LOG5[11889]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:00:03 LOG5[11889]: Service [curltest] connected remote server from 127.0.0.1:47498
2019.09.11 03:00:03 LOG5[11889]: 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 0x5630dc4c4828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5630dc4c4828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5630dc4c4828; line 1665 (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 0x5630dc4c4828; line 1682 (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 0x5630dc4c4828; line 1701 (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 0x5630dc4c4828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5630dc4c4828; line 1877 (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 0x5630dc4c4828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5630dc4c4828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 11864
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11864
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11864
=== 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:02.814114 == Info: STATE: INIT => CONNECT handle 0x56c8568; line 1491 (connection #-5000)
03:00:02.869218 == Info: Added connection 0. The cache now contains 1 members
03:00:02.923926 == Info: Trying ::1:8991...
03:00:02.924590 == Info: TCP_NODELAY set
03:00:02.929530 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8568; line 1547 (connection #0)
03:00:02.944108 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:02.946350 == Info: Trying 127.0.0.1:8991...
03:00:02.946416 == Info: TCP_NODELAY set
03:00:02.954636 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:02.955164 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8568; line 1665 (connection #0)
03:00:02.956274 == Info: Marked for [keep alive]: HTTP default
03:00:03.009869 == Info: ALPN, offering h2
03:00:03.010169 == Info: ALPN, offering http/1.1
03:00:03.100219 == Info: successfully set certificate verify locations:
03:00:03.100487 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:03.219867 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:03.225114 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:03.225179 => Send SSL data, 166 bytes (0xa6)
0000: .......5...-.......G.....x.s.-U{.@./O.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:03.242341 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:03.247758 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:03.247817 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..T.u..:V.......k..F&.....m......V .pLB4.J.F..=.b.^.Z......0
0040: .....KX./....................
03:00:03.293255 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:03.293627 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:03.293684 <= 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:03.467685 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:03.467924 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:03.467982 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..N*?..b..m>>.#(?k.x.R.}.A..a.9..8..sG.F*0.e?q.W.+.~....
0040: A.<S..w.c.......aCl...-B-u6......J...F......;2..M..8......].VT.'
0080: .A..O&F'.....4...L....9#..dd...)`..C...2>iF...H..u........L....=
00c0: ..;..J..h}..3H=P...6.1B.....6......{.....Y...f.../..|K..~%...W..
0100: ...i..3[5.f........#......e...Fn...v.........Oq8..].f4.4^L...y..
0140: .}I..........
03:00:03.482798 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:03.482995 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:03.483051 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:03.598545 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:03.598749 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:03.598810 => Send SSL data, 70 bytes (0x46)
0000: ...BA...8.E..y..n([).4/.....6P9z...........`.W..J...m.v...@..VE(
0040: .3.q.n
03:00:03.610776 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:03.611364 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:03.611424 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:03.632873 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:03.632932 => Send SSL data, 16 bytes (0x10)
0000: ....*..j..rYb..q
03:00:03.645415 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:03.647948 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:03.649072 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:03.649134 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:03.651586 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:03.657265 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:03.657322 <= Recv SSL data, 16 bytes (0x10)
0000: ....o...J.......
03:00:03.686187 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:03.686873 == Info: ALPN, server did not agree to a protocol
03:00:03.689464 == Info: Server certificate:
03:00:03.697474 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:00:03.702170 == Info: start date: Sep 19 07:14:12 2018 GMT
03:00:03.703610 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:00:03.708254 == Info: subjectAltName does not match localhost
03:00:03.709006 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:00:03.709775 == Info: Marked for [closure]: Failed HTTPS connection
03:00:03.710311 == Info: multi_done
03:00:03.719099 == Info: Closing connection 0
03:00:03.723653 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:03.726516 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:00:03.726573 => Send SSL data, 2 bytes (0x2)
0000: ..
03:00:03.751035 == Info: The cache now contains 0 members
03:00:03.758578 == Info: Expire cleared (transfer 0x56c8568)
=== End of file trace312
=== Start of file valgrind312
==11888== Invalid read of size 8
==11888== at 0x53335A5: check_free (dlerror.c:188)
==11888== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11888== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11888== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11888== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11888== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11888== by 0x4C4AEB9: exit (exit.c:139)
==11888== by 0x4C350A1: (below main) (libc-start.c:342)
==11888== Address 0x5766040 is 0 bytes after a block of size 32 alloc'd
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
==11888== Invalid free() / delete / delete[] / realloc()
==11888== at 0x48369AB: free (vg_replace_malloc.c:540)
==11888== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11888== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11888== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11888== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11888== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11888== by 0x4C4AEB9: exit (exit.c:139)
==11888== by 0x4C350A1: (below main) (libc-start.c:342)
==11888== Address 0x5766028 is 8 bytes inside a block of size 32 alloc'd
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
==11888== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11888== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11888== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11888== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11888== by 0x24AEEC: err_get_state (err.c:210)
==11888== by 0x24BAC2: ERR_put_error (err.c:636)
==11888== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11888== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11888== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11888== by 0x27010E: by_file_ctrl (by_file.c:111)
==11888== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11888== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11888== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11888== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11888== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11888== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11888== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11888==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 16
valgrind ERROR ==11917== Invalid read of size 8
==11917== at 0x53335A5: check_free (dlerror.c:188)
==11917== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11917== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11917== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11917== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11917== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11917== by 0x4C4AEB9: exit (exit.c:139)
==11917== by 0x4C350A1: (below main) (libc-start.c:342)
==11917== Address 0x5767fe0 is 0 bytes after a block of size 32 alloc'd
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
==11917== Invalid free() / delete / delete[] / realloc()
==11917== at 0x48369AB: free (vg_replace_malloc.c:540)
==11917== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11917== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11917== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11917== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11917== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11917== by 0x4C4AEB9: exit (exit.c:139)
==11917== by 0x4C350A1: (below main) (libc-start.c:342)
==11917== Address 0x5767fc8 is 8 bytes inside a block of size 32 alloc'd
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
==11917== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:03.838437 signalled to die
03:00:03.838541 ========> IPv4 sws (port 8990 pid: 11864) exits with signal (15)
03:00:08.861092 Running HTTP IPv4 version on port 8990
03:00:08.861412 Wrote pid 11892 to .http_server.pid
03:00:09.859733 ====> Client connect
03:00:09.859802 accept_connection 3 returned 4
03:00:09.859887 accept_connection 3 returned 0
03:00:09.859930 Read 96 bytes
03:00:09.859951 Process 96 bytes request
03:00:09.859997 Got request: GET /verifiedserver HTTP/1.1
03:00:09.860024 Are-we-friendly question received
03:00:09.860064 Wrote request (96 bytes) input to log/server.input
03:00:09.860111 Identifying ourselves as friends
03:00:09.860235 Response sent (56 bytes) and written to log/server.response
03:00:09.860262 special request received, no persistency
03:00:09.860282 ====> Client disconnect 0
03:00:11.905327 ====> Client connect
03:00:11.905354 accept_connection 3 returned 4
03:00:11.905368 accept_connection 3 returned 0
03:00:11.905529 Read 96 bytes
03:00:11.905551 Process 96 bytes request
03:00:11.905569 Got request: GET /verifiedserver HTTP/1.1
03:00:11.905580 Are-we-friendly question received
03:00:11.905595 Wrote request (96 bytes) input to log/server.input
03:00:11.905610 Identifying ourselves as friends
03:00:11.905673 Response sent (56 bytes) and written to log/server.response
03:00:11.905689 special request received, no persistency
03:00:11.905699 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5571fbca7828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5571fbca7828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5571fbca7828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5571fbca7828; line 1685 (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 0x5571fbca7828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5571fbca7828; line 1877 (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 0x5571fbca7828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5571fbca7828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 11892
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 03:00:11 LOG5[11898]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:00:11 LOG5[11898]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:00:11 LOG5[11898]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:00:11 LOG5[11898]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:00:11 LOG5[11898]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:00:11 LOG5[11898]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 03:00:11 LOG5[11898]: FIPS mode disabled
2019.09.11 03:00:11 LOG5[11898]: Configuration successful
2019.09.11 03:00:12 LOG5[11901]: Service [curltest] accepted connection from 127.0.0.1:40420
2019.09.11 03:00:12 LOG5[11901]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:00:12 LOG5[11901]: Service [curltest] connected remote server from 127.0.0.1:47504
2019.09.11 03:00:12 LOG5[11901]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 03:00:14 LOG5[11918]: Service [curltest] accepted connection from 127.0.0.1:40426
2019.09.11 03:00:14 LOG3[11918]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.09.11 03:00:14 LOG5[11918]: 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 0x561b9692a828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x561b9692a828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x561b9692a828; line 1665 (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 0x561b9692a828; line 1682 (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 0x561b9692a828; line 1701 (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 0x561b9692a828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x561b9692a828; line 1877 (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 0x561b9692a828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x561b9692a828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 11892
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11892
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11892
=== 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:13.850411 == Info: STATE: INIT => CONNECT handle 0x56c8a48; line 1491 (connection #-5000)
03:00:13.905852 == Info: Added connection 0. The cache now contains 1 members
03:00:13.962539 == Info: Trying ::1:8991...
03:00:13.963214 == Info: TCP_NODELAY set
03:00:13.968284 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a48; line 1547 (connection #0)
03:00:13.983453 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:13.985881 == Info: Trying 127.0.0.1:8991...
03:00:13.985950 == Info: TCP_NODELAY set
03:00:13.994331 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:13.994854 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a48; line 1665 (connection #0)
03:00:13.995982 == Info: Marked for [keep alive]: HTTP default
03:00:14.048069 == Info: ALPN, offering h2
03:00:14.048359 == Info: ALPN, offering http/1.1
03:00:14.137966 == Info: successfully set certificate verify locations:
03:00:14.138223 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:14.187777 == Info: successfully load CRL file:
03:00:14.188340 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:00:14.307247 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:14.312383 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:14.312452 => Send SSL data, 166 bytes (0xa6)
0000: ......-.`.+...Tq..~...U.".X...M[7F]'.a.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:14.329636 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:14.335106 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:14.335165 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..i..<...T..XP..C.$...i+..C.u...G. 9&O%...#<.$.......J......
0040: ..{...../....................
03:00:14.380163 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:14.380575 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:14.380641 <= 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:14.473798 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:14.476973 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:00:14.477038 => Send SSL data, 2 bytes (0x2)
0000: .-
03:00:14.483822 == Info: SSL certificate problem: CRL has expired
03:00:14.484316 == Info: Marked for [closure]: Failed HTTPS connection
03:00:14.484862 == Info: multi_done
03:00:14.493678 == Info: Closing connection 0
03:00:14.530350 == Info: The cache now contains 0 members
03:00:14.538206 == Info: Expire cleared (transfer 0x56c8a48)
=== End of file trace313
=== Start of file valgrind313
==11917== Invalid read of size 8
==11917== at 0x53335A5: check_free (dlerror.c:188)
==11917== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11917== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11917== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11917== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11917== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11917== by 0x4C4AEB9: exit (exit.c:139)
==11917== by 0x4C350A1: (below main) (libc-start.c:342)
==11917== Address 0x5767fe0 is 0 bytes after a block of size 32 alloc'd
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
==11917== Invalid free() / delete / delete[] / realloc()
==11917== at 0x48369AB: free (vg_replace_malloc.c:540)
==11917== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11917== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11917== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11917== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11917== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11917== by 0x4C4AEB9: exit (exit.c:139)
==11917== by 0x4C350A1: (below main) (libc-start.c:342)
==11917== Address 0x5767fc8 is 8 bytes inside a block of size 32 alloc'd
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
==11917== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==11917== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11917== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11917== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11917== by 0x24AEEC: err_get_state (err.c:210)
==11917== by 0x24BAC2: ERR_put_error (err.c:636)
==11917== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11917== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11917== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11917== by 0x27010E: by_file_ctrl (by_file.c:111)
==11917== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11917== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11917== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11917== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11917== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11917== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11917== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11917==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1251, remaining: 26:13, took 1.2s, duration: 08:47)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1251, remaining: 26:10, took 1.2s, duration: 08:48)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1251, remaining: 26:07, took 1.2s, duration: 08:49)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1251, remaining: 26:04, took 1.2s, duration: 08:50)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1251, remaining: 26:01, took 1.2s, duration: 08:52)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1251, remaining: 25:58, took 1.2s, duration: 08:53)
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 17
valgrind ERROR ==11955== Invalid read of size 8
==11955== at 0x53335A5: check_free (dlerror.c:188)
==11955== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11955== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11955== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11955== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11955== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11955== by 0x4C4AEB9: exit (exit.c:139)
==11955== by 0x4C350A1: (below main) (libc-start.c:342)
==11955== Address 0x5af8a10 is 0 bytes after a block of size 32 alloc'd
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
==11955== Invalid free() / delete / delete[] / realloc()
==11955== at 0x48369AB: free (vg_replace_malloc.c:540)
==11955== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11955== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11955== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11955== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11955== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11955== by 0x4C4AEB9: exit (exit.c:139)
==11955== by 0x4C350A1: (below main) (libc-start.c:342)
==11955== Address 0x5af89f8 is 8 bytes inside a block of size 32 alloc'd
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
==11955== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
== 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:21.932535 signalled to die
03:00:21.932653 ========> IPv4 sws (port 8990 pid: 11892) exits with signal (15)
03:00:27.955183 Running HTTP IPv4 version on port 8990
03:00:27.955415 Wrote pid 11944 to .http_server.pid
03:00:28.953259 ====> Client connect
03:00:28.953308 accept_connection 3 returned 4
03:00:28.953353 accept_connection 3 returned 0
03:00:28.953390 Read 96 bytes
03:00:28.953415 Process 96 bytes request
03:00:28.953452 Got request: GET /verifiedserver HTTP/1.1
03:00:28.953480 Are-we-friendly question received
03:00:28.953535 Wrote request (96 bytes) input to log/server.input
03:00:28.953583 Identifying ourselves as friends
03:00:28.953717 Response sent (56 bytes) and written to log/server.response
03:00:28.953747 special request received, no persistency
03:00:28.953767 ====> Client disconnect 0
03:00:30.998016 ====> Client connect
03:00:30.998043 accept_connection 3 returned 4
03:00:30.998057 accept_connection 3 returned 0
03:00:30.998281 Read 96 bytes
03:00:30.998294 Process 96 bytes request
03:00:30.998316 Got request: GET /verifiedserver HTTP/1.1
03:00:30.998328 Are-we-friendly question received
03:00:30.998345 Wrote request (96 bytes) input to log/server.input
03:00:30.998362 Identifying ourselves as friends
03:00:30.998429 Response sent (56 bytes) and written to log/server.response
03:00:30.998446 special request received, no persistency
03:00:30.998457 ====> Client disconnect 0
03:00:35.032148 ====> Client connect
03:00:35.032173 accept_connection 3 returned 4
03:00:35.032189 accept_connection 3 returned 0
03:00:35.114642 Read 85 bytes
03:00:35.114679 Process 85 bytes request
03:00:35.114694 Got request: GET /325 HTTP/1.1
03:00:35.114703 Requested test number 325 part 0
03:00:35.114734 - request found to be complete
03:00:35.114761 Wrote request (85 bytes) input to log/server.input
03:00:35.114785 Send response test325 section <data>
03:00:35.114865 Response sent (134 bytes) and written to log/server.response
03:00:35.114883 => persistent connection request ended, awaits new request
03:00:35.209914 Connection closed by client
03:00:35.209953 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55ad51a19828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55ad51a19828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55ad51a19828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55ad51a19828; line 1685 (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 0x55ad51a19828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55ad51a19828; line 1877 (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 0x55ad51a19828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55ad51a19828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 11944
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 03:00:29 LOG5[11950]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:00:29 LOG5[11950]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:00:29 LOG5[11950]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:00:29 LOG5[11950]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:00:29 LOG5[11950]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:00:29 LOG5[11950]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 03:00:29 LOG5[11950]: FIPS mode disabled
2019.09.11 03:00:29 LOG5[11950]: Configuration successful
2019.09.11 03:00:30 LOG5[11953]: Service [curltest] accepted connection from 127.0.0.1:40446
2019.09.11 03:00:30 LOG5[11953]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:00:30 LOG5[11953]: Service [curltest] connected remote server from 127.0.0.1:47530
2019.09.11 03:00:30 LOG5[11953]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 03:00:32 LOG5[11956]: Service [curltest] accepted connection from 127.0.0.1:40450
2019.09.11 03:00:34 LOG5[11956]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:00:34 LOG5[11956]: Service [curltest] connected remote server from 127.0.0.1:47538
2019.09.11 03:00:34 LOG5[11956]: 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 0x5570c1e10828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5570c1e10828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5570c1e10828; line 1665 (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 0x5570c1e10828; line 1682 (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 0x5570c1e10828; line 1701 (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 0x5570c1e10828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5570c1e10828; line 1877 (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 0x5570c1e10828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5570c1e10828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 11944
=== 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: 11944
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 11944
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:32.944237 == Info: STATE: INIT => CONNECT handle 0x56c8978; line 1491 (connection #-5000)
03:00:33.000103 == Info: Added connection 0. The cache now contains 1 members
03:00:33.018478 == Info: Trying 127.0.0.1:8991...
03:00:33.019101 == Info: TCP_NODELAY set
03:00:33.024374 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8978; line 1547 (connection #0)
03:00:33.036226 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:33.036820 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8978; line 1665 (connection #0)
03:00:33.037951 == Info: Marked for [keep alive]: HTTP default
03:00:33.088760 == Info: ALPN, offering h2
03:00:33.089084 == Info: ALPN, offering http/1.1
03:00:34.514918 == Info: successfully set certificate verify locations:
03:00:34.515180 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:34.628437 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:34.633576 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:34.633639 => Send SSL data, 148 bytes (0x94)
0000: ....../(....5.......@..l..|q....nK.b[.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:34.650598 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:34.656038 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:34.656095 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..;.............s....._..C.%n....V ..I#....J.2N.^.S.]...j...
0040: [.8...../................
03:00:34.699789 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:34.700172 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:34.700228 <= 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:34.799332 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:34.799559 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:34.799616 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..5.E..f..w....wE.o.E?...a...n0..=...........r%..[(..q..
0040: .....[7F]..Y..........+=......^,..,*.....p/2...=._uE.Q.......\'.K..
0080: {a.L.l.....3.Q.......A....1.f..yw<...o5....3F.._%...}/.%.=._.X..
00c0: .....%NAc..tj.X.a.A........2g.e0a.^..#.iQ...i.g...n..B.#..Z..7.w
0100: .p.X.;..c~.v..`_...=....H..[7F].. .2.s...Q.../d.W+x..\..C......f...
0140: ......T{.._Ro
03:00:34.869027 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:34.869254 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:34.869312 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:34.984387 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:34.984602 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:34.984660 => Send SSL data, 70 bytes (0x46)
0000: ...BA....d.uP.F<!1.[g.8s..A.mj..Hb.whg>..e.-./....c.V.h...(..A..
0040: V.....
03:00:34.996510 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:34.997095 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:34.997151 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:35.018683 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:35.018751 => Send SSL data, 16 bytes (0x10)
0000: ........c...G...
03:00:35.031276 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:35.033803 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:35.034892 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:35.034953 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:35.037387 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:35.043119 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:35.043178 <= Recv SSL data, 16 bytes (0x10)
0000: ........l.K.....
03:00:35.071583 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:35.072247 == Info: ALPN, server did not agree to a protocol
03:00:35.074881 == Info: Server certificate:
03:00:35.082411 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:35.088526 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:35.089523 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:35.090474 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:35.091341 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:35.092848 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8978; line 1685 (connection #0)
03:00:35.112961 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:35.115866 => 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:35.118801 == Info: STATE: DO => DO_DONE handle 0x56c8978; line 1756 (connection #0)
03:00:35.119315 == Info: STATE: DO_DONE => PERFORM handle 0x56c8978; line 1877 (connection #0)
03:00:35.123758 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:00:35.132862 == Info: Mark bundle as not supporting multiuse
03:00:35.133451 == Info: HTTP 1.1 or later with persistent connection
03:00:35.136346 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:35.147401 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:00:35.148228 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:35.148465 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:35.149311 <= Recv SSL data, 5 bytes (0x5)
0000: ....N
03:00:35.150449 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:35.152338 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:35.155076 <= Recv header, 1 bytes (0x1)
0000: .
03:00:35.155621 == Info: Ignoring the response-body
03:00:35.155976 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:35.158153 == Info: multi_done
03:00:35.167182 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:35.171267 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:35.172062 == Info: STATE: PERFORM => CONNECT handle 0x56c8978; line 2044 (connection #-5000)
03:00:35.174832 == Info: Protocol "http" not supported or disabled in libcurl
03:00:35.176921 == Info: Closing connection -1
=== End of file trace325
=== Start of file valgrind325
==11955== Invalid read of size 8
==11955== at 0x53335A5: check_free (dlerror.c:188)
==11955== by 0x5333AB1: free_key_mem (dlerror.c:221)
==11955== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==11955== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11955== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11955== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11955== by 0x4C4AEB9: exit (exit.c:139)
==11955== by 0x4C350A1: (below main) (libc-start.c:342)
==11955== Address 0x5af8a10 is 0 bytes after a block of size 32 alloc'd
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
==11955== Invalid free() / delete / delete[] / realloc()
==11955== at 0x48369AB: free (vg_replace_malloc.c:540)
==11955== by 0x5333AB9: free_key_mem (dlerror.c:223)
==11955== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==11955== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==11955== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==11955== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==11955== by 0x4C4AEB9: exit (exit.c:139)
==11955== by 0x4C350A1: (below main) (libc-start.c:342)
==11955== Address 0x5af89f8 is 8 bytes inside a block of size 32 alloc'd
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
==11955== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==11955== at 0x483577F: malloc (vg_replace_malloc.c:309)
==11955== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==11955== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==11955== by 0x24AEEC: err_get_state (err.c:210)
==11955== by 0x24BAC2: ERR_put_error (err.c:636)
==11955== by 0x260762: PEM_read_bio (pem_lib.c:622)
==11955== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==11955== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==11955== by 0x27010E: by_file_ctrl (by_file.c:111)
==11955== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==11955== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==11955== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==11955== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==11955== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==11955== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==11955== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==11955==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1251, remaining: 25:51, took 1.2s, duration: 09:06)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1251, remaining: 25:49, took 1.3s, duration: 09:08)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1251, remaining: 25:46, took 1.2s, duration: 09:09)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1251, remaining: 25:43, took 1.2s, duration: 09:10)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1251, remaining: 25:40, took 1.2s, duration: 09:11)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1251, remaining: 25:37, took 1.3s, duration: 09:13)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1251, remaining: 25:34, took 1.1s, duration: 09:14)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1251, remaining: 25:30, took 0.9s, duration: 09:15)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1251, remaining: 25:27, took 1.2s, duration: 09:16)
test 0335...[HTTP with proxy Digest and site Digest with creds in URLs]
--pd---emv- OK (335 out of 1251, remaining: 25:24, took 1.3s, duration: 09:17)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (336 out of 1251, remaining: 25:21, took 1.2s, duration: 09:18)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (337 out of 1251, remaining: 25:18, took 1.2s, duration: 09:19)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (338 out of 1251, remaining: 25:15, took 1.2s, duration: 09:21)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (339 out of 1251, remaining: 25:13, took 1.2s, duration: 09:22)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (340 out of 1251, remaining: 25:10, took 1.2s, duration: 09:23)
test 0354...[FTP without password]
--pd---emv- OK (341 out of 1251, remaining: 25:07, took 1.2s, duration: 09:24)
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 (344 out of 1251, remaining: 24:52, took 1.2s, duration: 09:25)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (345 out of 1251, remaining: 24:49, took 1.2s, duration: 09:27)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (346 out of 1251, remaining: 24:46, took 1.2s, duration: 09:28)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 18
valgrind ERROR ==12045== Invalid read of size 8
==12045== at 0x53335A5: check_free (dlerror.c:188)
==12045== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12045== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12045== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12045== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12045== by 0x4C4AEB9: exit (exit.c:139)
==12045== by 0x4C350A1: (below main) (libc-start.c:342)
==12045== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
==12045== Invalid free() / delete / delete[] / realloc()
==12045== at 0x48369AB: free (vg_replace_malloc.c:540)
==12045== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12045== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12045== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12045== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12045== by 0x4C4AEB9: exit (exit.c:139)
==12045== by 0x4C350A1: (below main) (libc-start.c:342)
==12045== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
==12045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
== 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:00:58.083827 ====> Client connect
03:00:58.083959 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:00:58.084559 < "USER anonymous"
03:00:58.084618 > "331 We are happy you popped in![CR][LF]"
03:00:58.085189 < "PASS ftp@example.com"
03:00:58.085253 > "230 Welcome you silly person[CR][LF]"
03:00:58.085608 < "PBSZ 0"
03:00:58.085658 > "500 PBSZ not implemented[CR][LF]"
03:00:58.086175 < "PROT C"
03:00:58.086229 > "500 PROT not implemented[CR][LF]"
03:00:58.086550 < "PWD"
03:00:58.086600 > "257 "/" is current directory[CR][LF]"
03:00:58.086887 < "EPSV"
03:00:58.086913 ====> Passive DATA channel requested by client
03:00:58.086927 DATA sockfilt for passive data channel starting...
03:00:58.089017 DATA sockfilt for passive data channel started (pid 12042)
03:00:58.089231 DATA sockfilt for passive data channel listens on port 41269
03:00:58.089292 > "229 Entering Passive Mode (|||41269|)[LF]"
03:00:58.089319 Client has been notified that DATA conn will be accepted on port 41269
03:00:58.089653 Client connects to port 41269
03:00:58.089679 ====> Client established passive DATA connection on port 41269
03:00:58.089793 < "TYPE I"
03:00:58.089837 > "200 I modify TYPE as you wanted[CR][LF]"
03:00:58.090259 < "SIZE verifiedserver"
03:00:58.090318 > "213 17[CR][LF]"
03:00:58.090646 < "RETR verifiedserver"
03:00:58.090698 > "150 Binary junk (17 bytes).[CR][LF]"
03:00:58.090787 =====> Closing passive DATA connection...
03:00:58.090822 Server disconnects passive DATA connection
03:00:58.090951 DATA sockfilt for passive data channel quits (pid 12043)
03:00:58.090968 =====> Closed passive DATA connection
03:00:58.090994 > "226 File transfer complete[CR][LF]"
03:00:58.091786 < "QUIT"
03:00:58.091827 > "221 bye bye baby[CR][LF]"
03:00:58.092163 MAIN sockfilt said DISC
03:00:58.092192 ====> Client disconnected
03:00:58.092246 Awaiting input
03:01:02.144877 ====> Client connect
03:01:02.144980 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:02.235109 < "USER anonymous"
03:01:02.235172 > "331 We are happy you popped in![CR][LF]"
03:01:02.246192 < "PASS ftp@example.com"
03:01:02.246233 > "230 Welcome you silly person[CR][LF]"
03:01:02.248545 < "PBSZ 0"
03:01:02.248575 > "500 PBSZ not implemented[CR][LF]"
03:01:02.249951 < "PROT C"
03:01:02.249981 > "500 PROT not implemented[CR][LF]"
03:01:02.251443 < "PWD"
03:01:02.251474 > "257 "/" is current directory[CR][LF]"
03:01:02.258165 < "EPSV"
03:01:02.258197 ====> Passive DATA channel requested by client
03:01:02.258210 DATA sockfilt for passive data channel starting...
03:01:02.259895 DATA sockfilt for passive data channel started (pid 12047)
03:01:02.260052 DATA sockfilt for passive data channel listens on port 42419
03:01:02.260099 > "229 Entering Passive Mode (|||42419|)[LF]"
03:01:02.260116 Client has been notified that DATA conn will be accepted on port 42419
03:01:02.267150 Client connects to port 42419
03:01:02.267194 ====> Client established passive DATA connection on port 42419
03:01:02.272378 < "TYPE A"
03:01:02.272415 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:02.274550 < "LIST"
03:01:02.274583 > "150 here comes a directory[CR][LF]"
03:01:02.274608 pass LIST data on data connection
03:01:02.274681 =====> Closing passive DATA connection...
03:01:02.274696 Server disconnects passive DATA connection
03:01:02.275192 DATA sockfilt for passive data channel quits (pid 12048)
03:01:02.275218 =====> Closed passive DATA connection
03:01:02.275244 > "226 ASCII transfer complete[CR][LF]"
03:01:02.334253 < "QUIT"
03:01:02.334299 > "221 bye bye baby[CR][LF]"
03:01:02.338741 MAIN sockfilt said DISC
03:01:02.338766 ====> Client disconnected
03:01:02.338808 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:00:58.944427 ====> Client connect
03:00:58.944683 Received DATA (on stdin)
03:00:58.944717 > 160 bytes data, server => client
03:00:58.944743 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:00:58.944763 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:00:58.944778 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:00:58.945116 < 16 bytes data, client => server
03:00:58.945149 'USER anonymous\r\n'
03:00:58.945347 Received DATA (on stdin)
03:00:58.945394 > 33 bytes data, server => client
03:00:58.945416 '331 We are happy you popped in!\r\n'
03:00:58.945817 < 22 bytes data, client => server
03:00:58.945862 'PASS ftp@example.com\r\n'
03:00:58.945982 Received DATA (on stdin)
03:00:58.946031 > 30 bytes data, server => client
03:00:58.946052 '230 Welcome you silly person\r\n'
03:00:58.946262 < 8 bytes data, client => server
03:00:58.946296 'PBSZ 0\r\n'
03:00:58.946393 Received DATA (on stdin)
03:00:58.946441 > 26 bytes data, server => client
03:00:58.946462 '500 PBSZ not implemented\r\n'
03:00:58.946747 < 8 bytes data, client => server
03:00:58.946771 'PROT C\r\n'
03:00:58.946937 Received DATA (on stdin)
03:00:58.946958 > 26 bytes data, server => client
03:00:58.946977 '500 PROT not implemented\r\n'
03:00:58.947197 < 5 bytes data, client => server
03:00:58.947219 'PWD\r\n'
03:00:58.947309 Received DATA (on stdin)
03:00:58.947327 > 30 bytes data, server => client
03:00:58.947346 '257 "/" is current directory\r\n'
03:00:58.947558 < 6 bytes data, client => server
03:00:58.947575 'EPSV\r\n'
03:00:58.950005 Received DATA (on stdin)
03:00:58.950039 > 38 bytes data, server => client
03:00:58.950067 '229 Entering Passive Mode (|||41269|)\n'
03:00:58.950430 < 8 bytes data, client => server
03:00:58.950464 'TYPE I\r\n'
03:00:58.950555 Received DATA (on stdin)
03:00:58.950580 > 33 bytes data, server => client
03:00:58.950607 '200 I modify TYPE as you wanted\r\n'
03:00:58.950914 < 21 bytes data, client => server
03:00:58.950944 'SIZE verifiedserver\r\n'
03:00:58.951039 Received DATA (on stdin)
03:00:58.951064 > 8 bytes data, server => client
03:00:58.951088 '213 17\r\n'
03:00:58.951304 < 21 bytes data, client => server
03:00:58.951328 'RETR verifiedserver\r\n'
03:00:58.951407 Received DATA (on stdin)
03:00:58.951425 > 29 bytes data, server => client
03:00:58.951444 '150 Binary junk (17 bytes).\r\n'
03:00:58.951705 Received DATA (on stdin)
03:00:58.951723 > 28 bytes data, server => client
03:00:58.951740 '226 File transfer complete\r\n'
03:00:58.952424 < 6 bytes data, client => server
03:00:58.952459 'QUIT\r\n'
03:00:58.952537 Received DATA (on stdin)
03:00:58.952557 > 18 bytes data, server => client
03:00:58.952575 '221 bye bye baby\r\n'
03:00:58.952830 ====> Client disconnect
03:01:03.005529 ====> Client connect
03:01:03.005685 Received DATA (on stdin)
03:01:03.005701 > 160 bytes data, server => client
03:01:03.005715 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:03.005727 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:03.005737 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:03.095641 < 16 bytes data, client => server
03:01:03.095674 'USER anonymous\r\n'
03:01:03.095878 Received DATA (on stdin)
03:01:03.095893 > 33 bytes data, server => client
03:01:03.095904 '331 We are happy you popped in!\r\n'
03:01:03.106828 < 22 bytes data, client => server
03:01:03.106861 'PASS ftp@example.com\r\n'
03:01:03.106942 Received DATA (on stdin)
03:01:03.106958 > 30 bytes data, server => client
03:01:03.106974 '230 Welcome you silly person\r\n'
03:01:03.109209 < 8 bytes data, client => server
03:01:03.109232 'PBSZ 0\r\n'
03:01:03.109306 Received DATA (on stdin)
03:01:03.109329 > 26 bytes data, server => client
03:01:03.109345 '500 PBSZ not implemented\r\n'
03:01:03.110623 < 8 bytes data, client => server
03:01:03.110645 'PROT C\r\n'
03:01:03.110710 Received DATA (on stdin)
03:01:03.110733 > 26 bytes data, server => client
03:01:03.110748 '500 PROT not implemented\r\n'
03:01:03.112117 < 5 bytes data, client => server
03:01:03.112139 'PWD\r\n'
03:01:03.112184 Received DATA (on stdin)
03:01:03.112203 > 30 bytes data, server => client
03:01:03.112214 '257 "/" is current directory\r\n'
03:01:03.118797 < 6 bytes data, client => server
03:01:03.118822 'EPSV\r\n'
03:01:03.120826 Received DATA (on stdin)
03:01:03.120851 > 38 bytes data, server => client
03:01:03.120867 '229 Entering Passive Mode (|||42419|)\n'
03:01:03.133001 < 8 bytes data, client => server
03:01:03.133025 'TYPE A\r\n'
03:01:03.133144 Received DATA (on stdin)
03:01:03.133167 > 33 bytes data, server => client
03:01:03.133183 '200 I modify TYPE as you wanted\r\n'
03:01:03.135186 < 6 bytes data, client => server
03:01:03.135209 'LIST\r\n'
03:01:03.135313 Received DATA (on stdin)
03:01:03.135336 > 28 bytes data, server => client
03:01:03.135356 '150 here comes a directory\r\n'
03:01:03.135956 Received DATA (on stdin)
03:01:03.135974 > 29 bytes data, server => client
03:01:03.135990 '226 ASCII transfer complete\r\n'
03:01:03.194875 < 6 bytes data, client => server
03:01:03.194907 'QUIT\r\n'
03:01:03.195030 Received DATA (on stdin)
03:01:03.195058 > 18 bytes data, server => client
03:01:03.195073 '221 bye bye baby\r\n'
03:01:03.199418 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:00:58.949539 Running IPv4 version
03:00:58.949635 Listening on port 41269
03:00:58.949672 Wrote pid 12043 to ./.ftp_sockdata.pid
03:00:58.949694 Received PING (on stdin)
03:00:58.949822 Received PORT (on stdin)
03:00:58.950322 ====> Client connect
03:00:58.951455 Received DATA (on stdin)
03:00:58.951493 > 17 bytes data, server => client
03:00:58.951528 'WE ROOLZ: 11307\r\n'
03:00:58.951559 Received DISC (on stdin)
03:00:58.951578 ====> Client forcibly disconnected
03:00:58.951655 Received QUIT (on stdin)
03:00:58.951677 quits
03:00:58.951697 ============> sockfilt quits
03:01:02.120437 Running IPv4 version
03:01:02.120499 Listening on port 42419
03:01:02.120541 Wrote pid 12048 to ./.ftp_sockdata.pid
03:01:02.120557 Received PING (on stdin)
03:01:02.120668 Received PORT (on stdin)
03:01:02.127806 ====> Client connect
03:01:02.135347 Received DATA (on stdin)
03:01:02.135371 > 10 bytes data, server => client
03:01:02.135389 'total 20\r\n'
03:01:02.135415 Received DATA (on stdin)
03:01:02.135427 > 57 bytes data, server => client
03:01:02.135441 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:02.135459 Received DATA (on stdin)
03:01:02.135469 > 58 bytes data, server => client
03:01:02.135481 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:02.135496 Received DATA (on stdin)
03:01:02.135506 > 61 bytes data, server => client
03:01:02.135518 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:02.135526 '\n'
03:01:02.135540 Received DATA (on stdin)
03:01:02.135550 > 62 bytes data, server => client
03:01:02.135562 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:02.135570 '\n'
03:01:02.135584 Received DATA (on stdin)
03:01:02.135594 > 70 bytes data, server => client
03:01:02.135607 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:02.135615 'usr/bin\r\n'
03:01:02.135629 Received DATA (on stdin)
03:01:02.135639 > 59 bytes data, server => client
03:01:02.135651 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:02.135666 Received DATA (on stdin)
03:01:02.135676 > 69 bytes data, server => client
03:01:02.135688 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:02.135696 'd.html\r\n'
03:01:02.135710 Received DATA (on stdin)
03:01:02.135721 > 59 bytes data, server => client
03:01:02.135733 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:02.135748 Received DATA (on stdin)
03:01:02.135758 > 59 bytes data, server => client
03:01:02.135770 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:02.135785 Received DATA (on stdin)
03:01:02.135795 > 59 bytes data, server => client
03:01:02.135807 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:02.135822 Received DISC (on stdin)
03:01:02.135834 ====> Client forcibly disconnected
03:01:02.135881 Received QUIT (on stdin)
03:01:02.135894 quits
03:01:02.135913 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.11 03:00:57 LOG5[12038]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:00:57 LOG5[12038]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:00:57 LOG5[12038]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:00:57 LOG5[12038]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:00:57 LOG5[12038]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:00:57 LOG5[12038]: Reading configuration from file /build-9373/tests/ftps_stunnel.conf
2019.09.11 03:00:57 LOG5[12038]: FIPS mode disabled
2019.09.11 03:00:57 LOG5[12038]: Configuration successful
2019.09.11 03:00:58 LOG5[12041]: Service [curltest] accepted connection from 127.0.0.1:49976
2019.09.11 03:00:58 LOG5[12041]: s_connect: connected 127.0.0.1:8992
2019.09.11 03:00:58 LOG5[12041]: Service [curltest] connected remote server from 127.0.0.1:44622
2019.09.11 03:00:58 LOG5[12041]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.11 03:01:00 LOG5[12046]: Service [curltest] accepted connection from 127.0.0.1:49982
2019.09.11 03:01:02 LOG5[12046]: s_connect: connected 127.0.0.1:8992
2019.09.11 03:01:02 LOG5[12046]: Service [curltest] connected remote server from 127.0.0.1:44628
2019.09.11 03:01:02 LOG5[12046]: 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 0x5596f6b1a7f8; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5596f6b1a7f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5596f6b1a7f8; line 1665 (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 0x5596f6b303d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5596f6b1a7f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x5596f6b303d0 (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 0x5596f6b303d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x5596f6b303d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x5596f6b303d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x5596f6b303d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x5596f6b303d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x5596f6b1a7f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x5596f6b303d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x5596f6b1a7f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||41269|)
* Trying 127.0.0.1:41269...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 41269
* FTP 0x5596f6b303d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x5596f6b1a7f8; line 1825 (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 0x5596f6b303d0 (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 0x5596f6b303d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x5596f6b303d0 (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 0x5596f6b303d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x5596f6b1a7f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5596f6b1a7f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x5596f6b1a7f8; line 2067 (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 0x5596f6b1a7f8)
=== 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 274 0 --:--:-- 0:00:02 --:--:-- 284
=== End of file stderr400
=== Start of file trace400
03:01:00.892387 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
03:01:00.947262 == Info: Added connection 0. The cache now contains 1 members
03:01:00.964463 == Info: Trying 127.0.0.1:8993...
03:01:00.965069 == Info: TCP_NODELAY set
03:01:00.970330 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
03:01:00.982038 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:00.982599 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
03:01:00.983702 == Info: Marked for [keep alive]: FTP default
03:01:02.464154 == Info: successfully set certificate verify locations:
03:01:02.464427 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:02.582708 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:02.588143 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:02.588213 => Send SSL data, 126 bytes (0x7e)
0000: ...z..[7F].........v..Bz>....[7F]K.[7F]Q.A.k.4.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:02.605831 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:02.611689 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:02.611751 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...=......\Z...(..~q.......(..[... x..e...\..{.t..E.U4$...M0
0040: .._...../................
03:01:02.657366 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:02.657783 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:02.657842 <= 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:02.765696 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:02.765933 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:02.765988 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y....s#...3./+....:23....{....}.j&,.....$9...!.r....c...
0080: ....2.T7...#..,|.a.[7F]...... ..C.`$>[+....&Qx..G..H:.P.^..,k..5%..
00c0: $..!.n r._=S.5M..-&.e..0..Wo.|........i_E..J_......i&.......9..#
0100: _a.!pl.....{@.v..wO.!8P..U..rZ..........."..0lV..~......gj..F...
0140: ..W....#N.(..
03:01:02.837449 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:02.837686 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:02.837741 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:02.956362 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:02.956597 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:02.956659 => Send SSL data, 70 bytes (0x46)
0000: ...BA.1]..8&...... .H|N..`..$....hWy....e...J8.F......QN........
0040: ...\t2
03:01:02.968869 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:02.969463 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:02.969520 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:02.991450 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:02.991516 => Send SSL data, 16 bytes (0x10)
0000: ....(.w.3....._9
03:01:03.004652 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.007329 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.008571 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:03.008640 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:03.011188 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.017199 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:03.017257 <= Recv SSL data, 16 bytes (0x10)
0000: ....w.N..y9c...A
03:01:03.047279 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:03.049513 == Info: Server certificate:
03:01:03.057247 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.063514 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:03.064476 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:03.065412 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:03.066295 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:03.067808 == Info: FTP 0x5743ea0 (line 3092) state change from STOP to WAIT220
03:01:03.073849 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:03.081807 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:03.085589 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:03.085788 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:03.085974 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:03.086156 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:03.093978 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:03.096968 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:03.097766 == Info: FTP 0x5743ea0 (line 792) state change from WAIT220 to USER
03:01:03.098528 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8098; line 1682 (connection #0)
03:01:03.104685 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.105354 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:03.106655 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.106798 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:03.107187 == Info: FTP 0x5743ea0 (line 2520) state change from USER to PASS
03:01:03.108209 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.108354 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:03.109053 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.109173 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:03.109498 == Info: FTP 0x5743ea0 (line 2496) state change from PASS to PBSZ
03:01:03.109789 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.109934 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:03.110474 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.110589 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:03.110919 == Info: FTP 0x5743ea0 (line 2709) state change from PBSZ to PROT
03:01:03.111163 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:03.111299 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:03.111964 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.112080 => Send header, 5 bytes (0x5)
0000: PWD
03:01:03.112396 == Info: FTP 0x5743ea0 (line 804) state change from PROT to PWD
03:01:03.112726 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:03.112862 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:03.113980 == Info: Entry path is '/'
03:01:03.114200 == Info: FTP 0x5743ea0 (line 2844) state change from PWD to STOP
03:01:03.114366 == Info: protocol connect phase DONE
03:01:03.114610 == Info: STATE: PROTOCONNECT => DO handle 0x56c8098; line 1701 (connection #0)
03:01:03.116521 == Info: DO phase starts
03:01:03.118611 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.118731 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:03.119162 == Info: FTP 0x5743ea0 (line 1330) state change from STOP to PASV
03:01:03.119333 == Info: Connect data stream passively
03:01:03.120109 == Info: ftp_perform ends with SECONDARY: 0
03:01:03.120827 == Info: STATE: DO => DOING handle 0x56c8098; line 1743 (connection #0)
03:01:03.121733 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:03.121886 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||42419|).
03:01:03.127619 == Info: Trying 127.0.0.1:42419...
03:01:03.127681 == Info: TCP_NODELAY set
03:01:03.128376 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 42419
03:01:03.129477 == Info: FTP 0x5743ea0 (line 1977) state change from PASV to STOP
03:01:03.130105 == Info: DO phase is complete2
03:01:03.130531 == Info: STATE: DOING => DO_MORE handle 0x56c8098; line 1825 (connection #0)
03:01:03.131241 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:03.131455 == Info: DO-MORE connected phase starts
03:01:03.132806 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:03.132932 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:03.133276 == Info: FTP 0x5743ea0 (line 3418) state change from STOP to LIST_TYPE
03:01:03.133655 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:03.133798 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:03.135004 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:03.135122 => Send header, 6 bytes (0x6)
0000: LIST
03:01:03.135658 == Info: FTP 0x5743ea0 (line 1486) state change from LIST_TYPE to LIST
03:01:03.137290 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:03.137432 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:03.138024 == Info: Maxdownload = -1
03:01:03.139367 == Info: FTP 0x5743ea0 (line 477) state change from LIST to STOP
03:01:03.140076 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8098; line 1850 (connection #0)
03:01:03.140469 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
03:01:03.143903 <= 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:03.152572 == Info: nread <= 0, server closed connection, bailing
03:01:03.153735 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
03:01:03.154059 == Info: multi_done
03:01:03.157400 == Info: Remembering we are in dir ""
03:01:03.160621 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:03.160767 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:03.166411 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:03.168403 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace400
=== Start of file valgrind400
==12045== Invalid read of size 8
==12045== at 0x53335A5: check_free (dlerror.c:188)
==12045== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12045== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12045== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12045== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12045== by 0x4C4AEB9: exit (exit.c:139)
==12045== by 0x4C350A1: (below main) (libc-start.c:342)
==12045== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
==12045== Invalid free() / delete / delete[] / realloc()
==12045== at 0x48369AB: free (vg_replace_malloc.c:540)
==12045== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12045== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12045== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12045== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12045== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12045== by 0x4C4AEB9: exit (exit.c:139)
==12045== by 0x4C350A1: (below main) (libc-start.c:342)
==12045== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
==12045== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12045== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12045== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12045== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12045== by 0x24AEEC: err_get_state (err.c:210)
==12045== by 0x24BAC2: ERR_put_error (err.c:636)
==12045== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12045== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12045== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12045== by 0x27010E: by_file_ctrl (by_file.c:111)
==12045== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12045== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12045== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12045== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12045== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12045== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12045== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12045==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 19
valgrind ERROR ==12051== Invalid read of size 8
==12051== at 0x53335A5: check_free (dlerror.c:188)
==12051== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12051== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12051== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12051== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12051== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12051== by 0x4C4AEB9: exit (exit.c:139)
==12051== by 0x4C350A1: (below main) (libc-start.c:342)
==12051== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
==12051== Invalid free() / delete / delete[] / realloc()
==12051== at 0x48369AB: free (vg_replace_malloc.c:540)
==12051== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12051== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12051== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12051== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12051== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12051== by 0x4C4AEB9: exit (exit.c:139)
==12051== by 0x4C350A1: (below main) (libc-start.c:342)
==12051== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
==12051== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:01:05.518232 ====> Client connect
03:01:05.518349 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:05.605856 < "USER anonymous"
03:01:05.605903 > "331 We are happy you popped in![CR][LF]"
03:01:05.616881 < "PASS ftp@example.com"
03:01:05.616917 > "230 Welcome you silly person[CR][LF]"
03:01:05.619201 < "PBSZ 0"
03:01:05.619235 > "500 PBSZ not implemented[CR][LF]"
03:01:05.620609 < "PROT C"
03:01:05.620641 > "500 PROT not implemented[CR][LF]"
03:01:05.622086 < "PWD"
03:01:05.622126 > "257 "/" is current directory[CR][LF]"
03:01:05.629495 < "EPSV"
03:01:05.629525 ====> Passive DATA channel requested by client
03:01:05.629539 DATA sockfilt for passive data channel starting...
03:01:05.631208 DATA sockfilt for passive data channel started (pid 12053)
03:01:05.631359 DATA sockfilt for passive data channel listens on port 34855
03:01:05.631404 > "229 Entering Passive Mode (|||34855|)[LF]"
03:01:05.631421 Client has been notified that DATA conn will be accepted on port 34855
03:01:05.638377 Client connects to port 34855
03:01:05.638415 ====> Client established passive DATA connection on port 34855
03:01:05.643345 < "TYPE I"
03:01:05.643380 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:05.645582 < "STOR 401"
03:01:05.645607 STOR test number 401 in log/upload.401
03:01:05.645629 > "125 Gimme gimme gimme![CR][LF]"
03:01:05.654380 > Appending 52 bytes to file
03:01:05.663253 =====> Closing passive DATA connection...
03:01:05.663282 Server knows passive DATA connection is already disconnected
03:01:05.663337 DATA sockfilt for passive data channel quits (pid 12054)
03:01:05.663355 =====> Closed passive DATA connection
03:01:05.663373 received 52 bytes upload
03:01:05.663410 > "226 File transfer complete[CR][LF]"
03:01:05.697609 < "QUIT"
03:01:05.697650 > "221 bye bye baby[CR][LF]"
03:01:05.702038 MAIN sockfilt said DISC
03:01:05.702077 ====> Client disconnected
03:01:05.702135 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:06.378862 ====> Client connect
03:01:06.379049 Received DATA (on stdin)
03:01:06.379072 > 160 bytes data, server => client
03:01:06.379094 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:06.379111 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:06.379122 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:06.466431 < 16 bytes data, client => server
03:01:06.466469 'USER anonymous\r\n'
03:01:06.466609 Received DATA (on stdin)
03:01:06.466630 > 33 bytes data, server => client
03:01:06.466651 '331 We are happy you popped in!\r\n'
03:01:06.477525 < 22 bytes data, client => server
03:01:06.477550 'PASS ftp@example.com\r\n'
03:01:06.477625 Received DATA (on stdin)
03:01:06.477643 > 30 bytes data, server => client
03:01:06.477662 '230 Welcome you silly person\r\n'
03:01:06.479846 < 8 bytes data, client => server
03:01:06.479873 'PBSZ 0\r\n'
03:01:06.479944 Received DATA (on stdin)
03:01:06.479963 > 26 bytes data, server => client
03:01:06.479979 '500 PBSZ not implemented\r\n'
03:01:06.481256 < 8 bytes data, client => server
03:01:06.481284 'PROT C\r\n'
03:01:06.481351 Received DATA (on stdin)
03:01:06.481370 > 26 bytes data, server => client
03:01:06.481386 '500 PROT not implemented\r\n'
03:01:06.482736 < 5 bytes data, client => server
03:01:06.482763 'PWD\r\n'
03:01:06.482835 Received DATA (on stdin)
03:01:06.482858 > 30 bytes data, server => client
03:01:06.482874 '257 "/" is current directory\r\n'
03:01:06.490135 < 6 bytes data, client => server
03:01:06.490151 'EPSV\r\n'
03:01:06.492112 Received DATA (on stdin)
03:01:06.492129 > 38 bytes data, server => client
03:01:06.492141 '229 Entering Passive Mode (|||34855|)\n'
03:01:06.503976 < 8 bytes data, client => server
03:01:06.503992 'TYPE I\r\n'
03:01:06.504088 Received DATA (on stdin)
03:01:06.504098 > 33 bytes data, server => client
03:01:06.504108 '200 I modify TYPE as you wanted\r\n'
03:01:06.506216 < 10 bytes data, client => server
03:01:06.506240 'STOR 401\r\n'
03:01:06.506362 Received DATA (on stdin)
03:01:06.506385 > 24 bytes data, server => client
03:01:06.506400 '125 Gimme gimme gimme!\r\n'
03:01:06.524119 Received DATA (on stdin)
03:01:06.524147 > 28 bytes data, server => client
03:01:06.524160 '226 File transfer complete\r\n'
03:01:06.558210 < 6 bytes data, client => server
03:01:06.558239 'QUIT\r\n'
03:01:06.558380 Received DATA (on stdin)
03:01:06.558404 > 18 bytes data, server => client
03:01:06.558419 '221 bye bye baby\r\n'
03:01:06.562709 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:05.491749 Running IPv4 version
03:01:05.491827 Listening on port 34855
03:01:05.491857 Wrote pid 12054 to ./.ftp_sockdata.pid
03:01:05.491872 Received PING (on stdin)
03:01:05.491979 Received PORT (on stdin)
03:01:05.499040 ====> Client connect
03:01:05.515034 < 52 bytes data, client => server
03:01:05.515059 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:01:05.523829 ====> Client disconnect
03:01:05.524014 Received QUIT (on stdin)
03:01:05.524031 quits
03:01:05.524048 ============> 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 23 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:03.274090 == Info: STATE: INIT => CONNECT handle 0x56caf38; line 1491 (connection #-5000)
03:01:03.328339 == Info: Added connection 0. The cache now contains 1 members
03:01:03.345713 == Info: Trying 127.0.0.1:8993...
03:01:03.346320 == Info: TCP_NODELAY set
03:01:03.351536 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caf38; line 1547 (connection #0)
03:01:03.363203 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:03.363768 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caf38; line 1665 (connection #0)
03:01:03.364880 == Info: Marked for [keep alive]: FTP default
03:01:04.854268 == Info: successfully set certificate verify locations:
03:01:04.854540 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:04.971334 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:04.976714 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:04.976778 => Send SSL data, 126 bytes (0x7e)
0000: ...z...'Y......M.4.pGeP..D...m..k.%~Q.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:04.994247 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:04.999878 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:04.999973 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..c....>}..!........f/..B.....[7F]..! ..z..H.0.A....}'...J.....
0040: ...Z..../................
03:01:05.044065 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.044443 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:05.044499 <= 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:05.143344 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:05.143569 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:05.143626 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y.......fo..)........R..i]Jx...Y.U..8..O9..k....B??..j..
0080: .[7F].5BJ.=...;n.[7F]m.....]...g.gH..........:...w..d.....w...(.j.:.B)
00c0: 8...*X..9\x.....6...M.72......."Gm,G..,..x...|..j...*g..S....?..
0100: ,|.....8w~9..-e..?.*S7....w;...P.E.w}.y.\Zy.Q-=.j.@.4j.{O.......
0140: Q....+j...Q_.
03:01:05.213543 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.213752 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:05.213808 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:05.331093 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:05.331305 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:05.331363 => Send SSL data, 70 bytes (0x46)
0000: ...BA...6.%.p..S25(.J..:........`N.B....Z...v|"e."%'......2.x.B.
0040: -..@+.
03:01:05.343392 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.343976 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:05.344032 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:05.365482 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:05.365539 => Send SSL data, 16 bytes (0x10)
0000: ......R.[..xY^.y
03:01:05.378038 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.380563 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.381650 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:05.381710 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:05.384246 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.389914 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:05.389970 <= Recv SSL data, 16 bytes (0x10)
0000: ....C;E.W.caxen.
03:01:05.418519 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:05.420715 == Info: Server certificate:
03:01:05.428346 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:05.434593 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:05.435539 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:05.436468 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:05.437327 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:05.438808 == Info: FTP 0x5780e00 (line 3092) state change from STOP to WAIT220
03:01:05.444903 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:05.452548 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:05.456421 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:05.456618 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:05.456803 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:05.457007 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:05.464790 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:05.467702 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:05.468485 == Info: FTP 0x5780e00 (line 792) state change from WAIT220 to USER
03:01:05.469240 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56caf38; line 1682 (connection #0)
03:01:05.475424 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:05.476082 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:05.477353 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.477478 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:05.477855 == Info: FTP 0x5780e00 (line 2520) state change from USER to PASS
03:01:05.478862 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:05.479003 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:05.479690 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.479808 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:05.480133 == Info: FTP 0x5780e00 (line 2496) state change from PASS to PBSZ
03:01:05.480429 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:05.480567 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:05.481103 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.481219 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:05.481550 == Info: FTP 0x5780e00 (line 2709) state change from PBSZ to PROT
03:01:05.481789 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:05.481923 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:05.482585 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.482756 => Send header, 5 bytes (0x5)
0000: PWD
03:01:05.483110 == Info: FTP 0x5780e00 (line 804) state change from PROT to PWD
03:01:05.483435 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:05.483571 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:05.484690 == Info: Entry path is '/'
03:01:05.484911 == Info: FTP 0x5780e00 (line 2844) state change from PWD to STOP
03:01:05.485075 == Info: protocol connect phase DONE
03:01:05.485322 == Info: STATE: PROTOCONNECT => DO handle 0x56caf38; line 1701 (connection #0)
03:01:05.487922 == Info: DO phase starts
03:01:05.489976 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:05.490095 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:05.490431 == Info: FTP 0x5780e00 (line 1330) state change from STOP to PASV
03:01:05.490602 == Info: Connect data stream passively
03:01:05.491372 == Info: ftp_perform ends with SECONDARY: 0
03:01:05.492140 == Info: STATE: DO => DOING handle 0x56caf38; line 1743 (connection #0)
03:01:05.493102 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:05.493254 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34855|).
03:01:05.498880 == Info: Trying 127.0.0.1:34855...
03:01:05.498941 == Info: TCP_NODELAY set
03:01:05.499628 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34855
03:01:05.500737 == Info: FTP 0x5780e00 (line 1977) state change from PASV to STOP
03:01:05.501360 == Info: DO phase is complete2
03:01:05.501784 == Info: STATE: DOING => DO_MORE handle 0x56caf38; line 1825 (connection #0)
03:01:05.502585 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:05.502803 == Info: DO-MORE connected phase starts
03:01:05.503811 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:05.503933 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:05.504273 == Info: FTP 0x5780e00 (line 3418) state change from STOP to STOR_TYPE
03:01:05.504656 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:05.504797 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:05.506064 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:05.506181 => Send header, 10 bytes (0xa)
0000: STOR 401
03:01:05.506514 == Info: FTP 0x5780e00 (line 1651) state change from STOR_TYPE to STOR
03:01:05.508214 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:05.508353 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:05.510161 == Info: FTP 0x5780e00 (line 477) state change from STOR to STOP
03:01:05.510880 == Info: STATE: DO_MORE => DO_DONE handle 0x56caf38; line 1850 (connection #0)
03:01:05.511311 == Info: STATE: DO_DONE => PERFORM handle 0x56caf38; line 1877 (connection #0)
03:01:05.515575 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:01:05.516258 == Info: We are completely uploaded and fine
03:01:05.518673 == Info: STATE: PERFORM => DONE handle 0x56caf38; line 2067 (connection #0)
03:01:05.519022 == Info: multi_done
03:01:05.522177 == Info: Remembering we are in dir ""
03:01:05.525797 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:05.525960 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:05.531970 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:05.534752 == Info: Expire cleared (transfer 0x56caf38)
=== 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
==12051== Invalid read of size 8
==12051== at 0x53335A5: check_free (dlerror.c:188)
==12051== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12051== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12051== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12051== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12051== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12051== by 0x4C4AEB9: exit (exit.c:139)
==12051== by 0x4C350A1: (below main) (libc-start.c:342)
==12051== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
==12051== Invalid free() / delete / delete[] / realloc()
==12051== at 0x48369AB: free (vg_replace_malloc.c:540)
==12051== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12051== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12051== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12051== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12051== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12051== by 0x4C4AEB9: exit (exit.c:139)
==12051== by 0x4C350A1: (below main) (libc-start.c:342)
==12051== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
==12051== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12051== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12051== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12051== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12051== by 0x24AEEC: err_get_state (err.c:210)
==12051== by 0x24BAC2: ERR_put_error (err.c:636)
==12051== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12051== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12051== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12051== by 0x27010E: by_file_ctrl (by_file.c:111)
==12051== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12051== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12051== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12051== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12051== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12051== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12051== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12051==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (349 out of 1251, remaining: 24:54, took 1.1s, duration: 09:38)
test 0403...[FTPS with CCC not supported by server]
goto problem 20
valgrind ERROR ==12062== Invalid read of size 8
==12062== at 0x53335A5: check_free (dlerror.c:188)
==12062== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12062== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12062== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12062== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12062== by 0x4C4AEB9: exit (exit.c:139)
==12062== by 0x4C350A1: (below main) (libc-start.c:342)
==12062== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
==12062== Invalid free() / delete / delete[] / realloc()
==12062== at 0x48369AB: free (vg_replace_malloc.c:540)
==12062== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12062== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12062== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12062== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12062== by 0x4C4AEB9: exit (exit.c:139)
==12062== by 0x4C350A1: (below main) (libc-start.c:342)
==12062== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
==12062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
== 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:09.972414 ====> Client connect
03:01:09.972527 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:10.060748 < "USER anonymous"
03:01:10.060796 > "331 We are happy you popped in![CR][LF]"
03:01:10.071871 < "PASS ftp@example.com"
03:01:10.071904 > "230 Welcome you silly person[CR][LF]"
03:01:10.074313 < "PBSZ 0"
03:01:10.074340 > "500 PBSZ not implemented[CR][LF]"
03:01:10.075763 < "PROT C"
03:01:10.075794 > "500 PROT not implemented[CR][LF]"
03:01:10.077239 < "CCC"
03:01:10.077257 CCC wasn't handled
03:01:10.077277 > "500 CCC is not dealt with![CR][LF]"
03:01:10.078670 < "PWD"
03:01:10.078699 > "257 "/" is current directory[CR][LF]"
03:01:10.085566 < "EPSV"
03:01:10.085591 ====> Passive DATA channel requested by client
03:01:10.085604 DATA sockfilt for passive data channel starting...
03:01:10.087242 DATA sockfilt for passive data channel started (pid 12065)
03:01:10.087334 DATA sockfilt for passive data channel listens on port 38033
03:01:10.087371 > "229 Entering Passive Mode (|||38033|)[LF]"
03:01:10.087386 Client has been notified that DATA conn will be accepted on port 38033
03:01:10.094504 Client connects to port 38033
03:01:10.094529 ====> Client established passive DATA connection on port 38033
03:01:10.100280 < "TYPE A"
03:01:10.100318 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:10.102498 < "LIST"
03:01:10.102524 > "150 here comes a directory[CR][LF]"
03:01:10.102552 pass LIST data on data connection
03:01:10.102628 =====> Closing passive DATA connection...
03:01:10.102643 Server disconnects passive DATA connection
03:01:10.103135 DATA sockfilt for passive data channel quits (pid 12066)
03:01:10.103151 =====> Closed passive DATA connection
03:01:10.103179 > "226 ASCII transfer complete[CR][LF]"
03:01:10.164183 < "QUIT"
03:01:10.164229 > "221 bye bye baby[CR][LF]"
03:01:10.168799 MAIN sockfilt said DISC
03:01:10.168826 ====> Client disconnected
03:01:10.168873 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:10.833019 ====> Client connect
03:01:10.833233 Received DATA (on stdin)
03:01:10.833257 > 160 bytes data, server => client
03:01:10.833280 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:10.833302 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:10.833320 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:10.921326 < 16 bytes data, client => server
03:01:10.921366 'USER anonymous\r\n'
03:01:10.921507 Received DATA (on stdin)
03:01:10.921529 > 33 bytes data, server => client
03:01:10.921548 '331 We are happy you popped in!\r\n'
03:01:10.932528 < 22 bytes data, client => server
03:01:10.932553 'PASS ftp@example.com\r\n'
03:01:10.932614 Received DATA (on stdin)
03:01:10.932631 > 30 bytes data, server => client
03:01:10.932647 '230 Welcome you silly person\r\n'
03:01:10.934981 < 8 bytes data, client => server
03:01:10.935002 'PBSZ 0\r\n'
03:01:10.935051 Received DATA (on stdin)
03:01:10.935069 > 26 bytes data, server => client
03:01:10.935086 '500 PBSZ not implemented\r\n'
03:01:10.936439 < 8 bytes data, client => server
03:01:10.936460 'PROT C\r\n'
03:01:10.936505 Received DATA (on stdin)
03:01:10.936523 > 26 bytes data, server => client
03:01:10.936540 '500 PROT not implemented\r\n'
03:01:10.937912 < 5 bytes data, client => server
03:01:10.937933 'CCC\r\n'
03:01:10.937989 Received DATA (on stdin)
03:01:10.938008 > 28 bytes data, server => client
03:01:10.938026 '500 CCC is not dealt with!\r\n'
03:01:10.939348 < 5 bytes data, client => server
03:01:10.939369 'PWD\r\n'
03:01:10.939412 Received DATA (on stdin)
03:01:10.939429 > 30 bytes data, server => client
03:01:10.939446 '257 "/" is current directory\r\n'
03:01:10.946239 < 6 bytes data, client => server
03:01:10.946261 'EPSV\r\n'
03:01:10.948081 Received DATA (on stdin)
03:01:10.948103 > 38 bytes data, server => client
03:01:10.948123 '229 Entering Passive Mode (|||38033|)\n'
03:01:10.960920 < 8 bytes data, client => server
03:01:10.960947 'TYPE A\r\n'
03:01:10.961029 Received DATA (on stdin)
03:01:10.961049 > 33 bytes data, server => client
03:01:10.961067 '200 I modify TYPE as you wanted\r\n'
03:01:10.963172 < 6 bytes data, client => server
03:01:10.963193 'LIST\r\n'
03:01:10.963236 Received DATA (on stdin)
03:01:10.963256 > 28 bytes data, server => client
03:01:10.963272 '150 here comes a directory\r\n'
03:01:10.963892 Received DATA (on stdin)
03:01:10.963913 > 29 bytes data, server => client
03:01:10.963932 '226 ASCII transfer complete\r\n'
03:01:11.024788 < 6 bytes data, client => server
03:01:11.024828 'QUIT\r\n'
03:01:11.024940 Received DATA (on stdin)
03:01:11.024961 > 18 bytes data, server => client
03:01:11.024977 '221 bye bye baby\r\n'
03:01:11.029475 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:10.947808 Running IPv4 version
03:01:10.947885 Listening on port 38033
03:01:10.947911 Wrote pid 12066 to ./.ftp_sockdata.pid
03:01:10.947926 Received PING (on stdin)
03:01:10.947995 Received PORT (on stdin)
03:01:10.955184 ====> Client connect
03:01:10.963321 Received DATA (on stdin)
03:01:10.963345 > 10 bytes data, server => client
03:01:10.963359 'total 20\r\n'
03:01:10.963389 Received DATA (on stdin)
03:01:10.963400 > 57 bytes data, server => client
03:01:10.963413 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:10.963429 Received DATA (on stdin)
03:01:10.963440 > 58 bytes data, server => client
03:01:10.963452 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:10.963467 Received DATA (on stdin)
03:01:10.963477 > 61 bytes data, server => client
03:01:10.963489 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:10.963497 '\n'
03:01:10.963511 Received DATA (on stdin)
03:01:10.963521 > 62 bytes data, server => client
03:01:10.963533 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:10.963541 '\n'
03:01:10.963556 Received DATA (on stdin)
03:01:10.963566 > 70 bytes data, server => client
03:01:10.963578 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:10.963586 'usr/bin\r\n'
03:01:10.963600 Received DATA (on stdin)
03:01:10.963610 > 59 bytes data, server => client
03:01:10.963622 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:10.963637 Received DATA (on stdin)
03:01:10.963647 > 69 bytes data, server => client
03:01:10.963660 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:10.963667 'd.html\r\n'
03:01:10.963682 Received DATA (on stdin)
03:01:10.963692 > 59 bytes data, server => client
03:01:10.963704 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:10.963720 Received DATA (on stdin)
03:01:10.963730 > 59 bytes data, server => client
03:01:10.963742 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:10.963757 Received DATA (on stdin)
03:01:10.963767 > 59 bytes data, server => client
03:01:10.963779 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:10.963794 Received DISC (on stdin)
03:01:10.963806 ====> Client forcibly disconnected
03:01:10.963825 Received QUIT (on stdin)
03:01:10.963835 quits
03:01:10.963850 ============> 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 279 0 --:--:-- 0:00:02 --:--:-- 289
=== End of file stderr403
=== Start of file trace403
03:01:07.759925 == Info: STATE: INIT => CONNECT handle 0x56c8098; line 1491 (connection #-5000)
03:01:07.815858 == Info: Added connection 0. The cache now contains 1 members
03:01:07.833141 == Info: Trying 127.0.0.1:8993...
03:01:07.833745 == Info: TCP_NODELAY set
03:01:07.839130 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8098; line 1547 (connection #0)
03:01:07.850823 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:07.851387 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8098; line 1665 (connection #0)
03:01:07.852505 == Info: Marked for [keep alive]: FTP default
03:01:09.309782 == Info: successfully set certificate verify locations:
03:01:09.310046 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:09.423492 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:09.428693 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:09.428757 => Send SSL data, 126 bytes (0x7e)
0000: ...z......G.&U"....h.~W.. .R\....3.<.t....+./.,.0...............
0040: ../.5.....3...................................................
03:01:09.445691 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:09.451235 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:09.451294 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..P~jz.N\}..`....T.y.....7.'...k.. ;......c.:.'BF.-..g.c@l(.
0040: .....`../................
03:01:09.495121 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:09.495483 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:09.495540 <= 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:09.595959 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:09.596191 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:09.596248 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y.....46.L.&......{.Oh.5..*.....}$.h.Q...%S..u.......[7F]%'
0080: 1Z.6...G...>.!.lJa...eb?2.... ._@.....R...|.GD....._.<Re..'.>..P
00c0: ...`..K......-q...8..*I.Q.Q.....Z.5A..\yG6..:.H.v...g...O_.U. ..
0100: ........=....'f..G.-.B.4.4........"...|.@[4B.h.t#%.....8. ..d.[.
0140: ....Y..u.<,R.
03:01:09.666147 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:09.666356 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:09.666413 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:09.785223 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:09.785441 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:09.785501 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Q(.....s....kD,....#MF.C........H)..'....Q|(..o...%....c..
0040: .....2
03:01:09.797456 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.798052 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:09.798111 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:09.819641 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:09.819702 => Send SSL data, 16 bytes (0x10)
0000: ....m.\E.Mb.He..
03:01:09.832171 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:09.834830 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:09.835926 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:09.835987 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:09.838443 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:09.844094 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:09.844149 <= Recv SSL data, 16 bytes (0x10)
0000: ....._e.....n...
03:01:09.872871 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:09.875238 == Info: Server certificate:
03:01:09.882969 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:09.889175 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:09.890121 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:09.891047 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:09.891913 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:09.893426 == Info: FTP 0x5743ea0 (line 3092) state change from STOP to WAIT220
03:01:09.899636 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:09.907453 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:09.911146 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:09.911340 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:09.911524 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:09.911705 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:09.919664 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:09.922649 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:09.923432 == Info: FTP 0x5743ea0 (line 792) state change from WAIT220 to USER
03:01:09.924215 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8098; line 1682 (connection #0)
03:01:09.930433 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:09.931095 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:09.932349 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.932479 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:09.932903 == Info: FTP 0x5743ea0 (line 2520) state change from USER to PASS
03:01:09.933915 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:09.934056 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:09.934815 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:09.934934 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:09.935308 == Info: FTP 0x5743ea0 (line 2496) state change from PASS to PBSZ
03:01:09.935599 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:09.935735 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:09.936271 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:09.936386 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:09.936769 == Info: FTP 0x5743ea0 (line 2709) state change from PBSZ to PROT
03:01:09.937011 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:09.937147 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:09.937750 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.937866 => Send header, 5 bytes (0x5)
0000: CCC
03:01:09.938229 == Info: FTP 0x5743ea0 (line 2728) state change from PROT to CCC
03:01:09.938472 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:09.938607 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:01:09.939188 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.939303 => Send header, 5 bytes (0x5)
0000: PWD
03:01:09.939665 == Info: FTP 0x5743ea0 (line 804) state change from CCC to PWD
03:01:09.939986 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:09.940122 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:09.941268 == Info: Entry path is '/'
03:01:09.941499 == Info: FTP 0x5743ea0 (line 2844) state change from PWD to STOP
03:01:09.941666 == Info: protocol connect phase DONE
03:01:09.941910 == Info: STATE: PROTOCONNECT => DO handle 0x56c8098; line 1701 (connection #0)
03:01:09.943908 == Info: DO phase starts
03:01:09.946058 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.946183 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:09.946545 == Info: FTP 0x5743ea0 (line 1330) state change from STOP to PASV
03:01:09.946719 == Info: Connect data stream passively
03:01:09.947496 == Info: ftp_perform ends with SECONDARY: 0
03:01:09.948235 == Info: STATE: DO => DOING handle 0x56c8098; line 1743 (connection #0)
03:01:09.949145 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:09.949291 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38033|).
03:01:09.954999 == Info: Trying 127.0.0.1:38033...
03:01:09.955062 == Info: TCP_NODELAY set
03:01:09.955753 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38033
03:01:09.956877 == Info: FTP 0x5743ea0 (line 1977) state change from PASV to STOP
03:01:09.957701 == Info: DO phase is complete2
03:01:09.958274 == Info: STATE: DOING => DO_MORE handle 0x56c8098; line 1825 (connection #0)
03:01:09.959160 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:09.959378 == Info: DO-MORE connected phase starts
03:01:09.960736 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:09.960868 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:09.961264 == Info: FTP 0x5743ea0 (line 3418) state change from STOP to LIST_TYPE
03:01:09.961655 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:09.961800 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:09.963007 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:09.963126 => Send header, 6 bytes (0x6)
0000: LIST
03:01:09.963712 == Info: FTP 0x5743ea0 (line 1486) state change from LIST_TYPE to LIST
03:01:09.965346 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:09.965488 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:09.966079 == Info: Maxdownload = -1
03:01:09.967408 == Info: FTP 0x5743ea0 (line 477) state change from LIST to STOP
03:01:09.968127 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8098; line 1850 (connection #0)
03:01:09.968528 == Info: STATE: DO_DONE => PERFORM handle 0x56c8098; line 1877 (connection #0)
03:01:09.971954 <= 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:09.980835 == Info: nread <= 0, server closed connection, bailing
03:01:09.982046 == Info: STATE: PERFORM => DONE handle 0x56c8098; line 2067 (connection #0)
03:01:09.982381 == Info: multi_done
03:01:09.985843 == Info: Remembering we are in dir ""
03:01:09.989270 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:09.989422 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:09.995453 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:09.997372 == Info: Expire cleared (transfer 0x56c8098)
=== End of file trace403
=== Start of file valgrind403
==12062== Invalid read of size 8
==12062== at 0x53335A5: check_free (dlerror.c:188)
==12062== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12062== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12062== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12062== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12062== by 0x4C4AEB9: exit (exit.c:139)
==12062== by 0x4C350A1: (below main) (libc-start.c:342)
==12062== Address 0x5af7dd0 is 0 bytes after a block of size 32 alloc'd
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
==12062== Invalid free() / delete / delete[] / realloc()
==12062== at 0x48369AB: free (vg_replace_malloc.c:540)
==12062== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12062== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12062== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12062== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12062== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12062== by 0x4C4AEB9: exit (exit.c:139)
==12062== by 0x4C350A1: (below main) (libc-start.c:342)
==12062== Address 0x5af7db8 is 8 bytes inside a block of size 32 alloc'd
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
==12062== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12062== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12062== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12062== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12062== by 0x24AEEC: err_get_state (err.c:210)
==12062== by 0x24BAC2: ERR_put_error (err.c:636)
==12062== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12062== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12062== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12062== by 0x27010E: by_file_ctrl (by_file.c:111)
==12062== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12062== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12062== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12062== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12062== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12062== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12062== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12062==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 21
valgrind ERROR ==12069== Invalid read of size 8
==12069== at 0x53335A5: check_free (dlerror.c:188)
==12069== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12069== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12069== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12069== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12069== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12069== by 0x4C4AEB9: exit (exit.c:139)
==12069== by 0x4C350A1: (below main) (libc-start.c:342)
==12069== Address 0x5758b10 is 0 bytes after a block of size 32 alloc'd
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
==12069== Invalid free() / delete / delete[] / realloc()
==12069== at 0x48369AB: free (vg_replace_malloc.c:540)
==12069== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12069== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12069== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12069== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12069== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12069== by 0x4C4AEB9: exit (exit.c:139)
==12069== by 0x4C350A1: (below main) (libc-start.c:342)
==12069== Address 0x5758af8 is 8 bytes inside a block of size 32 alloc'd
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
==12069== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
== 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:11.085486 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
03:01:11.140727 == Info: Added connection 0. The cache now contains 1 members
03:01:11.157998 == Info: Trying 127.0.0.1:8993...
03:01:11.158612 == Info: TCP_NODELAY set
03:01:11.163702 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
03:01:11.175369 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:11.175932 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
03:01:11.177047 == Info: Marked for [keep alive]: FTP default
03:01:11.235978 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:11.237223 == Info: multi_done
03:01:11.240186 == Info: Marked for [closure]: FTP ended with bad error code
03:01:11.248653 == Info: Closing connection 0
03:01:11.268197 == Info: The cache now contains 0 members
03:01:11.275917 == Info: Expire cleared (transfer 0x56c8538)
=== End of file trace404
=== Start of file valgrind404
==12069== Invalid read of size 8
==12069== at 0x53335A5: check_free (dlerror.c:188)
==12069== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12069== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12069== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12069== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12069== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12069== by 0x4C4AEB9: exit (exit.c:139)
==12069== by 0x4C350A1: (below main) (libc-start.c:342)
==12069== Address 0x5758b10 is 0 bytes after a block of size 32 alloc'd
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
==12069== Invalid free() / delete / delete[] / realloc()
==12069== at 0x48369AB: free (vg_replace_malloc.c:540)
==12069== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12069== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12069== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12069== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12069== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12069== by 0x4C4AEB9: exit (exit.c:139)
==12069== by 0x4C350A1: (below main) (libc-start.c:342)
==12069== Address 0x5758af8 is 8 bytes inside a block of size 32 alloc'd
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
==12069== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==12069== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12069== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12069== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12069== by 0x24AEEC: err_get_state (err.c:210)
==12069== by 0x24BAC2: ERR_put_error (err.c:636)
==12069== by 0x23B393: BIO_new_file (file.c:99)
==12069== by 0x2705DB: X509_load_cert_crl_file (by_file.c:250)
==12069== by 0x27010E: by_file_ctrl (by_file.c:111)
==12069== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12069== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12069== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12069== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12069== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12069== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12069== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12069== by 0x1D37F8: ftp_connect (ftp.c:3083)
==12069==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 22
valgrind ERROR ==12074== Invalid read of size 8
==12074== at 0x53335A5: check_free (dlerror.c:188)
==12074== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12074== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12074== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12074== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12074== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12074== by 0x4C4AEB9: exit (exit.c:139)
==12074== by 0x4C350A1: (below main) (libc-start.c:342)
==12074== Address 0x5af7e40 is 0 bytes after a block of size 32 alloc'd
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
==12074== Invalid free() / delete / delete[] / realloc()
==12074== at 0x48369AB: free (vg_replace_malloc.c:540)
==12074== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12074== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12074== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12074== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12074== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12074== by 0x4C4AEB9: exit (exit.c:139)
==12074== by 0x4C350A1: (below main) (libc-start.c:342)
==12074== Address 0x5af7e28 is 8 bytes inside a block of size 32 alloc'd
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
==12074== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:01:12.507002 ====> Client connect
03:01:12.507115 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:14.240673 MAIN sockfilt said DISC
03:01:14.240727 ====> Client disconnected
03:01:14.240769 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:13.367607 ====> Client connect
03:01:13.367819 Received DATA (on stdin)
03:01:13.367842 > 160 bytes data, server => client
03:01:13.367866 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:13.367891 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:13.367911 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:14.998173 < 131 bytes data, client => server
03:01:14.998219 '....~...z..0..E..&....z..Z....Z..gm..C.m..,....+./.,.0..... .'
03:01:14.998243 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:01:14.998258 '.............'
03:01:15.016668 < 7 bytes data, client => server
03:01:15.016700 '......F'
03:01:15.101316 ====> 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:12.290562 == Info: STATE: INIT => CONNECT handle 0x56c80c8; line 1491 (connection #-5000)
03:01:12.346678 == Info: Added connection 0. The cache now contains 1 members
03:01:12.364344 == Info: Trying 127.0.0.1:8992...
03:01:12.364988 == Info: TCP_NODELAY set
03:01:12.369567 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c80c8; line 1547 (connection #0)
03:01:12.381171 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:01:12.381734 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c80c8; line 1665 (connection #0)
03:01:12.382839 == Info: Marked for [keep alive]: FTP default
03:01:13.873400 == Info: successfully set certificate verify locations:
03:01:13.873662 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:13.987556 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:13.992823 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:13.992889 => Send SSL data, 126 bytes (0x7e)
0000: ...z..0..E..&....z..Z....Z.[7F]gm..C.m..,....+./.,.0...............
0040: ../.5.....3...................................................
03:01:14.015090 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:14.018284 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:01:14.018344 => Send SSL data, 2 bytes (0x2)
0000: .F
03:01:14.026810 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:01:14.027641 == Info: multi_done
03:01:14.029742 == Info: Marked for [closure]: FTP ended with bad error code
03:01:14.038233 == Info: Closing connection 0
03:01:14.104247 == Info: The cache now contains 0 members
03:01:14.112113 == Info: Expire cleared (transfer 0x56c80c8)
=== End of file trace405
=== Start of file valgrind405
==12074== Invalid read of size 8
==12074== at 0x53335A5: check_free (dlerror.c:188)
==12074== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12074== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12074== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12074== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12074== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12074== by 0x4C4AEB9: exit (exit.c:139)
==12074== by 0x4C350A1: (below main) (libc-start.c:342)
==12074== Address 0x5af7e40 is 0 bytes after a block of size 32 alloc'd
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
==12074== Invalid free() / delete / delete[] / realloc()
==12074== at 0x48369AB: free (vg_replace_malloc.c:540)
==12074== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12074== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12074== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12074== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12074== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12074== by 0x4C4AEB9: exit (exit.c:139)
==12074== by 0x4C350A1: (below main) (libc-start.c:342)
==12074== Address 0x5af7e28 is 8 bytes inside a block of size 32 alloc'd
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
==12074== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==12074== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12074== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12074== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12074== by 0x24AEEC: err_get_state (err.c:210)
==12074== by 0x24BAC2: ERR_put_error (err.c:636)
==12074== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12074== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12074== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12074== by 0x27010E: by_file_ctrl (by_file.c:111)
==12074== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12074== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12074== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12074== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12074== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12074== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12074== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12074==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 23
valgrind ERROR ==12078== Invalid read of size 8
==12078== at 0x53335A5: check_free (dlerror.c:188)
==12078== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12078== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12078== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12078== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12078== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12078== by 0x4C4AEB9: exit (exit.c:139)
==12078== by 0x4C350A1: (below main) (libc-start.c:342)
==12078== Address 0x5af86d0 is 0 bytes after a block of size 32 alloc'd
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
==12078== Invalid free() / delete / delete[] / realloc()
==12078== at 0x48369AB: free (vg_replace_malloc.c:540)
==12078== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12078== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12078== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12078== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12078== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12078== by 0x4C4AEB9: exit (exit.c:139)
==12078== by 0x4C350A1: (below main) (libc-start.c:342)
==12078== Address 0x5af86b8 is 8 bytes inside a block of size 32 alloc'd
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
==12078== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
== 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:17.364532 ====> Client connect
03:01:17.364642 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:17.456523 < "USER anonymous"
03:01:17.456571 > "331 We are happy you popped in![CR][LF]"
03:01:17.467955 < "PASS ftp@example.com"
03:01:17.467996 > "230 Welcome you silly person[CR][LF]"
03:01:17.470534 < "PBSZ 0"
03:01:17.470571 > "500 PBSZ not implemented[CR][LF]"
03:01:17.472121 < "PROT C"
03:01:17.472158 > "500 PROT not implemented[CR][LF]"
03:01:17.473695 < "PWD"
03:01:17.473729 > "257 "/" is current directory[CR][LF]"
03:01:17.495622 < "EPRT |1|127.0.0.1|34117|"
03:01:17.495659 ====> Active DATA channel requested by client
03:01:17.495690 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:17.495717 DATA sockfilt for active data channel starting...
03:01:17.497372 DATA sockfilt for active data channel started (pid 12086)
03:01:17.497399 ====> Active DATA channel connected to client port 34117
03:01:17.500957 < "TYPE A"
03:01:17.501005 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:17.503271 < "LIST"
03:01:17.503303 > "150 here comes a directory[CR][LF]"
03:01:17.503329 pass LIST data on data connection
03:01:17.503415 =====> Closing active DATA connection...
03:01:17.503431 Server disconnects active DATA connection
03:01:17.503947 DATA sockfilt for active data channel quits (pid 12087)
03:01:17.503973 =====> Closed active DATA connection
03:01:17.504000 > "226 ASCII transfer complete[CR][LF]"
03:01:17.569690 < "QUIT"
03:01:17.569736 > "221 bye bye baby[CR][LF]"
03:01:17.574502 MAIN sockfilt said DISC
03:01:17.574553 ====> Client disconnected
03:01:17.574614 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:18.225159 ====> Client connect
03:01:18.225342 Received DATA (on stdin)
03:01:18.225358 > 160 bytes data, server => client
03:01:18.225373 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:18.225385 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:18.225396 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:18.317081 < 16 bytes data, client => server
03:01:18.317116 'USER anonymous\r\n'
03:01:18.317294 Received DATA (on stdin)
03:01:18.317309 > 33 bytes data, server => client
03:01:18.317323 '331 We are happy you popped in!\r\n'
03:01:18.328590 < 22 bytes data, client => server
03:01:18.328616 'PASS ftp@example.com\r\n'
03:01:18.328720 Received DATA (on stdin)
03:01:18.328734 > 30 bytes data, server => client
03:01:18.328749 '230 Welcome you silly person\r\n'
03:01:18.331160 < 8 bytes data, client => server
03:01:18.331179 'PBSZ 0\r\n'
03:01:18.331294 Received DATA (on stdin)
03:01:18.331308 > 26 bytes data, server => client
03:01:18.331322 '500 PBSZ not implemented\r\n'
03:01:18.332770 < 8 bytes data, client => server
03:01:18.332788 'PROT C\r\n'
03:01:18.332866 Received DATA (on stdin)
03:01:18.332876 > 26 bytes data, server => client
03:01:18.332886 '500 PROT not implemented\r\n'
03:01:18.334363 < 5 bytes data, client => server
03:01:18.334377 'PWD\r\n'
03:01:18.334438 Received DATA (on stdin)
03:01:18.334449 > 30 bytes data, server => client
03:01:18.334459 '257 "/" is current directory\r\n'
03:01:18.356248 < 26 bytes data, client => server
03:01:18.356273 'EPRT |1|127.0.0.1|34117|\r\n'
03:01:18.356400 Received DATA (on stdin)
03:01:18.356420 > 50 bytes data, server => client
03:01:18.356433 '200 Thanks for dropping by. We contact you later\r\n'
03:01:18.361584 < 8 bytes data, client => server
03:01:18.361605 'TYPE A\r\n'
03:01:18.361710 Received DATA (on stdin)
03:01:18.361725 > 33 bytes data, server => client
03:01:18.361741 '200 I modify TYPE as you wanted\r\n'
03:01:18.363929 < 6 bytes data, client => server
03:01:18.363945 'LIST\r\n'
03:01:18.364012 Received DATA (on stdin)
03:01:18.364022 > 28 bytes data, server => client
03:01:18.364032 '150 here comes a directory\r\n'
03:01:18.364709 Received DATA (on stdin)
03:01:18.364722 > 29 bytes data, server => client
03:01:18.364732 '226 ASCII transfer complete\r\n'
03:01:18.430300 < 6 bytes data, client => server
03:01:18.430337 'QUIT\r\n'
03:01:18.430444 Received DATA (on stdin)
03:01:18.430455 > 18 bytes data, server => client
03:01:18.430465 '221 bye bye baby\r\n'
03:01:18.435170 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:17.357911 ====> Client connect
03:01:17.357992 Running IPv4 version
03:01:17.358007 Connected to port 34117
03:01:17.358037 Wrote pid 12087 to ./.ftp_sockdata.pid
03:01:17.358053 Received PING (on stdin)
03:01:17.364074 Received DATA (on stdin)
03:01:17.364093 > 10 bytes data, server => client
03:01:17.364104 'total 20\r\n'
03:01:17.364127 Received DATA (on stdin)
03:01:17.364139 > 57 bytes data, server => client
03:01:17.364152 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:17.364169 Received DATA (on stdin)
03:01:17.364180 > 58 bytes data, server => client
03:01:17.364194 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:17.364216 Received DATA (on stdin)
03:01:17.364227 > 61 bytes data, server => client
03:01:17.364240 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:17.364248 '\n'
03:01:17.364263 Received DATA (on stdin)
03:01:17.364273 > 62 bytes data, server => client
03:01:17.364286 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:17.364294 '\n'
03:01:17.364309 Received DATA (on stdin)
03:01:17.364320 > 70 bytes data, server => client
03:01:17.364332 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:17.364341 'usr/bin\r\n'
03:01:17.364360 Received DATA (on stdin)
03:01:17.364372 > 59 bytes data, server => client
03:01:17.364384 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:17.364401 Received DATA (on stdin)
03:01:17.364419 > 69 bytes data, server => client
03:01:17.364432 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:17.364440 'd.html\r\n'
03:01:17.364457 Received DATA (on stdin)
03:01:17.364467 > 59 bytes data, server => client
03:01:17.364480 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:17.364495 Received DATA (on stdin)
03:01:17.364506 > 59 bytes data, server => client
03:01:17.364523 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:17.364541 Received DATA (on stdin)
03:01:17.364551 > 59 bytes data, server => client
03:01:17.364564 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:17.364580 Received DISC (on stdin)
03:01:17.364592 ====> Client forcibly disconnected
03:01:17.364609 disconnected, no socket to read on
03:01:17.364621 Received QUIT (on stdin)
03:01:17.364628 quits
03:01:17.364640 ============> 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|34117|
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 273 0 --:--:-- 0:00:02 --:--:-- 283
=== End of file stderr406
=== Start of file trace406
03:01:15.118567 == Info: STATE: INIT => CONNECT handle 0x56c8538; line 1491 (connection #-5000)
03:01:15.175305 == Info: Added connection 0. The cache now contains 1 members
03:01:15.196154 == Info: Trying 127.0.0.1:8993...
03:01:15.196770 == Info: TCP_NODELAY set
03:01:15.201999 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8538; line 1547 (connection #0)
03:01:15.213684 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:15.214246 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8538; line 1665 (connection #0)
03:01:15.215354 == Info: Marked for [keep alive]: FTP default
03:01:16.699145 == Info: successfully set certificate verify locations:
03:01:16.699405 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:16.814170 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:16.819365 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:16.819431 => Send SSL data, 126 bytes (0x7e)
0000: ...z...{.}U.-.G..".@=....FS[7F].C...]..,N....+./.,.0...............
0040: ../.5.....3...................................................
03:01:16.836214 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:16.841788 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:16.841847 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...<.9.W.k.....t.O.....C...\.2.... ..$...&].._Ig...f.......2
0040: ..$.`.,./................
03:01:16.885510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:16.885861 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:16.885918 <= 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:16.984786 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:16.985037 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:16.985097 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y.........2../.dUz'.....C.m.>.uR....&..../H.}F.y..?8..j4
0080: .#sz.Q.W#...}N.....oK...O...}.H..K..=I..^.T[7F]S....$../../c..Y2.].
00c0: ....q./lG..`9....a.a..<\6......1....."...6d.d[7F].- T.....89$......
0100: ...... .c..D G..G.Z.....ii....uY...@.q...H..g$iv.0..U..P.....\..
0140: ....>..b..>I.
03:01:17.055822 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.056049 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:17.056107 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:17.176308 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:17.176527 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:17.176586 => Send SSL data, 70 bytes (0x46)
0000: ...BA..[..M..^............g..f.;...wV.ev8.|R5...[0..<.........._
0040: ,..wM,
03:01:17.188797 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.189398 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:17.189457 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:17.211358 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:17.211427 => Send SSL data, 16 bytes (0x10)
0000: ......@.........
03:01:17.224308 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.226884 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.227998 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:17.228060 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:17.230673 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.236642 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:17.236708 <= Recv SSL data, 16 bytes (0x10)
0000: .....9y.%......F
03:01:17.267179 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:17.269421 == Info: Server certificate:
03:01:17.277103 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:17.283596 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:17.284604 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:17.285583 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:17.286484 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:17.288129 == Info: FTP 0x57447e0 (line 3092) state change from STOP to WAIT220
03:01:17.294565 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:17.302604 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:17.306394 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:17.306600 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:17.306791 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:17.306979 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:17.315340 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:17.318399 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:17.319216 == Info: FTP 0x57447e0 (line 792) state change from WAIT220 to USER
03:01:17.320038 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8538; line 1682 (connection #0)
03:01:17.326451 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:17.327132 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:17.328416 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.328547 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:17.328929 == Info: FTP 0x57447e0 (line 2520) state change from USER to PASS
03:01:17.329951 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:17.330096 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:17.330971 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.331100 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:17.331443 == Info: FTP 0x57447e0 (line 2496) state change from PASS to PBSZ
03:01:17.331746 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:17.331972 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:17.332612 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.332751 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:17.333167 == Info: FTP 0x57447e0 (line 2709) state change from PBSZ to PROT
03:01:17.333420 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:17.333560 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:17.334234 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.334352 => Send header, 5 bytes (0x5)
0000: PWD
03:01:17.334674 == Info: FTP 0x57447e0 (line 804) state change from PROT to PWD
03:01:17.334998 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:17.335136 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:17.336265 == Info: Entry path is '/'
03:01:17.336499 == Info: FTP 0x57447e0 (line 2844) state change from PWD to STOP
03:01:17.336666 == Info: protocol connect phase DONE
03:01:17.336910 == Info: STATE: PROTOCONNECT => DO handle 0x56c8538; line 1701 (connection #0)
03:01:17.339126 == Info: DO phase starts
03:01:17.356071 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:17.356217 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|34117|
03:01:17.356930 == Info: FTP 0x57447e0 (line 1293) state change from STOP to PORT
03:01:17.357636 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:17.358019 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:17.358546 == Info: Connect data stream actively
03:01:17.358750 == Info: FTP 0x57447e0 (line 2011) state change from PORT to STOP
03:01:17.359289 == Info: ftp_perform ends with SECONDARY: 1
03:01:17.359501 == Info: DO phase is complete1
03:01:17.361421 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:17.361553 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:17.361948 == Info: FTP 0x57447e0 (line 3418) state change from STOP to LIST_TYPE
03:01:17.362431 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:17.362582 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:17.363790 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:17.363915 => Send header, 6 bytes (0x6)
0000: LIST
03:01:17.364463 == Info: FTP 0x57447e0 (line 1486) state change from LIST_TYPE to LIST
03:01:17.365603 == Info: STATE: DO => DO_MORE handle 0x56c8538; line 1751 (connection #0)
03:01:17.366944 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:17.367110 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:17.367710 == Info: Maxdownload = -1
03:01:17.368008 == Info: Preparing for accepting server on data port
03:01:17.369189 == Info: Checking for server connect
03:01:17.369980 == Info: Ready to accept data connection from server
03:01:17.371729 == Info: Connection accepted from server
03:01:17.373386 == Info: FTP 0x57447e0 (line 477) state change from LIST to STOP
03:01:17.374386 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8538; line 1850 (connection #0)
03:01:17.374876 == Info: STATE: DO_DONE => PERFORM handle 0x56c8538; line 1877 (connection #0)
03:01:17.378494 <= 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:17.387769 == Info: nread <= 0, server closed connection, bailing
03:01:17.388973 == Info: STATE: PERFORM => DONE handle 0x56c8538; line 2067 (connection #0)
03:01:17.389304 == Info: multi_done
03:01:17.392935 == Info: Remembering we are in dir ""
03:01:17.395661 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:17.395823 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:17.401688 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==12078== Invalid read of size 8
==12078== at 0x53335A5: check_free (dlerror.c:188)
==12078== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12078== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12078== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12078== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12078== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12078== by 0x4C4AEB9: exit (exit.c:139)
==12078== by 0x4C350A1: (below main) (libc-start.c:342)
==12078== Address 0x5af86d0 is 0 bytes after a block of size 32 alloc'd
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
==12078== Invalid free() / delete / delete[] / realloc()
==12078== at 0x48369AB: free (vg_replace_malloc.c:540)
==12078== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12078== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12078== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12078== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12078== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12078== by 0x4C4AEB9: exit (exit.c:139)
==12078== by 0x4C350A1: (below main) (libc-start.c:342)
==12078== Address 0x5af86b8 is 8 bytes inside a block of size 32 alloc'd
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
==12078== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12078== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12078== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12078== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12078== by 0x24AEEC: err_get_state (err.c:210)
==12078== by 0x24BAC2: ERR_put_error (err.c:636)
==12078== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12078== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12078== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12078== by 0x27010E: by_file_ctrl (by_file.c:111)
==12078== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12078== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12078== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12078== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12078== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12078== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12078== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12078==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 24
valgrind ERROR ==12090== Invalid read of size 8
==12090== at 0x53335A5: check_free (dlerror.c:188)
==12090== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12090== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12090== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12090== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12090== by 0x4C4AEB9: exit (exit.c:139)
==12090== by 0x4C350A1: (below main) (libc-start.c:342)
==12090== Address 0x5b51a30 is 0 bytes after a block of size 32 alloc'd
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
==12090== Invalid free() / delete / delete[] / realloc()
==12090== at 0x48369AB: free (vg_replace_malloc.c:540)
==12090== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12090== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12090== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12090== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12090== by 0x4C4AEB9: exit (exit.c:139)
==12090== by 0x4C350A1: (below main) (libc-start.c:342)
==12090== Address 0x5b51a18 is 8 bytes inside a block of size 32 alloc'd
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
==12090== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
== 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:20.741693 ====> Client connect
03:01:20.741801 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:20.828910 < "USER anonymous"
03:01:20.828958 > "331 We are happy you popped in![CR][LF]"
03:01:20.839923 < "PASS ftp@example.com"
03:01:20.839961 > "230 Welcome you silly person[CR][LF]"
03:01:20.842314 < "PBSZ 0"
03:01:20.842348 > "500 PBSZ not implemented[CR][LF]"
03:01:20.843690 < "PROT C"
03:01:20.843731 > "500 PROT not implemented[CR][LF]"
03:01:20.845219 < "PWD"
03:01:20.845256 > "257 "/" is current directory[CR][LF]"
03:01:20.852367 < "CWD a"
03:01:20.852400 > "250 CWD command successful.[CR][LF]"
03:01:20.853976 < "CWD path"
03:01:20.854007 > "250 CWD command successful.[CR][LF]"
03:01:20.857611 < "EPSV"
03:01:20.857644 ====> Passive DATA channel requested by client
03:01:20.857657 DATA sockfilt for passive data channel starting...
03:01:20.859510 DATA sockfilt for passive data channel started (pid 12092)
03:01:20.859659 DATA sockfilt for passive data channel listens on port 37109
03:01:20.859725 > "229 Entering Passive Mode (|||37109|)[LF]"
03:01:20.859758 Client has been notified that DATA conn will be accepted on port 37109
03:01:20.866121 Client connects to port 37109
03:01:20.866159 ====> Client established passive DATA connection on port 37109
03:01:20.871691 < "TYPE I"
03:01:20.871754 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:20.873917 < "SIZE 407"
03:01:20.874093 > "213 11[CR][LF]"
03:01:20.877989 < "RETR 407"
03:01:20.878162 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:20.878237 =====> Closing passive DATA connection...
03:01:20.878261 Server disconnects passive DATA connection
03:01:20.878358 DATA sockfilt for passive data channel quits (pid 12093)
03:01:20.878378 =====> Closed passive DATA connection
03:01:20.878418 > "226 File transfer complete[CR][LF]"
03:01:20.979364 < "EPSV"
03:01:20.979404 ====> Passive DATA channel requested by client
03:01:20.979418 DATA sockfilt for passive data channel starting...
03:01:20.981512 DATA sockfilt for passive data channel started (pid 12094)
03:01:20.981654 DATA sockfilt for passive data channel listens on port 36333
03:01:20.981710 > "229 Entering Passive Mode (|||36333|)[LF]"
03:01:20.981734 Client has been notified that DATA conn will be accepted on port 36333
03:01:20.983250 Client connects to port 36333
03:01:20.983283 ====> Client established passive DATA connection on port 36333
03:01:20.984803 < "SIZE 407"
03:01:20.984967 > "213 11[CR][LF]"
03:01:20.986005 < "RETR 407"
03:01:20.986118 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:20.986199 =====> Closing passive DATA connection...
03:01:20.986230 Server disconnects passive DATA connection
03:01:20.986353 DATA sockfilt for passive data channel quits (pid 12095)
03:01:20.986384 =====> Closed passive DATA connection
03:01:20.986417 > "226 File transfer complete[CR][LF]"
03:01:21.000275 < "QUIT"
03:01:21.000310 > "221 bye bye baby[CR][LF]"
03:01:21.004910 MAIN sockfilt said DISC
03:01:21.004946 ====> Client disconnected
03:01:21.005001 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:21.602309 ====> Client connect
03:01:21.602503 Received DATA (on stdin)
03:01:21.602526 > 160 bytes data, server => client
03:01:21.602547 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:21.602563 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:21.602574 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:21.689474 < 16 bytes data, client => server
03:01:21.689520 'USER anonymous\r\n'
03:01:21.689666 Received DATA (on stdin)
03:01:21.689687 > 33 bytes data, server => client
03:01:21.689704 '331 We are happy you popped in!\r\n'
03:01:21.700557 < 22 bytes data, client => server
03:01:21.700588 'PASS ftp@example.com\r\n'
03:01:21.700669 Received DATA (on stdin)
03:01:21.700688 > 30 bytes data, server => client
03:01:21.700706 '230 Welcome you silly person\r\n'
03:01:21.702956 < 8 bytes data, client => server
03:01:21.702983 'PBSZ 0\r\n'
03:01:21.703057 Received DATA (on stdin)
03:01:21.703075 > 26 bytes data, server => client
03:01:21.703092 '500 PBSZ not implemented\r\n'
03:01:21.704345 < 8 bytes data, client => server
03:01:21.704370 'PROT C\r\n'
03:01:21.704440 Received DATA (on stdin)
03:01:21.704460 > 26 bytes data, server => client
03:01:21.704477 '500 PROT not implemented\r\n'
03:01:21.705867 < 5 bytes data, client => server
03:01:21.705894 'PWD\r\n'
03:01:21.705965 Received DATA (on stdin)
03:01:21.705983 > 30 bytes data, server => client
03:01:21.706001 '257 "/" is current directory\r\n'
03:01:21.713013 < 7 bytes data, client => server
03:01:21.713042 'CWD a\r\n'
03:01:21.713110 Received DATA (on stdin)
03:01:21.713129 > 29 bytes data, server => client
03:01:21.713147 '250 CWD command successful.\r\n'
03:01:21.714626 < 10 bytes data, client => server
03:01:21.714653 'CWD path\r\n'
03:01:21.714717 Received DATA (on stdin)
03:01:21.714735 > 29 bytes data, server => client
03:01:21.714752 '250 CWD command successful.\r\n'
03:01:21.718261 < 6 bytes data, client => server
03:01:21.718290 'EPSV\r\n'
03:01:21.720428 Received DATA (on stdin)
03:01:21.720461 > 38 bytes data, server => client
03:01:21.720491 '229 Entering Passive Mode (|||37109|)\n'
03:01:21.732171 < 8 bytes data, client => server
03:01:21.732212 'TYPE I\r\n'
03:01:21.732461 Received DATA (on stdin)
03:01:21.732483 > 33 bytes data, server => client
03:01:21.732499 '200 I modify TYPE as you wanted\r\n'
03:01:21.734564 < 10 bytes data, client => server
03:01:21.734589 'SIZE 407\r\n'
03:01:21.734823 Received DATA (on stdin)
03:01:21.734847 > 8 bytes data, server => client
03:01:21.734861 '213 11\r\n'
03:01:21.738602 < 10 bytes data, client => server
03:01:21.738626 'RETR 407\r\n'
03:01:21.738866 Received DATA (on stdin)
03:01:21.738880 > 51 bytes data, server => client
03:01:21.738892 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:21.739125 Received DATA (on stdin)
03:01:21.739141 > 28 bytes data, server => client
03:01:21.739153 '226 File transfer complete\r\n'
03:01:21.839948 < 6 bytes data, client => server
03:01:21.839983 'EPSV\r\n'
03:01:21.842437 Received DATA (on stdin)
03:01:21.842474 > 38 bytes data, server => client
03:01:21.842497 '229 Entering Passive Mode (|||36333|)\n'
03:01:21.845418 < 10 bytes data, client => server
03:01:21.845443 'SIZE 407\r\n'
03:01:21.845680 Received DATA (on stdin)
03:01:21.845702 > 8 bytes data, server => client
03:01:21.845718 '213 11\r\n'
03:01:21.846636 < 10 bytes data, client => server
03:01:21.846658 'RETR 407\r\n'
03:01:21.846830 Received DATA (on stdin)
03:01:21.846850 > 51 bytes data, server => client
03:01:21.846868 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:21.847127 Received DATA (on stdin)
03:01:21.847154 > 28 bytes data, server => client
03:01:21.847175 '226 File transfer complete\r\n'
03:01:21.860907 < 6 bytes data, client => server
03:01:21.860932 'QUIT\r\n'
03:01:21.861020 Received DATA (on stdin)
03:01:21.861040 > 18 bytes data, server => client
03:01:21.861056 '221 bye bye baby\r\n'
03:01:21.865554 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:20.719989 Running IPv4 version
03:01:20.720098 Listening on port 37109
03:01:20.720138 Wrote pid 12093 to ./.ftp_sockdata.pid
03:01:20.720159 Received PING (on stdin)
03:01:20.720291 Received PORT (on stdin)
03:01:20.726788 ====> Client connect
03:01:20.738930 Received DATA (on stdin)
03:01:20.738965 > 11 bytes data, server => client
03:01:20.738980 'data blobb\n'
03:01:20.739009 Received DISC (on stdin)
03:01:20.739022 ====> Client forcibly disconnected
03:01:20.739043 Received QUIT (on stdin)
03:01:20.739053 quits
03:01:20.739068 ============> sockfilt quits
03:01:20.842015 Running IPv4 version
03:01:20.842099 Listening on port 36333
03:01:20.842154 Wrote pid 12095 to ./.ftp_sockdata.pid
03:01:20.842178 Received PING (on stdin)
03:01:20.842273 Received PORT (on stdin)
03:01:20.843926 ====> Client connect
03:01:20.846860 Received DATA (on stdin)
03:01:20.846896 > 11 bytes data, server => client
03:01:20.846921 'data blobb\n'
03:01:20.846981 Received DISC (on stdin)
03:01:20.847005 ====> Client forcibly disconnected
03:01:20.847044 Received QUIT (on stdin)
03:01:20.847066 quits
03:01:20.847097 ============> 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 423 0 --:--:-- --:--:-- --:--:-- 916
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:01:18.513348 == Info: STATE: INIT => CONNECT handle 0x56c8a48; line 1491 (connection #-5000)
03:01:18.568546 == Info: Added connection 0. The cache now contains 1 members
03:01:18.585739 == Info: Trying 127.0.0.1:8993...
03:01:18.586346 == Info: TCP_NODELAY set
03:01:18.591502 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a48; line 1547 (connection #0)
03:01:18.603097 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:18.603733 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a48; line 1665 (connection #0)
03:01:18.604848 == Info: Marked for [keep alive]: FTP default
03:01:20.082955 == Info: successfully set certificate verify locations:
03:01:20.083216 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:20.196227 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:20.201446 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:20.201510 => Send SSL data, 126 bytes (0x7e)
0000: ...z..#.........qi.!....ZR ....R...C*.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:20.218384 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:20.223913 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:20.223971 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..M..}.......X.Ur....".-...}...... '............k8.C..>.7...
0040: .k[7F]v..]./................
03:01:20.269870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.270248 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:20.270306 <= 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:20.368829 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:20.369051 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:20.369109 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y....u!......).w.(.......=....(.ZS!.:.;.e..]..4v\..2....
0080: ,.!Bw}.......z..`...En......G...].:.K...(!.i..b.....pOH;y.zF$.<.
00c0: ..........r.r&..#./.m[..FZ1.....F..?..M...j.y.(l.#.E..[7F]Jezb...%.
0100: ..!2>\c..B.n9B.....F.Ns...J..x.......TW"H........b...[7F]q..6....Y.
0140: ^r{....rF..*%
03:01:20.438376 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.438585 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:20.438641 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:20.554972 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:20.555186 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:20.555246 => Send SSL data, 70 bytes (0x46)
0000: ...BA....{Kx...uu2m.4....?.z.p....B..b..-J.2...f.vU..1.,F......f
0040: .G...$
03:01:20.567117 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.567698 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:20.567756 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:20.588996 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:20.589055 => Send SSL data, 16 bytes (0x10)
0000: ......4.g....4|.
03:01:20.601462 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:20.603947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.605062 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:20.605123 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:20.607559 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:20.613193 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:20.613249 <= Recv SSL data, 16 bytes (0x10)
0000: ........u=ZSQ.w.
03:01:20.641499 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:20.643697 == Info: Server certificate:
03:01:20.651179 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:20.657323 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:20.658266 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:20.659195 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:20.660057 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:20.661550 == Info: FTP 0x579db20 (line 3092) state change from STOP to WAIT220
03:01:20.667530 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:20.675289 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:20.679427 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:20.679641 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:20.679826 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:20.680008 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:20.687780 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:20.690724 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:20.691513 == Info: FTP 0x579db20 (line 792) state change from WAIT220 to USER
03:01:20.692290 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8a48; line 1682 (connection #0)
03:01:20.698434 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:20.699100 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:20.700378 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.700511 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:20.700894 == Info: FTP 0x579db20 (line 2520) state change from USER to PASS
03:01:20.701907 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:20.702050 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:20.702799 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:20.702919 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:20.703246 == Info: FTP 0x579db20 (line 2496) state change from PASS to PBSZ
03:01:20.703538 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:20.703676 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:20.704215 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:20.704332 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:20.704668 == Info: FTP 0x579db20 (line 2709) state change from PBSZ to PROT
03:01:20.704912 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:20.705048 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:20.705714 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.705831 => Send header, 5 bytes (0x5)
0000: PWD
03:01:20.706156 == Info: FTP 0x579db20 (line 804) state change from PROT to PWD
03:01:20.706478 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:20.706614 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:20.707731 == Info: Entry path is '/'
03:01:20.707952 == Info: FTP 0x579db20 (line 2844) state change from PWD to STOP
03:01:20.708117 == Info: protocol connect phase DONE
03:01:20.708361 == Info: STATE: PROTOCONNECT => DO handle 0x56c8a48; line 1701 (connection #0)
03:01:20.711558 == Info: DO phase starts
03:01:20.712854 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.712975 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:20.713299 == Info: FTP 0x579db20 (line 895) state change from STOP to CWD
03:01:20.713707 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:20.713850 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:20.714474 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:20.714591 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:20.714917 == Info: ftp_perform ends with SECONDARY: 0
03:01:20.715632 == Info: STATE: DO => DOING handle 0x56c8a48; line 1743 (connection #0)
03:01:20.716557 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:20.716699 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:20.718106 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.718224 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:20.718560 == Info: FTP 0x579db20 (line 1330) state change from CWD to PASV
03:01:20.718758 == Info: Connect data stream passively
03:01:20.720787 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:20.720934 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||37109|).
03:01:20.726621 == Info: Trying 127.0.0.1:37109...
03:01:20.726684 == Info: TCP_NODELAY set
03:01:20.727380 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 37109
03:01:20.728511 == Info: FTP 0x579db20 (line 1977) state change from PASV to STOP
03:01:20.729058 == Info: DO phase is complete2
03:01:20.729319 == Info: STATE: DOING => DO_MORE handle 0x56c8a48; line 1825 (connection #0)
03:01:20.730263 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:20.730517 == Info: DO-MORE connected phase starts
03:01:20.731960 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:20.732108 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:20.732523 == Info: FTP 0x579db20 (line 3418) state change from STOP to RETR_TYPE
03:01:20.733018 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:20.733172 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:20.734387 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:20.734513 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:20.734857 == Info: FTP 0x579db20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:20.736520 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:20.736699 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:20.738406 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:20.738548 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:20.738910 == Info: FTP 0x579db20 (line 2229) state change from RETR_SIZE to RETR
03:01:20.739477 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:20.739909 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:20.741005 == Info: Maxdownload = -1
03:01:20.741240 == Info: Getting file with size: 11
03:01:20.742916 == Info: FTP 0x579db20 (line 477) state change from RETR to STOP
03:01:20.743544 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8a48; line 1850 (connection #0)
03:01:20.744003 == Info: STATE: DO_DONE => PERFORM handle 0x56c8a48; line 1877 (connection #0)
03:01:20.748188 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:20.753503 == Info: readwrite_data: we're done
03:01:20.753771 == Info: nread <= 0, server closed connection, bailing
03:01:20.754980 == Info: STATE: PERFORM => DONE handle 0x56c8a48; line 2067 (connection #0)
03:01:20.755304 == Info: multi_done
03:01:20.758205 == Info: Remembering we are in dir "a/path/"
03:01:20.781490 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:20.781915 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:20.794945 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:20.796803 == Info: Expire cleared (transfer 0x56c8a48)
03:01:20.823056 == Info: STATE: INIT => CONNECT handle 0x5722a78; line 1491 (connection #-5000)
03:01:20.827075 == Info: Found bundle for host 127.0.0.1: 0x57abb98 [serially]
03:01:20.835771 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:20.836608 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:20.836824 == Info: STATE: CONNECT => DO handle 0x5722a78; line 1540 (connection #0)
03:01:20.839094 == Info: Request has same path as previous transfer
03:01:20.839287 == Info: DO phase starts
03:01:20.839737 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:20.839888 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:20.840041 == Info: FTP 0x579db20 (line 1330) state change from STOP to PASV
03:01:20.840106 == Info: Connect data stream passively
03:01:20.840311 == Info: ftp_perform ends with SECONDARY: 0
03:01:20.840395 == Info: STATE: DO => DOING handle 0x5722a78; line 1743 (connection #0)
03:01:20.842782 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:20.842937 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||36333|).
03:01:20.843740 == Info: Trying 127.0.0.1:36333...
03:01:20.843805 == Info: TCP_NODELAY set
03:01:20.844123 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 36333
03:01:20.844284 == Info: FTP 0x579db20 (line 1977) state change from PASV to STOP
03:01:20.844346 == Info: DO phase is complete2
03:01:20.844431 == Info: STATE: DOING => DO_MORE handle 0x5722a78; line 1825 (connection #0)
03:01:20.844530 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:20.844596 == Info: DO-MORE connected phase starts
03:01:20.844826 == Info: FTP 0x579db20 (line 3413) state change from STOP to RETR_TYPE
03:01:20.845242 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:20.845366 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:20.845555 == Info: FTP 0x579db20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:20.846017 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:20.846158 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:20.846474 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:20.846589 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:20.846768 == Info: FTP 0x579db20 (line 2229) state change from RETR_SIZE to RETR
03:01:20.847190 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:20.847343 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:20.847608 == Info: Maxdownload = -1
03:01:20.847667 == Info: Getting file with size: 11
03:01:20.847739 == Info: FTP 0x579db20 (line 477) state change from RETR to STOP
03:01:20.847823 == Info: STATE: DO_MORE => DO_DONE handle 0x5722a78; line 1850 (connection #0)
03:01:20.847910 == Info: STATE: DO_DONE => PERFORM handle 0x5722a78; line 1877 (connection #0)
03:01:20.848023 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:20.848471 == Info: readwrite_data: we're done
03:01:20.848534 == Info: nread <= 0, server closed connection, bailing
03:01:20.848621 == Info: STATE: PERFORM => DONE handle 0x5722a78; line 2067 (connection #0)
03:01:20.848683 == Info: multi_done
03:01:20.848899 == Info: Remembering we are in dir "a/path/"
03:01:20.849551 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:20.849691 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:20.850527 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:20.850656 == Info: Expire cleared (transfer 0x5722a78)
=== End of file trace407
=== Start of file valgrind407
==12090== Invalid read of size 8
==12090== at 0x53335A5: check_free (dlerror.c:188)
==12090== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12090== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12090== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12090== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12090== by 0x4C4AEB9: exit (exit.c:139)
==12090== by 0x4C350A1: (below main) (libc-start.c:342)
==12090== Address 0x5b51a30 is 0 bytes after a block of size 32 alloc'd
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
==12090== Invalid free() / delete / delete[] / realloc()
==12090== at 0x48369AB: free (vg_replace_malloc.c:540)
==12090== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12090== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12090== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12090== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12090== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12090== by 0x4C4AEB9: exit (exit.c:139)
==12090== by 0x4C350A1: (below main) (libc-start.c:342)
==12090== Address 0x5b51a18 is 8 bytes inside a block of size 32 alloc'd
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
==12090== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12090== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12090== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12090== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12090== by 0x24AEEC: err_get_state (err.c:210)
==12090== by 0x24BAC2: ERR_put_error (err.c:636)
==12090== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12090== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12090== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12090== by 0x27010E: by_file_ctrl (by_file.c:111)
==12090== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12090== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12090== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12090== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12090== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12090== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12090== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12090==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 25
valgrind ERROR ==12098== Invalid read of size 8
==12098== at 0x53335A5: check_free (dlerror.c:188)
==12098== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12098== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12098== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12098== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12098== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12098== by 0x4C4AEB9: exit (exit.c:139)
==12098== by 0x4C350A1: (below main) (libc-start.c:342)
==12098== Address 0x5b356f0 is 0 bytes after a block of size 32 alloc'd
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
==12098== Invalid free() / delete / delete[] / realloc()
==12098== at 0x48369AB: free (vg_replace_malloc.c:540)
==12098== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12098== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12098== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12098== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12098== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12098== by 0x4C4AEB9: exit (exit.c:139)
==12098== by 0x4C350A1: (below main) (libc-start.c:342)
==12098== Address 0x5b356d8 is 8 bytes inside a block of size 32 alloc'd
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
==12098== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:24.164562 ====> Client connect
03:01:24.164679 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:24.252959 < "USER anonymous"
03:01:24.253007 > "331 We are happy you popped in![CR][LF]"
03:01:24.264079 < "PASS ftp@example.com"
03:01:24.264117 > "230 Welcome you silly person[CR][LF]"
03:01:24.266377 < "PBSZ 0"
03:01:24.266410 > "500 PBSZ not implemented[CR][LF]"
03:01:24.267741 < "PROT C"
03:01:24.267767 > "500 PROT not implemented[CR][LF]"
03:01:24.269267 < "PWD"
03:01:24.269297 > "257 "/" is current directory[CR][LF]"
03:01:24.276518 < "CWD CWD"
03:01:24.276553 > "250 CWD command successful.[CR][LF]"
03:01:24.278129 < "CWD STOR"
03:01:24.278153 > "250 CWD command successful.[CR][LF]"
03:01:24.280743 < "CWD RETR"
03:01:24.280767 > "250 CWD command successful.[CR][LF]"
03:01:24.288573 < "EPRT |1|127.0.0.1|60701|"
03:01:24.288609 ====> Active DATA channel requested by client
03:01:24.288650 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:24.288677 DATA sockfilt for active data channel starting...
03:01:24.290813 DATA sockfilt for active data channel started (pid 12100)
03:01:24.290852 ====> Active DATA channel connected to client port 60701
03:01:24.295520 < "TYPE I"
03:01:24.295573 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:24.297871 < "STOR 408"
03:01:24.297893 STOR test number 408 in log/upload.408
03:01:24.297913 > "125 Gimme gimme gimme![CR][LF]"
03:01:24.310684 > Appending 27 bytes to file
03:01:24.318708 =====> Closing active DATA connection...
03:01:24.318727 Server knows active DATA connection is already disconnected
03:01:24.318772 DATA sockfilt for active data channel quits (pid 12101)
03:01:24.318787 =====> Closed active DATA connection
03:01:24.318802 received 27 bytes upload
03:01:24.318824 > "226 File transfer complete[CR][LF]"
03:01:24.347552 < "QUIT"
03:01:24.347588 > "221 bye bye baby[CR][LF]"
03:01:24.352076 MAIN sockfilt said DISC
03:01:24.352099 ====> Client disconnected
03:01:24.352137 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:25.025162 ====> Client connect
03:01:25.025382 Received DATA (on stdin)
03:01:25.025399 > 160 bytes data, server => client
03:01:25.025413 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:25.025424 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:25.025434 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:25.113535 < 16 bytes data, client => server
03:01:25.113574 'USER anonymous\r\n'
03:01:25.113737 Received DATA (on stdin)
03:01:25.113762 > 33 bytes data, server => client
03:01:25.113777 '331 We are happy you popped in!\r\n'
03:01:25.124698 < 22 bytes data, client => server
03:01:25.124723 'PASS ftp@example.com\r\n'
03:01:25.124848 Received DATA (on stdin)
03:01:25.124871 > 30 bytes data, server => client
03:01:25.124886 '230 Welcome you silly person\r\n'
03:01:25.127027 < 8 bytes data, client => server
03:01:25.127049 'PBSZ 0\r\n'
03:01:25.127141 Received DATA (on stdin)
03:01:25.127164 > 26 bytes data, server => client
03:01:25.127179 '500 PBSZ not implemented\r\n'
03:01:25.128414 < 8 bytes data, client => server
03:01:25.128436 'PROT C\r\n'
03:01:25.128498 Received DATA (on stdin)
03:01:25.128520 > 26 bytes data, server => client
03:01:25.128535 '500 PROT not implemented\r\n'
03:01:25.129941 < 5 bytes data, client => server
03:01:25.129963 'PWD\r\n'
03:01:25.130028 Received DATA (on stdin)
03:01:25.130051 > 30 bytes data, server => client
03:01:25.130066 '257 "/" is current directory\r\n'
03:01:25.137181 < 9 bytes data, client => server
03:01:25.137203 'CWD CWD\r\n'
03:01:25.137284 Received DATA (on stdin)
03:01:25.137307 > 29 bytes data, server => client
03:01:25.137322 '250 CWD command successful.\r\n'
03:01:25.138803 < 10 bytes data, client => server
03:01:25.138825 'CWD STOR\r\n'
03:01:25.138877 Received DATA (on stdin)
03:01:25.138890 > 29 bytes data, server => client
03:01:25.138905 '250 CWD command successful.\r\n'
03:01:25.141420 < 10 bytes data, client => server
03:01:25.141442 'CWD RETR\r\n'
03:01:25.141496 Received DATA (on stdin)
03:01:25.141519 > 29 bytes data, server => client
03:01:25.141534 '250 CWD command successful.\r\n'
03:01:25.149228 < 26 bytes data, client => server
03:01:25.149262 'EPRT |1|127.0.0.1|60701|\r\n'
03:01:25.149377 Received DATA (on stdin)
03:01:25.149411 > 50 bytes data, server => client
03:01:25.149435 '200 Thanks for dropping by. We contact you later\r\n'
03:01:25.156150 < 8 bytes data, client => server
03:01:25.156184 'TYPE I\r\n'
03:01:25.156276 Received DATA (on stdin)
03:01:25.156293 > 33 bytes data, server => client
03:01:25.156308 '200 I modify TYPE as you wanted\r\n'
03:01:25.158547 < 10 bytes data, client => server
03:01:25.158569 'STOR 408\r\n'
03:01:25.158644 Received DATA (on stdin)
03:01:25.158667 > 24 bytes data, server => client
03:01:25.158681 '125 Gimme gimme gimme!\r\n'
03:01:25.179536 Received DATA (on stdin)
03:01:25.179557 > 28 bytes data, server => client
03:01:25.179573 '226 File transfer complete\r\n'
03:01:25.208195 < 6 bytes data, client => server
03:01:25.208222 'QUIT\r\n'
03:01:25.208297 Received DATA (on stdin)
03:01:25.208309 > 18 bytes data, server => client
03:01:25.208319 '221 bye bye baby\r\n'
03:01:25.212757 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:24.151311 ====> Client connect
03:01:24.151421 Running IPv4 version
03:01:24.151436 Connected to port 60701
03:01:24.151469 Wrote pid 12101 to ./.ftp_sockdata.pid
03:01:24.151491 Received PING (on stdin)
03:01:24.171361 < 27 bytes data, client => server
03:01:24.171386 'Moooooooooooo\n upload this\n'
03:01:24.179334 ====> Client disconnect
03:01:24.179383 disconnected, no socket to read on
03:01:24.179478 Received QUIT (on stdin)
03:01:24.179500 quits
03:01:24.179516 ============> 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|60701|
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 12 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:22.940523 == Info: STATE: INIT => CONNECT handle 0x56cb408; line 1491 (connection #-5000)
03:01:22.995017 == Info: Added connection 0. The cache now contains 1 members
03:01:23.012800 == Info: Trying 127.0.0.1:8993...
03:01:23.013416 == Info: TCP_NODELAY set
03:01:23.018792 == Info: STATE: CONNECT => WAITCONNECT handle 0x56cb408; line 1547 (connection #0)
03:01:23.030521 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:23.031085 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56cb408; line 1665 (connection #0)
03:01:23.032191 == Info: Marked for [keep alive]: FTP default
03:01:24.497010 == Info: successfully set certificate verify locations:
03:01:24.497316 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:24.612039 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:24.617219 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:24.617286 => Send SSL data, 126 bytes (0x7e)
0000: ...z...,.[7F]..tB...\I...Y?.W...........l....+./.,.0...............
0040: ../.5.....3...................................................
03:01:24.634264 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:24.639915 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:24.639973 <= Recv SSL data, 89 bytes (0x59)
0000: ...U......>.v.\M.~%mL...W...P...4.K.n] .e^.Y........Y.......}=..
0040: W...w.../................
03:01:24.684112 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.684475 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:24.684533 <= 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:24.786640 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:24.786872 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:24.786931 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y....b.@D2....%M.`..._.S.>.3a..0r....."+...2....b.....e)
0080: .I.ye...........8.....L.G._...O...)@*..d......_...]...+..N7.Ua..
00c0: ...g3n.b...+YzW(........@.M......%..n.....eI. ......l.w/....+.I.
0100: ~]h......."..<.!...........:.....e...]ryf3.....l.4\....U.#M.....
0140: r/V.0KM.....R
03:01:24.859014 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.859239 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:24.859302 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:24.976858 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:24.977063 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:24.977120 => Send SSL data, 70 bytes (0x46)
0000: ...BA.J;....@/...)....&..Dz^..G..)...u.... ..Y....X.J.V.E._....1
0040: .vT ..
03:01:24.989266 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:24.989869 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:24.989928 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:25.011730 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:25.011801 => Send SSL data, 16 bytes (0x10)
0000: ......|..$.....h
03:01:25.024335 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.027032 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:25.028125 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:25.028186 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:25.030643 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.036531 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:25.036598 <= Recv SSL data, 16 bytes (0x10)
0000: ....R.>.L..X.?..
03:01:25.065344 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:25.067547 == Info: Server certificate:
03:01:25.075287 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:25.081534 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:25.082490 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:25.083421 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:25.084284 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:25.085782 == Info: FTP 0x5781790 (line 3092) state change from STOP to WAIT220
03:01:25.091891 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:25.099563 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:25.103400 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:25.103596 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:25.103780 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:25.103960 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:25.111714 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.114785 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:25.115567 == Info: FTP 0x5781790 (line 792) state change from WAIT220 to USER
03:01:25.116326 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56cb408; line 1682 (connection #0)
03:01:25.122564 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:25.123262 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:25.124528 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.124651 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:25.125030 == Info: FTP 0x5781790 (line 2520) state change from USER to PASS
03:01:25.126039 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:25.126180 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:25.126868 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.126986 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:25.127313 == Info: FTP 0x5781790 (line 2496) state change from PASS to PBSZ
03:01:25.127601 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:25.127737 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:25.128272 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.128387 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:25.128724 == Info: FTP 0x5781790 (line 2709) state change from PBSZ to PROT
03:01:25.128964 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:25.129098 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:25.129759 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.129875 => Send header, 5 bytes (0x5)
0000: PWD
03:01:25.130195 == Info: FTP 0x5781790 (line 804) state change from PROT to PWD
03:01:25.130517 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:25.130652 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:25.131763 == Info: Entry path is '/'
03:01:25.131986 == Info: FTP 0x5781790 (line 2844) state change from PWD to STOP
03:01:25.132150 == Info: protocol connect phase DONE
03:01:25.132393 == Info: STATE: PROTOCONNECT => DO handle 0x56cb408; line 1701 (connection #0)
03:01:25.135833 == Info: DO phase starts
03:01:25.136995 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.137115 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:25.137443 == Info: FTP 0x5781790 (line 895) state change from STOP to CWD
03:01:25.137851 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:25.137992 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:25.138623 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.138739 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:25.139066 == Info: ftp_perform ends with SECONDARY: 0
03:01:25.139796 == Info: STATE: DO => DOING handle 0x56cb408; line 1743 (connection #0)
03:01:25.140711 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:25.140855 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:25.141240 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.141355 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:25.141943 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:25.142081 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:25.148977 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:25.149155 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|60701|
03:01:25.149993 == Info: FTP 0x5781790 (line 1293) state change from CWD to PORT
03:01:25.150782 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:25.151303 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:25.152068 == Info: Connect data stream actively
03:01:25.152396 == Info: FTP 0x5781790 (line 2011) state change from PORT to STOP
03:01:25.153473 == Info: DO phase is complete2
03:01:25.153861 == Info: STATE: DOING => DO_MORE handle 0x56cb408; line 1825 (connection #0)
03:01:25.155894 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.156071 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:25.156559 == Info: FTP 0x5781790 (line 3418) state change from STOP to STOR_TYPE
03:01:25.156949 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:25.157089 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:25.158364 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.158481 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:25.158816 == Info: FTP 0x5781790 (line 1651) state change from STOR_TYPE to STOR
03:01:25.160172 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:25.160311 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:25.160830 == Info: FTP 0x5781790 (line 2330) state change from STOR to STOP
03:01:25.161015 == Info: Preparing for accepting server on data port
03:01:25.162069 == Info: Checking for server connect
03:01:25.162928 == Info: Ready to accept data connection from server
03:01:25.164695 == Info: Connection accepted from server
03:01:25.167304 == Info: STATE: DO_MORE => DO_DONE handle 0x56cb408; line 1850 (connection #0)
03:01:25.167737 == Info: STATE: DO_DONE => PERFORM handle 0x56cb408; line 1877 (connection #0)
03:01:25.171878 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:25.172482 == Info: We are completely uploaded and fine
03:01:25.174962 == Info: STATE: PERFORM => DONE handle 0x56cb408; line 2067 (connection #0)
03:01:25.175288 == Info: multi_done
03:01:25.177954 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:25.181054 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:25.181199 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:25.187330 == 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
==12098== Invalid read of size 8
==12098== at 0x53335A5: check_free (dlerror.c:188)
==12098== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12098== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12098== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12098== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12098== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12098== by 0x4C4AEB9: exit (exit.c:139)
==12098== by 0x4C350A1: (below main) (libc-start.c:342)
==12098== Address 0x5b356f0 is 0 bytes after a block of size 32 alloc'd
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
==12098== Invalid free() / delete / delete[] / realloc()
==12098== at 0x48369AB: free (vg_replace_malloc.c:540)
==12098== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12098== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12098== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12098== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12098== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12098== by 0x4C4AEB9: exit (exit.c:139)
==12098== by 0x4C350A1: (below main) (libc-start.c:342)
==12098== Address 0x5b356d8 is 8 bytes inside a block of size 32 alloc'd
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
==12098== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12098== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12098== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12098== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12098== by 0x24AEEC: err_get_state (err.c:210)
==12098== by 0x24BAC2: ERR_put_error (err.c:636)
==12098== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12098== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12098== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12098== by 0x27010E: by_file_ctrl (by_file.c:111)
==12098== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12098== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12098== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12098== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12098== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12098== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12098== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12098==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 26
valgrind ERROR ==12104== Invalid read of size 8
==12104== at 0x53335A5: check_free (dlerror.c:188)
==12104== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12104== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12104== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12104== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12104== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12104== by 0x4C4AEB9: exit (exit.c:139)
==12104== by 0x4C350A1: (below main) (libc-start.c:342)
==12104== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
==12104== Invalid free() / delete / delete[] / realloc()
==12104== at 0x48369AB: free (vg_replace_malloc.c:540)
==12104== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12104== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12104== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12104== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12104== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12104== by 0x4C4AEB9: exit (exit.c:139)
==12104== by 0x4C350A1: (below main) (libc-start.c:342)
==12104== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
==12104== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:27.532046 ====> Client connect
03:01:27.532180 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:27.619136 < "USER anonymous"
03:01:27.619197 > "331 We are happy you popped in![CR][LF]"
03:01:27.630257 < "PASS ftp@example.com"
03:01:27.630308 > "230 Welcome you silly person[CR][LF]"
03:01:27.632672 < "PBSZ 0"
03:01:27.632718 > "500 PBSZ not implemented[CR][LF]"
03:01:27.634114 < "PROT C"
03:01:27.634155 > "500 PROT not implemented[CR][LF]"
03:01:27.635676 < "PWD"
03:01:27.635728 > "257 "/" is current directory[CR][LF]"
03:01:27.643098 < "EPSV"
03:01:27.643140 ====> Passive DATA channel requested by client
03:01:27.643162 DATA sockfilt for passive data channel starting...
03:01:27.644938 DATA sockfilt for passive data channel started (pid 12107)
03:01:27.645042 DATA sockfilt for passive data channel listens on port 43097
03:01:27.645094 > "229 Entering Passive Mode (|||43097|)[LF]"
03:01:27.645119 Client has been notified that DATA conn will be accepted on port 43097
03:01:27.652225 Client connects to port 43097
03:01:27.652265 ====> Client established passive DATA connection on port 43097
03:01:27.657183 < "TYPE I"
03:01:27.657229 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:27.659463 < "STOR 409"
03:01:27.659495 STOR test number 409 in log/upload.409
03:01:27.659527 > "125 Gimme gimme gimme![CR][LF]"
03:01:27.668287 > Appending 51 bytes to file
03:01:27.676638 =====> Closing passive DATA connection...
03:01:27.676666 Server knows passive DATA connection is already disconnected
03:01:27.676731 DATA sockfilt for passive data channel quits (pid 12108)
03:01:27.676756 =====> Closed passive DATA connection
03:01:27.676781 received 51 bytes upload
03:01:27.676814 > "226 File transfer complete[CR][LF]"
03:01:27.706709 < "QUIT"
03:01:27.706760 > "221 bye bye baby[CR][LF]"
03:01:27.711262 MAIN sockfilt said DISC
03:01:27.711297 ====> Client disconnected
03:01:27.711352 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:28.392665 ====> Client connect
03:01:28.392905 Received DATA (on stdin)
03:01:28.392931 > 160 bytes data, server => client
03:01:28.392949 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:28.392969 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:28.392987 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:28.479696 < 16 bytes data, client => server
03:01:28.479733 'USER anonymous\r\n'
03:01:28.479902 Received DATA (on stdin)
03:01:28.479915 > 33 bytes data, server => client
03:01:28.479926 '331 We are happy you popped in!\r\n'
03:01:28.490890 < 22 bytes data, client => server
03:01:28.490918 'PASS ftp@example.com\r\n'
03:01:28.491012 Received DATA (on stdin)
03:01:28.491023 > 30 bytes data, server => client
03:01:28.491033 '230 Welcome you silly person\r\n'
03:01:28.493318 < 8 bytes data, client => server
03:01:28.493339 'PBSZ 0\r\n'
03:01:28.493424 Received DATA (on stdin)
03:01:28.493435 > 26 bytes data, server => client
03:01:28.493446 '500 PBSZ not implemented\r\n'
03:01:28.494768 < 8 bytes data, client => server
03:01:28.494780 'PROT C\r\n'
03:01:28.494861 Received DATA (on stdin)
03:01:28.494871 > 26 bytes data, server => client
03:01:28.494881 '500 PROT not implemented\r\n'
03:01:28.496331 < 5 bytes data, client => server
03:01:28.496354 'PWD\r\n'
03:01:28.496455 Received DATA (on stdin)
03:01:28.496479 > 30 bytes data, server => client
03:01:28.496494 '257 "/" is current directory\r\n'
03:01:28.503748 < 6 bytes data, client => server
03:01:28.503769 'EPSV\r\n'
03:01:28.505798 Received DATA (on stdin)
03:01:28.505814 > 38 bytes data, server => client
03:01:28.505825 '229 Entering Passive Mode (|||43097|)\n'
03:01:28.517824 < 8 bytes data, client => server
03:01:28.517847 'TYPE I\r\n'
03:01:28.517957 Received DATA (on stdin)
03:01:28.517979 > 33 bytes data, server => client
03:01:28.517995 '200 I modify TYPE as you wanted\r\n'
03:01:28.520117 < 10 bytes data, client => server
03:01:28.520139 'STOR 409\r\n'
03:01:28.520250 Received DATA (on stdin)
03:01:28.520263 > 24 bytes data, server => client
03:01:28.520284 '125 Gimme gimme gimme!\r\n'
03:01:28.537544 Received DATA (on stdin)
03:01:28.537568 > 28 bytes data, server => client
03:01:28.537584 '226 File transfer complete\r\n'
03:01:28.567334 < 6 bytes data, client => server
03:01:28.567361 'QUIT\r\n'
03:01:28.567488 Received DATA (on stdin)
03:01:28.567512 > 18 bytes data, server => client
03:01:28.567526 '221 bye bye baby\r\n'
03:01:28.571939 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:27.505487 Running IPv4 version
03:01:27.505568 Listening on port 43097
03:01:27.505601 Wrote pid 12108 to ./.ftp_sockdata.pid
03:01:27.505618 Received PING (on stdin)
03:01:27.505689 Received PORT (on stdin)
03:01:27.512905 ====> Client connect
03:01:27.528959 < 51 bytes data, client => server
03:01:27.528986 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:27.537249 ====> Client disconnect
03:01:27.537407 Received QUIT (on stdin)
03:01:27.537422 quits
03:01:27.537438 ============> 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:25.295462 == Info: STATE: INIT => CONNECT handle 0x56caf38; line 1491 (connection #-5000)
03:01:25.349858 == Info: Added connection 0. The cache now contains 1 members
03:01:25.367082 == Info: Trying 127.0.0.1:8993...
03:01:25.367689 == Info: TCP_NODELAY set
03:01:25.372797 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caf38; line 1547 (connection #0)
03:01:25.384426 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:25.384991 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caf38; line 1665 (connection #0)
03:01:25.386098 == Info: Marked for [keep alive]: FTP default
03:01:26.871992 == Info: successfully set certificate verify locations:
03:01:26.872252 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:26.985017 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:26.990213 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:26.990279 => Send SSL data, 126 bytes (0x7e)
0000: ...z...m.].[7F]..8........N.........Uq..6....+./.,.0...............
0040: ../.5.....3...................................................
03:01:27.007399 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:27.012972 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:27.013030 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.........E..yx..:..`.!...k_.R{.... .s2..3.........K....z.H..
0040: ....)J../................
03:01:27.058088 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.058462 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:27.058521 <= 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:27.157123 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:27.157355 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:27.157412 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.......*6....npN.k..ZT...Kc..p../....6..|o.y.j....s.....
0040: ^.2.....Y....%fmR?.1.98.O'dVb......7...0.....!6E...[.w.#.8.!.N..
0080: .6..w.{.1..z..a..(...EQ1l.%..............m....=.U..|g........8..
00c0: >...^..c....?.*J.\8...-.j..~......u....X.........A.@.Q....*=wTf.
0100: .H.?.;.^S.L.{c..1.)->M._q*..(.....X.&.j....Wl`p.........(0......
0140: f?^ .2.......
03:01:27.226913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.227123 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:27.227179 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:27.345305 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:27.345518 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:27.345578 => Send SSL data, 70 bytes (0x46)
0000: ...BA...sV....F"..j..W...v.......0..Q....='..u.........yZo(.....
0040: #....0
03:01:27.357425 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.358002 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:27.358058 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:27.379351 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:27.379408 => Send SSL data, 16 bytes (0x10)
0000: ......Z.k#.....S
03:01:27.391788 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:27.394413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.395498 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:27.395557 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:27.397989 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:27.403639 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:27.403694 <= Recv SSL data, 16 bytes (0x10)
0000: ......[7F]....R....
03:01:27.431989 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:27.434184 == Info: Server certificate:
03:01:27.441806 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:27.448066 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:27.449019 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:27.449947 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:27.450810 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:27.452329 == Info: FTP 0x5780e00 (line 3092) state change from STOP to WAIT220
03:01:27.458317 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:27.465995 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:27.469734 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:27.469930 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:27.470115 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:27.470320 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:27.478074 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:27.481079 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:27.481864 == Info: FTP 0x5780e00 (line 792) state change from WAIT220 to USER
03:01:27.482623 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56caf38; line 1682 (connection #0)
03:01:27.488780 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:27.489442 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:27.490716 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.490840 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:27.491273 == Info: FTP 0x5780e00 (line 2520) state change from USER to PASS
03:01:27.492309 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:27.492458 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:27.493150 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:27.493274 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:27.493648 == Info: FTP 0x5780e00 (line 2496) state change from PASS to PBSZ
03:01:27.493941 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:27.494077 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:27.494613 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:27.494728 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:27.495107 == Info: FTP 0x5780e00 (line 2709) state change from PBSZ to PROT
03:01:27.495347 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:27.495482 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:27.496149 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.496265 => Send header, 5 bytes (0x5)
0000: PWD
03:01:27.496635 == Info: FTP 0x5780e00 (line 804) state change from PROT to PWD
03:01:27.496962 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:27.497098 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:27.498219 == Info: Entry path is '/'
03:01:27.498441 == Info: FTP 0x5780e00 (line 2844) state change from PWD to STOP
03:01:27.498605 == Info: protocol connect phase DONE
03:01:27.498854 == Info: STATE: PROTOCONNECT => DO handle 0x56caf38; line 1701 (connection #0)
03:01:27.501512 == Info: DO phase starts
03:01:27.503585 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:27.503706 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:27.504157 == Info: FTP 0x5780e00 (line 1330) state change from STOP to PASV
03:01:27.504377 == Info: Connect data stream passively
03:01:27.505204 == Info: ftp_perform ends with SECONDARY: 0
03:01:27.505998 == Info: STATE: DO => DOING handle 0x56caf38; line 1743 (connection #0)
03:01:27.506905 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:27.507058 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43097|).
03:01:27.512730 == Info: Trying 127.0.0.1:43097...
03:01:27.512800 == Info: TCP_NODELAY set
03:01:27.513524 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43097
03:01:27.514631 == Info: FTP 0x5780e00 (line 1977) state change from PASV to STOP
03:01:27.515259 == Info: DO phase is complete2
03:01:27.515686 == Info: STATE: DOING => DO_MORE handle 0x56caf38; line 1825 (connection #0)
03:01:27.516397 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:27.516619 == Info: DO-MORE connected phase starts
03:01:27.517634 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:27.517757 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:27.518148 == Info: FTP 0x5780e00 (line 3418) state change from STOP to STOR_TYPE
03:01:27.518527 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:27.518667 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:27.519937 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:27.520054 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:27.520454 == Info: FTP 0x5780e00 (line 1651) state change from STOR_TYPE to STOR
03:01:27.522190 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:27.522332 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:27.524127 == Info: FTP 0x5780e00 (line 477) state change from STOR to STOP
03:01:27.524847 == Info: STATE: DO_MORE => DO_DONE handle 0x56caf38; line 1850 (connection #0)
03:01:27.525304 == Info: STATE: DO_DONE => PERFORM handle 0x56caf38; line 1877 (connection #0)
03:01:27.529509 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:27.530188 == Info: We are completely uploaded and fine
03:01:27.532615 == Info: STATE: PERFORM => DONE handle 0x56caf38; line 2067 (connection #0)
03:01:27.532937 == Info: multi_done
03:01:27.535749 == Info: Remembering we are in dir ""
03:01:27.539246 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:27.539393 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:27.545429 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:27.547268 == Info: Expire cleared (transfer 0x56caf38)
=== 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
==12104== Invalid read of size 8
==12104== at 0x53335A5: check_free (dlerror.c:188)
==12104== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12104== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12104== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12104== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12104== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12104== by 0x4C4AEB9: exit (exit.c:139)
==12104== by 0x4C350A1: (below main) (libc-start.c:342)
==12104== Address 0x5b34d00 is 0 bytes after a block of size 32 alloc'd
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
==12104== Invalid free() / delete / delete[] / realloc()
==12104== at 0x48369AB: free (vg_replace_malloc.c:540)
==12104== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12104== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12104== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12104== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12104== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12104== by 0x4C4AEB9: exit (exit.c:139)
==12104== by 0x4C350A1: (below main) (libc-start.c:342)
==12104== Address 0x5b34ce8 is 8 bytes inside a block of size 32 alloc'd
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
==12104== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12104== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12104== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==12104== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==12104== by 0x24AEEC: err_get_state (err.c:210)
==12104== by 0x24BAC2: ERR_put_error (err.c:636)
==12104== by 0x260762: PEM_read_bio (pem_lib.c:622)
==12104== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==12104== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==12104== by 0x27010E: by_file_ctrl (by_file.c:111)
==12104== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==12104== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==12104== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12104== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==12104== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==12104== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==12104== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==12104==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (357 out of 1251, remaining: 25:03, took 1.1s, duration: 10:00)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (358 out of 1251, remaining: 24:59, took 0.9s, duration: 10:01)
test 0502...[simple multi file:// get]
---d---emv- OK (359 out of 1251, remaining: 24:56, took 1.0s, duration: 10:02)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (360 out of 1251, remaining: 24:54, took 1.6s, duration: 10:03)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (361 out of 1251, remaining: 24:50, took 1.0s, duration: 10:04)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (362 out of 1251, remaining: 24:47, took 1.1s, duration: 10:05)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (363 out of 1251, remaining: 24:44, took 1.2s, duration: 10:06)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (364 out of 1251, remaining: 24:41, took 1.0s, duration: 10:07)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (365 out of 1251, remaining: 24:38, took 1.1s, duration: 10:09)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (366 out of 1251, remaining: 24:34, took 0.9s, duration: 10:09)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (367 out of 1251, remaining: 24:34, took 2.1s, duration: 10:12)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (368 out of 1251, remaining: 24:30, took 1.0s, duration: 10:13)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (369 out of 1251, remaining: 24:27, took 1.1s, duration: 10:14)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (370 out of 1251, remaining: 24:27, took 2.0s, duration: 10:16)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (371 out of 1251, remaining: 24:26, took 2.0s, duration: 10:18)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (372 out of 1251, remaining: 24:23, took 1.1s, duration: 10:19)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (373 out of 1251, remaining: 24:20, took 1.1s, duration: 10:20)
test 0517...[curl_getdate() testing]
-------emv- OK (374 out of 1251, remaining: 24:16, took 0.8s, duration: 10:21)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (375 out of 1251, remaining: 24:11, took 0.0s, duration: 10:21)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (376 out of 1251, remaining: 24:08, took 1.1s, duration: 10:22)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (377 out of 1251, remaining: 24:05, took 1.1s, duration: 10:23)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (378 out of 1251, remaining: 24:02, took 1.1s, duration: 10:24)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (379 out of 1251, remaining: 23:59, took 1.1s, duration: 10:25)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (380 out of 1251, remaining: 23:56, took 1.1s, duration: 10:26)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (381 out of 1251, remaining: 23:53, took 1.0s, duration: 10:27)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (382 out of 1251, remaining: 23:50, took 1.1s, duration: 10:28)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1251, remaining: 23:54, took 4.2s, duration: 10:32)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (384 out of 1251, remaining: 23:58, took 4.2s, duration: 10:37)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (385 out of 1251, remaining: 24:02, took 4.1s, duration: 10:41)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (386 out of 1251, remaining: 23:59, took 1.1s, duration: 10:42)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (387 out of 1251, remaining: 23:56, took 1.0s, duration: 10:43)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (388 out of 1251, remaining: 23:59, took 4.2s, duration: 10:47)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (389 out of 1251, remaining: 23:59, took 2.1s, duration: 10:49)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (390 out of 1251, remaining: 23:58, took 2.1s, duration: 10:51)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (391 out of 1251, remaining: 23:57, took 2.1s, duration: 10:53)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (392 out of 1251, remaining: 23:55, took 1.6s, duration: 10:55)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (393 out of 1251, remaining: 23:52, took 1.0s, duration: 10:56)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (394 out of 1251, remaining: 23:49, took 1.1s, duration: 10:57)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (395 out of 1251, remaining: 23:46, took 1.1s, duration: 10:58)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (396 out of 1251, remaining: 23:43, took 1.1s, duration: 10:59)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (397 out of 1251, remaining: 23:40, took 1.1s, duration: 11:00)
test 0543...[curl_easy_escape]
s------emv- OK (398 out of 1251, remaining: 23:37, took 0.9s, duration: 11:01)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (399 out of 1251, remaining: 23:34, took 1.0s, duration: 11:02)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (400 out of 1251, remaining: 23:31, took 1.1s, duration: 11:03)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (401 out of 1251, remaining: 23:30, took 2.1s, duration: 11:05)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (402 out of 1251, remaining: 23:28, took 1.2s, duration: 11:06)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (403 out of 1251, remaining: 23:25, took 1.2s, duration: 11:07)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (404 out of 1251, remaining: 23:22, took 1.0s, duration: 11:09)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (405 out of 1251, remaining: 23:19, took 1.1s, duration: 11:10)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (406 out of 1251, remaining: 23:16, took 1.1s, duration: 11:11)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (407 out of 1251, remaining: 23:21, took 4.6s, duration: 11:15)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (408 out of 1251, remaining: 23:18, took 1.1s, duration: 11:16)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (409 out of 1251, remaining: 23:15, took 1.2s, duration: 11:18)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (410 out of 1251, remaining: 23:13, took 1.2s, duration: 11:19)
test 0556...[send and recv HTTP]
--pd---emv- OK (411 out of 1251, remaining: 23:10, took 1.0s, duration: 11:20)
test 0557...[curl_mprintf() testing]
s------emv- OK (412 out of 1251, remaining: 23:07, took 0.9s, duration: 11:21)
test 0558...[libtest memory tracking operational]
------oemv- OK (413 out of 1251, remaining: 23:03, took 0.8s, duration: 11:21)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (414 out of 1251, remaining: 23:00, took 1.0s, duration: 11:23)
test 0560...[simple HTTPS GET with multi interface]
goto problem 27
valgrind ERROR ==12365== Invalid read of size 8
==12365== at 0x53335A5: check_free (dlerror.c:188)
==12365== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12365== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12365== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12365== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12365== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12365== by 0x4C4AEB9: exit (exit.c:139)
==12365== by 0x4C350A1: (below main) (libc-start.c:342)
==12365== Address 0x5a9b540 is 0 bytes after a block of size 32 alloc'd
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
==12365== Invalid free() / delete / delete[] / realloc()
==12365== at 0x48369AB: free (vg_replace_malloc.c:540)
==12365== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12365== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12365== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12365== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12365== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12365== by 0x4C4AEB9: exit (exit.c:139)
==12365== by 0x4C350A1: (below main) (libc-start.c:342)
==12365== Address 0x5a9b528 is 8 bytes inside a block of size 32 alloc'd
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
==12365== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:02:55.497890 ====> Client connect
03:02:55.497934 accept_connection 3 returned 4
03:02:55.497950 accept_connection 3 returned 0
03:02:55.575830 Read 56 bytes
03:02:55.575866 Process 56 bytes request
03:02:55.575880 Got request: GET /560 HTTP/1.1
03:02:55.575890 Requested test number 560 part 0
03:02:55.575915 - request found to be complete
03:02:55.575941 Wrote request (56 bytes) input to log/server.input
03:02:55.575961 Send response test560 section <data>
03:02:55.576032 Response sent (108 bytes) and written to log/server.response
03:02:55.576043 => persistent connection request ended, awaits new request
03:02:55.627934 Connection closed by client
03:02:55.627968 ====> 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
==12365== Invalid read of size 8
==12365== at 0x53335A5: check_free (dlerror.c:188)
==12365== by 0x5333AB1: free_key_mem (dlerror.c:221)
==12365== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==12365== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12365== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12365== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12365== by 0x4C4AEB9: exit (exit.c:139)
==12365== by 0x4C350A1: (below main) (libc-start.c:342)
==12365== Address 0x5a9b540 is 0 bytes after a block of size 32 alloc'd
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
==12365== Invalid free() / delete / delete[] / realloc()
==12365== at 0x48369AB: free (vg_replace_malloc.c:540)
==12365== by 0x5333AB9: free_key_mem (dlerror.c:223)
==12365== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==12365== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==12365== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==12365== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==12365== by 0x4C4AEB9: exit (exit.c:139)
==12365== by 0x4C350A1: (below main) (libc-start.c:342)
==12365== Address 0x5a9b528 is 8 bytes inside a block of size 32 alloc'd
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
==12365== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==12365== at 0x483577F: malloc (vg_replace_malloc.c:309)
==12365== by 0x2365C0: OPENSSL_malloc (mem.c:106)
==12365== by 0x24926C: CRYPTO_set_thread_local (thread_pthread.c:182)
==12365== by 0x225442: err_get_state (err.c:210)
==12365== by 0x226018: ERR_put_error (err.c:636)
==12365== by 0x23ACB8: PEM_read_bio (pem_lib.c:622)
==12365== by 0x308567: PEM_X509_INFO_read_bio (pem_info.c:166)
==12365== by 0x24AB82: X509_load_cert_crl_file (by_file.c:255)
==12365== by 0x24A664: by_file_ctrl (by_file.c:111)
==12365== by 0x24E21E: X509_LOOKUP_ctrl (x509_lu.c:123)
==12365== by 0x24D6FF: X509_STORE_load_locations (x509_d2.c:91)
==12365== by 0x1D1683: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==12365== by 0x1A1C01: ossl_connect_step1 (openssl.c:2715)
==12365== by 0x1A4890: ossl_connect_common (openssl.c:3671)
==12365== by 0x1A4B0C: Curl_ossl_connect_nonblocking (openssl.c:3757)
==12365== by 0x157622: Curl_ssl_connect_nonblocking (vtls.c:275)
==12365==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (416 out of 1251, remaining: 22:59, took 1.0s, duration: 11:27)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (417 out of 1251, remaining: 22:56, took 1.1s, duration: 11:28)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (418 out of 1251, remaining: 22:53, took 1.0s, duration: 11:29)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (419 out of 1251, remaining: 22:52, took 2.1s, duration: 11:31)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (420 out of 1251, remaining: 22:52, took 2.1s, duration: 11:33)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (421 out of 1251, remaining: 22:49, took 1.0s, duration: 11:34)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (422 out of 1251, remaining: 22:50, took 3.1s, duration: 11:37)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (423 out of 1251, remaining: 22:47, took 1.1s, duration: 11:38)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (424 out of 1251, remaining: 22:44, took 1.1s, duration: 11:39)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (425 out of 1251, remaining: 22:42, took 1.1s, duration: 11:40)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (426 out of 1251, remaining: 22:39, took 1.1s, duration: 11:41)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (427 out of 1251, remaining: 22:36, took 1.1s, duration: 11:43)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (428 out of 1251, remaining: 22:33, took 1.1s, duration: 11:44)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (429 out of 1251, remaining: 22:32, took 1.5s, duration: 11:45)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (430 out of 1251, remaining: 22:30, took 1.7s, duration: 11:47)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (431 out of 1251, remaining: 22:28, took 1.2s, duration: 11:48)
test 0577...[Funny RTSP version in response]
--p----emv- OK (432 out of 1251, remaining: 22:25, took 1.0s, duration: 11:49)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (433 out of 1251, remaining: 22:22, took 1.1s, duration: 11:50)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (434 out of 1251, remaining: 22:21, took 2.1s, duration: 11:52)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (435 out of 1251, remaining: 22:18, took 1.0s, duration: 11:53)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (436 out of 1251, remaining: 22:16, took 1.0s, duration: 11:54)
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 (439 out of 1251, remaining: 22:04, took 1.1s, duration: 11:55)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (440 out of 1251, remaining: 22:01, took 1.1s, duration: 11:57)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (441 out of 1251, remaining: 21:58, took 1.1s, duration: 11:58)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (442 out of 1251, remaining: 21:56, took 1.1s, duration: 11:59)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (443 out of 1251, remaining: 21:53, took 1.0s, duration: 12:00)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (444 out of 1251, remaining: 21:51, took 1.1s, duration: 12:01)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (445 out of 1251, remaining: 21:48, took 1.1s, duration: 12:02)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (446 out of 1251, remaining: 21:45, took 1.1s, duration: 12:03)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (447 out of 1251, remaining: 21:46, took 3.1s, duration: 12:06)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (448 out of 1251, remaining: 21:44, took 1.1s, duration: 12:07)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (449 out of 1251, remaining: 21:41, took 1.1s, duration: 12:08)
test 0597...[FTP connect only option]
--p----emv- OK (450 out of 1251, remaining: 21:38, took 1.0s, duration: 12:09)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (451 out of 1251, remaining: 21:36, took 1.0s, duration: 12:10)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (452 out of 1251, remaining: 21:33, took 1.1s, duration: 12:11)
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 (496 out of 1251, remaining: 18:35, took 1.2s, duration: 12:13)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (497 out of 1251, remaining: 18:33, took 1.0s, duration: 12:14)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (498 out of 1251, remaining: 18:34, took 3.2s, duration: 12:17)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (499 out of 1251, remaining: 18:36, took 3.3s, duration: 12:20)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (500 out of 1251, remaining: 18:37, took 3.2s, duration: 12:23)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (501 out of 1251, remaining: 18:35, took 1.2s, duration: 12:25)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (502 out of 1251, remaining: 18:33, took 1.2s, duration: 12:26)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (503 out of 1251, remaining: 18:32, took 2.2s, duration: 12:28)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (504 out of 1251, remaining: 18:32, took 2.1s, duration: 12:30)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (505 out of 1251, remaining: 18:30, took 1.1s, duration: 12:31)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (506 out of 1251, remaining: 18:28, took 1.2s, duration: 12:32)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (507 out of 1251, remaining: 18:27, took 2.2s, duration: 12:35)
test 0655...[resolver start callback]
---d---emv- OK (508 out of 1251, remaining: 18:25, took 1.1s, duration: 12:36)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (510 out of 1251, remaining: 18:20, took 1.0s, duration: 12:37)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (511 out of 1251, remaining: 18:17, took 1.1s, duration: 12:38)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (512 out of 1251, remaining: 18:15, took 1.0s, duration: 12:39)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (513 out of 1251, remaining: 18:13, took 1.2s, duration: 12:40)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (514 out of 1251, remaining: 18:12, took 1.2s, duration: 12:41)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (515 out of 1251, remaining: 18:10, took 1.1s, duration: 12:42)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (516 out of 1251, remaining: 18:08, took 1.1s, duration: 12:43)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (517 out of 1251, remaining: 18:06, took 1.1s, duration: 12:45)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (518 out of 1251, remaining: 18:04, took 1.1s, duration: 12:46)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (519 out of 1251, remaining: 18:02, took 1.2s, duration: 12:47)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (520 out of 1251, remaining: 18:00, took 1.2s, duration: 12:48)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (521 out of 1251, remaining: 17:58, took 1.2s, duration: 12:49)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (522 out of 1251, remaining: 17:56, took 1.2s, duration: 12:50)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (523 out of 1251, remaining: 17:54, took 1.2s, duration: 12:52)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (524 out of 1251, remaining: 17:53, took 1.2s, duration: 12:53)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (525 out of 1251, remaining: 17:51, took 1.3s, duration: 12:54)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (526 out of 1251, remaining: 17:49, took 1.2s, duration: 12:55)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (527 out of 1251, remaining: 17:49, took 2.7s, duration: 12:58)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (528 out of 1251, remaining: 17:49, took 2.7s, duration: 13:01)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (529 out of 1251, remaining: 17:47, took 1.1s, duration: 13:02)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (530 out of 1251, remaining: 17:46, took 1.2s, duration: 13:03)
test 0800...[IMAP FETCH message]
--pd---emv- OK (531 out of 1251, remaining: 17:44, took 1.2s, duration: 13:04)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (532 out of 1251, remaining: 17:42, took 1.2s, duration: 13:06)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (533 out of 1251, remaining: 17:40, took 1.2s, duration: 13:07)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (534 out of 1251, remaining: 17:38, took 1.2s, duration: 13:08)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (535 out of 1251, remaining: 17:36, took 1.2s, duration: 13:09)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (536 out of 1251, remaining: 17:35, took 1.2s, duration: 13:10)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (537 out of 1251, remaining: 17:33, took 1.2s, duration: 13:12)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (538 out of 1251, remaining: 17:31, took 1.2s, duration: 13:13)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1251, remaining: 17:29, took 1.2s, duration: 13:14)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (540 out of 1251, remaining: 17:27, took 1.2s, duration: 13:15)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (541 out of 1251, remaining: 17:25, took 1.2s, duration: 13:16)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1251, remaining: 17:23, took 1.2s, duration: 13:17)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1251, remaining: 17:21, took 1.2s, duration: 13:19)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1251, remaining: 17:20, took 1.2s, duration: 13:20)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1251, remaining: 17:18, took 1.2s, duration: 13:21)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1251, remaining: 17:16, took 1.2s, duration: 13:22)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1251, remaining: 17:14, took 1.2s, duration: 13:23)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (548 out of 1251, remaining: 17:12, took 1.2s, duration: 13:25)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (549 out of 1251, remaining: 17:11, took 1.2s, duration: 13:26)
test 0819...[IMAP plain authentication]
--pd---emv- OK (550 out of 1251, remaining: 17:09, took 1.2s, duration: 13:27)
test 0820...[IMAP login authentication]
--pd---emv- OK (551 out of 1251, remaining: 17:07, took 1.2s, duration: 13:28)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (552 out of 1251, remaining: 17:05, took 1.2s, duration: 13:29)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (553 out of 1251, remaining: 17:03, took 1.3s, duration: 13:31)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (554 out of 1251, remaining: 17:02, took 1.2s, duration: 13:32)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (555 out of 1251, remaining: 17:00, took 1.2s, duration: 13:33)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (556 out of 1251, remaining: 16:58, took 1.2s, duration: 13:34)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (557 out of 1251, remaining: 16:56, took 1.2s, duration: 13:36)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (558 out of 1251, remaining: 16:55, took 1.3s, duration: 13:37)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (559 out of 1251, remaining: 16:53, took 1.2s, duration: 13:38)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (560 out of 1251, remaining: 16:51, took 1.2s, duration: 13:39)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (561 out of 1251, remaining: 16:49, took 1.2s, duration: 13:40)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (562 out of 1251, remaining: 16:47, took 1.2s, duration: 13:42)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (563 out of 1251, remaining: 16:45, took 1.2s, duration: 13:43)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (564 out of 1251, remaining: 16:44, took 1.2s, duration: 13:44)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (565 out of 1251, remaining: 16:42, took 1.2s, duration: 13:45)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (566 out of 1251, remaining: 16:40, took 1.2s, duration: 13:46)
test 0837...[IMAP external authentication]
--pd---emv- OK (567 out of 1251, remaining: 16:38, took 1.2s, duration: 13:48)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (568 out of 1251, remaining: 16:37, took 1.2s, duration: 13:49)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (569 out of 1251, remaining: 16:35, took 1.2s, duration: 13:50)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (570 out of 1251, remaining: 16:33, took 1.2s, duration: 13:51)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (571 out of 1251, remaining: 16:31, took 1.2s, duration: 13:52)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (572 out of 1251, remaining: 16:30, took 1.2s, duration: 13:54)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (573 out of 1251, remaining: 16:28, took 1.2s, duration: 13:55)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (574 out of 1251, remaining: 16:26, took 1.2s, duration: 13:56)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (575 out of 1251, remaining: 16:24, took 1.2s, duration: 13:57)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (576 out of 1251, remaining: 16:22, took 1.2s, duration: 13:58)
test 0847...[IMAP FETCH message]
--pd---emv- OK (577 out of 1251, remaining: 16:21, took 1.2s, duration: 13:59)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (578 out of 1251, remaining: 16:19, took 1.2s, duration: 14:01)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (579 out of 1251, remaining: 16:17, took 1.2s, duration: 14:02)
test 0850...[POP3 RETR message]
--pd---emv- OK (580 out of 1251, remaining: 16:18, took 3.2s, duration: 14:05)
test 0851...[POP3 LIST one message]
--p----emv- OK (581 out of 1251, remaining: 16:16, took 1.2s, duration: 14:06)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (582 out of 1251, remaining: 16:14, took 1.2s, duration: 14:07)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (583 out of 1251, remaining: 16:16, took 4.3s, duration: 14:12)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (584 out of 1251, remaining: 16:14, took 1.2s, duration: 14:13)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (585 out of 1251, remaining: 16:12, took 1.2s, duration: 14:14)
test 0856...[POP3 invalid login]
--p----emv- OK (586 out of 1251, remaining: 16:10, took 1.2s, duration: 14:15)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (587 out of 1251, remaining: 16:09, took 1.2s, duration: 14:16)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1251, remaining: 16:07, took 1.2s, duration: 14:17)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1251, remaining: 16:05, took 1.2s, duration: 14:19)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (590 out of 1251, remaining: 16:03, took 1.2s, duration: 14:20)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1251, remaining: 16:02, took 1.2s, duration: 14:21)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (592 out of 1251, remaining: 16:00, took 1.2s, duration: 14:22)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (593 out of 1251, remaining: 15:58, took 1.2s, duration: 14:23)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (594 out of 1251, remaining: 15:56, took 1.2s, duration: 14:24)
test 0865...[POP3 plain authentication]
--pd---emv- OK (595 out of 1251, remaining: 15:54, took 1.2s, duration: 14:26)
test 0866...[POP3 login authentication]
--pd---emv- OK (596 out of 1251, remaining: 15:53, took 1.2s, duration: 14:27)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (597 out of 1251, remaining: 15:51, took 1.2s, duration: 14:28)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (598 out of 1251, remaining: 15:49, took 1.2s, duration: 14:29)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (599 out of 1251, remaining: 15:48, took 1.2s, duration: 14:31)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (600 out of 1251, remaining: 15:46, took 1.2s, duration: 14:32)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (601 out of 1251, remaining: 15:44, took 1.2s, duration: 14:33)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (602 out of 1251, remaining: 15:42, took 1.2s, duration: 14:34)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (603 out of 1251, remaining: 15:41, took 1.2s, duration: 14:35)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (604 out of 1251, remaining: 15:39, took 1.2s, duration: 14:37)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (605 out of 1251, remaining: 15:37, took 1.2s, duration: 14:38)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (606 out of 1251, remaining: 15:35, took 1.2s, duration: 14:39)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (607 out of 1251, remaining: 15:34, took 1.2s, duration: 14:40)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (608 out of 1251, remaining: 15:32, took 1.2s, duration: 14:41)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (609 out of 1251, remaining: 15:30, took 1.2s, duration: 14:42)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (610 out of 1251, remaining: 15:29, took 1.2s, duration: 14:44)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (611 out of 1251, remaining: 15:27, took 1.2s, duration: 14:45)
test 0883...[POP3 external authentication]
--pd---emv- OK (612 out of 1251, remaining: 15:25, took 1.2s, duration: 14:46)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (613 out of 1251, remaining: 15:23, took 1.2s, duration: 14:47)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (614 out of 1251, remaining: 15:22, took 1.2s, duration: 14:48)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (615 out of 1251, remaining: 15:20, took 1.2s, duration: 14:50)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (616 out of 1251, remaining: 15:18, took 1.2s, duration: 14:51)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (617 out of 1251, remaining: 15:17, took 1.2s, duration: 14:52)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (618 out of 1251, remaining: 15:15, took 1.2s, duration: 14:53)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (619 out of 1251, remaining: 15:13, took 1.2s, duration: 14:54)
test 0891...[POP3 with short authentication response]
--p----emv- OK (620 out of 1251, remaining: 15:11, took 1.2s, duration: 14:55)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (621 out of 1251, remaining: 15:10, took 1.2s, duration: 14:57)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (622 out of 1251, remaining: 15:08, took 1.2s, duration: 14:58)
test 0900...[SMTP]
--p-u--emv- OK (623 out of 1251, remaining: 15:06, took 1.2s, duration: 14:59)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (624 out of 1251, remaining: 15:04, took 1.2s, duration: 15:00)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (625 out of 1251, remaining: 15:03, took 1.2s, duration: 15:01)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (626 out of 1251, remaining: 15:01, took 1.2s, duration: 15:03)
test 0904...[SMTP login authentication]
--p-u--emv- OK (627 out of 1251, remaining: 14:59, took 1.2s, duration: 15:04)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (628 out of 1251, remaining: 14:58, took 1.2s, duration: 15:05)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (629 out of 1251, remaining: 14:56, took 1.2s, duration: 15:06)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (630 out of 1251, remaining: 14:54, took 1.2s, duration: 15:07)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (631 out of 1251, remaining: 14:53, took 1.2s, duration: 15:09)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (632 out of 1251, remaining: 14:51, took 1.2s, duration: 15:10)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (633 out of 1251, remaining: 14:49, took 1.2s, duration: 15:11)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (634 out of 1251, remaining: 14:48, took 1.2s, duration: 15:12)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (635 out of 1251, remaining: 14:46, took 1.2s, duration: 15:13)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (636 out of 1251, remaining: 14:44, took 1.2s, duration: 15:15)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (637 out of 1251, remaining: 14:43, took 1.2s, duration: 15:16)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (638 out of 1251, remaining: 14:41, took 1.2s, duration: 15:17)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (639 out of 1251, remaining: 14:39, took 1.2s, duration: 15:18)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (640 out of 1251, remaining: 14:38, took 1.2s, duration: 15:19)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (641 out of 1251, remaining: 14:36, took 1.2s, duration: 15:20)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (642 out of 1251, remaining: 14:34, took 1.2s, duration: 15:22)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (643 out of 1251, remaining: 14:33, took 1.2s, duration: 15:23)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (644 out of 1251, remaining: 14:31, took 1.3s, duration: 15:24)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (645 out of 1251, remaining: 14:29, took 1.2s, duration: 15:25)
test 0923...[SMTP VRFY]
--pd---emv- OK (646 out of 1251, remaining: 14:28, took 1.2s, duration: 15:26)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (647 out of 1251, remaining: 14:26, took 1.2s, duration: 15:28)
test 0925...[SMTP external VRFY]
--pd---emv- OK (648 out of 1251, remaining: 14:24, took 1.2s, duration: 15:29)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (649 out of 1251, remaining: 14:23, took 1.2s, duration: 15:30)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (650 out of 1251, remaining: 14:21, took 1.2s, duration: 15:31)
test 0928...[SMTP HELP]
--pd---emv- OK (651 out of 1251, remaining: 14:19, took 1.2s, duration: 15:32)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1251, remaining: 14:18, took 1.2s, duration: 15:33)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (653 out of 1251, remaining: 14:16, took 1.2s, duration: 15:35)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (654 out of 1251, remaining: 14:14, took 1.1s, duration: 15:36)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (655 out of 1251, remaining: 14:12, took 1.2s, duration: 15:37)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (656 out of 1251, remaining: 14:11, took 1.2s, duration: 15:38)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (657 out of 1251, remaining: 14:09, took 1.2s, duration: 15:39)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1251, remaining: 14:08, took 1.2s, duration: 15:40)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1251, remaining: 14:06, took 1.2s, duration: 15:42)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (660 out of 1251, remaining: 14:04, took 1.2s, duration: 15:43)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (661 out of 1251, remaining: 14:03, took 1.2s, duration: 15:44)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (662 out of 1251, remaining: 14:01, took 1.2s, duration: 15:45)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (663 out of 1251, remaining: 13:59, took 1.2s, duration: 15:46)
test 0942...[SMTP external authentication]
--p-u--emv- OK (664 out of 1251, remaining: 13:58, took 1.2s, duration: 15:48)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (665 out of 1251, remaining: 13:56, took 1.2s, duration: 15:49)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (666 out of 1251, remaining: 13:54, took 1.2s, duration: 15:50)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (667 out of 1251, remaining: 13:53, took 1.2s, duration: 15:51)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (668 out of 1251, remaining: 13:51, took 1.2s, duration: 15:52)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (669 out of 1251, remaining: 13:50, took 1.2s, duration: 15:54)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (670 out of 1251, remaining: 13:48, took 1.2s, duration: 15:55)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (671 out of 1251, remaining: 13:46, took 1.2s, duration: 15:56)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (672 out of 1251, remaining: 13:45, took 1.2s, duration: 15:57)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (673 out of 1251, remaining: 13:43, took 1.2s, duration: 15:58)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (674 out of 1251, remaining: 13:41, took 1.2s, duration: 15:59)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (675 out of 1251, remaining: 13:40, took 1.2s, duration: 16:01)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (676 out of 1251, remaining: 13:38, took 1.2s, duration: 16:02)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (677 out of 1251, remaining: 13:36, took 1.2s, duration: 16:03)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (678 out of 1251, remaining: 13:36, took 2.3s, duration: 16:05)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (679 out of 1251, remaining: 13:36, took 3.3s, duration: 16:09)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (680 out of 1251, remaining: 13:34, took 1.3s, duration: 16:10)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (681 out of 1251, remaining: 13:32, took 0.0s, duration: 16:10)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (682 out of 1251, remaining: 13:30, took 1.3s, duration: 16:11)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (683 out of 1251, remaining: 13:29, took 1.3s, duration: 16:13)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (684 out of 1251, remaining: 13:27, took 1.1s, duration: 16:14)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (685 out of 1251, remaining: 13:26, took 1.5s, duration: 16:15)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (686 out of 1251, remaining: 13:24, took 1.1s, duration: 16:16)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (687 out of 1251, remaining: 13:22, took 1.2s, duration: 16:18)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (688 out of 1251, remaining: 13:21, took 1.3s, duration: 16:19)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (689 out of 1251, remaining: 13:19, took 1.3s, duration: 16:20)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (690 out of 1251, remaining: 13:17, took 0.9s, duration: 16:21)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (691 out of 1251, remaining: 13:16, took 0.9s, duration: 16:22)
test 1015...[--data-urlencode]
--pd---emv- OK (692 out of 1251, remaining: 13:14, took 1.2s, duration: 16:23)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1251, remaining: 13:12, took 1.1s, duration: 16:24)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (694 out of 1251, remaining: 13:11, took 1.1s, duration: 16:25)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (695 out of 1251, remaining: 13:09, took 1.1s, duration: 16:26)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (696 out of 1251, remaining: 13:07, took 1.1s, duration: 16:27)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (697 out of 1251, remaining: 13:06, took 1.1s, duration: 16:28)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (698 out of 1251, remaining: 13:04, took 1.3s, duration: 16:30)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (699 out of 1251, remaining: 13:02, took 0.9s, duration: 16:31)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (700 out of 1251, remaining: 13:00, took 0.9s, duration: 16:32)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (701 out of 1251, remaining: 12:59, took 1.3s, duration: 16:33)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (702 out of 1251, remaining: 12:57, took 1.3s, duration: 16:34)
test 1026...[curl --manual ]
-------emv- OK (703 out of 1251, remaining: 12:56, took 0.9s, duration: 16:35)
test 1027...[curl --help]
-------emv- OK (704 out of 1251, remaining: 12:54, took 0.9s, duration: 16:36)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (705 out of 1251, remaining: 12:52, took 1.3s, duration: 16:37)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (706 out of 1251, remaining: 12:51, took 1.2s, duration: 16:38)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (707 out of 1251, remaining: 12:51, took 3.3s, duration: 16:42)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (708 out of 1251, remaining: 12:49, took 1.2s, duration: 16:43)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (709 out of 1251, remaining: 12:47, took 1.2s, duration: 16:44)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (710 out of 1251, remaining: 12:46, took 1.2s, duration: 16:45)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (711 out of 1251, remaining: 12:44, took 1.1s, duration: 16:46)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (712 out of 1251, remaining: 12:43, took 1.1s, duration: 16:47)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (713 out of 1251, remaining: 12:41, took 1.2s, duration: 16:49)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (714 out of 1251, remaining: 12:39, took 1.2s, duration: 16:50)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (715 out of 1251, remaining: 12:38, took 1.2s, duration: 16:51)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (716 out of 1251, remaining: 12:36, took 1.2s, duration: 16:52)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (717 out of 1251, remaining: 12:35, took 1.2s, duration: 16:53)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (718 out of 1251, remaining: 12:34, took 2.2s, duration: 16:56)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (719 out of 1251, remaining: 12:32, took 1.2s, duration: 16:57)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (720 out of 1251, remaining: 12:31, took 1.2s, duration: 16:58)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (721 out of 1251, remaining: 12:29, took 1.2s, duration: 16:59)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1251, remaining: 12:27, took 1.2s, duration: 17:00)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (723 out of 1251, remaining: 12:26, took 1.2s, duration: 17:02)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1251, remaining: 12:24, took 1.2s, duration: 17:03)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (725 out of 1251, remaining: 12:23, took 1.3s, duration: 17:04)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (726 out of 1251, remaining: 12:21, took 1.1s, duration: 17:05)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (727 out of 1251, remaining: 12:20, took 1.2s, duration: 17:06)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (728 out of 1251, remaining: 12:20, took 3.2s, duration: 17:10)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (729 out of 1251, remaining: 12:18, took 1.2s, duration: 17:11)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (730 out of 1251, remaining: 12:16, took 1.2s, duration: 17:12)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (731 out of 1251, remaining: 12:15, took 1.3s, duration: 17:13)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (732 out of 1251, remaining: 12:14, took 2.3s, duration: 17:16)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (733 out of 1251, remaining: 12:13, took 1.3s, duration: 17:17)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (734 out of 1251, remaining: 12:11, took 1.2s, duration: 17:18)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (735 out of 1251, remaining: 12:09, took 1.2s, duration: 17:19)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (736 out of 1251, remaining: 12:08, took 1.2s, duration: 17:20)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (737 out of 1251, remaining: 12:08, took 3.6s, duration: 17:24)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (738 out of 1251, remaining: 12:08, took 3.6s, duration: 17:28)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (739 out of 1251, remaining: 12:07, took 1.3s, duration: 17:29)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (740 out of 1251, remaining: 12:05, took 1.1s, duration: 17:30)
test 1064...[HTTP PUT twice]
s-p----emv- OK (741 out of 1251, remaining: 12:03, took 1.2s, duration: 17:31)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (742 out of 1251, remaining: 12:02, took 1.3s, duration: 17:33)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (743 out of 1251, remaining: 12:00, took 1.2s, duration: 17:34)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (744 out of 1251, remaining: 11:59, took 1.2s, duration: 17:35)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (745 out of 1251, remaining: 11:58, took 2.2s, duration: 17:37)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (746 out of 1251, remaining: 11:56, took 1.1s, duration: 17:38)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (747 out of 1251, remaining: 11:55, took 2.2s, duration: 17:41)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (748 out of 1251, remaining: 11:54, took 2.2s, duration: 17:43)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (749 out of 1251, remaining: 11:54, took 2.2s, duration: 17:45)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (750 out of 1251, remaining: 11:53, took 2.2s, duration: 17:47)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (751 out of 1251, remaining: 11:52, took 3.2s, duration: 17:50)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (752 out of 1251, remaining: 11:52, took 3.2s, duration: 17:54)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (753 out of 1251, remaining: 11:51, took 1.3s, duration: 17:55)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (754 out of 1251, remaining: 11:49, took 1.2s, duration: 17:56)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (755 out of 1251, remaining: 11:48, took 1.7s, duration: 17:58)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (756 out of 1251, remaining: 11:46, took 1.3s, duration: 17:59)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (757 out of 1251, remaining: 11:45, took 1.2s, duration: 18:00)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (758 out of 1251, remaining: 11:43, took 1.2s, duration: 18:02)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (759 out of 1251, remaining: 11:42, took 1.2s, duration: 18:03)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (760 out of 1251, remaining: 11:40, took 1.2s, duration: 18:04)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (761 out of 1251, remaining: 11:39, took 1.1s, duration: 18:05)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (762 out of 1251, remaining: 11:37, took 1.1s, duration: 18:06)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (763 out of 1251, remaining: 11:44, took 14.1s, duration: 18:20)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (764 out of 1251, remaining: 11:42, took 1.3s, duration: 18:22)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (765 out of 1251, remaining: 11:41, took 1.3s, duration: 18:23)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (766 out of 1251, remaining: 11:39, took 1.2s, duration: 18:24)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (767 out of 1251, remaining: 11:37, took 1.2s, duration: 18:25)
test 1091...[FTP URL with type=i]
--pd---emv- OK (768 out of 1251, remaining: 11:37, took 3.2s, duration: 18:29)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (769 out of 1251, remaining: 11:35, took 1.2s, duration: 18:30)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (770 out of 1251, remaining: 11:34, took 1.1s, duration: 18:31)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (771 out of 1251, remaining: 11:32, took 1.2s, duration: 18:32)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (772 out of 1251, remaining: 11:31, took 1.3s, duration: 18:33)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (773 out of 1251, remaining: 11:29, took 1.2s, duration: 18:35)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (774 out of 1251, remaining: 11:27, took 1.2s, duration: 18:36)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (775 out of 1251, remaining: 11:26, took 1.2s, duration: 18:37)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (776 out of 1251, remaining: 11:24, took 1.2s, duration: 18:38)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (777 out of 1251, remaining: 11:23, took 1.3s, duration: 18:39)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (778 out of 1251, remaining: 11:21, took 1.2s, duration: 18:41)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (779 out of 1251, remaining: 11:20, took 1.2s, duration: 18:42)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (780 out of 1251, remaining: 11:18, took 1.2s, duration: 18:43)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (781 out of 1251, remaining: 11:16, took 1.2s, duration: 18:44)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (782 out of 1251, remaining: 11:15, took 1.2s, duration: 18:45)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (783 out of 1251, remaining: 11:13, took 1.2s, duration: 18:47)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (784 out of 1251, remaining: 11:12, took 1.2s, duration: 18:48)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (785 out of 1251, remaining: 11:10, took 1.2s, duration: 18:49)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (786 out of 1251, remaining: 11:08, took 1.2s, duration: 18:50)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (787 out of 1251, remaining: 11:07, took 1.2s, duration: 18:51)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (788 out of 1251, remaining: 11:05, took 1.2s, duration: 18:53)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 28
valgrind ERROR ==13938== Invalid read of size 8
==13938== at 0x53335A5: check_free (dlerror.c:188)
==13938== by 0x5333AB1: free_key_mem (dlerror.c:221)
==13938== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==13938== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==13938== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==13938== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==13938== by 0x4C4AEB9: exit (exit.c:139)
==13938== by 0x4C350A1: (below main) (libc-start.c:342)
==13938== Address 0x5af7de0 is 0 bytes after a block of size 32 alloc'd
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
==13938== Invalid free() / delete / delete[] / realloc()
==13938== at 0x48369AB: free (vg_replace_malloc.c:540)
==13938== by 0x5333AB9: free_key_mem (dlerror.c:223)
==13938== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==13938== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==13938== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==13938== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==13938== by 0x4C4AEB9: exit (exit.c:139)
==13938== by 0x4C350A1: (below main) (libc-start.c:342)
==13938== Address 0x5af7dc8 is 8 bytes inside a block of size 32 alloc'd
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
==13938== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
== 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 tha
=== End of file curl1112.out
=== Start of file ftp_server.log
03:10:22.813353 ====> Client connect
03:10:22.813506 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:22.814006 < "USER anonymous"
03:10:22.814055 > "331 We are happy you popped in![CR][LF]"
03:10:22.814365 < "PASS ftp@example.com"
03:10:22.814400 > "230 Welcome you silly person[CR][LF]"
03:10:22.814652 < "PBSZ 0"
03:10:22.814690 > "500 PBSZ not implemented[CR][LF]"
03:10:22.815109 < "PROT C"
03:10:22.815151 > "500 PROT not implemented[CR][LF]"
03:10:22.815558 < "PWD"
03:10:22.815603 > "257 "/" is current directory[CR][LF]"
03:10:22.815945 < "EPSV"
03:10:22.815984 ====> Passive DATA channel requested by client
03:10:22.816006 DATA sockfilt for passive data channel starting...
03:10:22.818091 DATA sockfilt for passive data channel started (pid 13935)
03:10:22.818263 DATA sockfilt for passive data channel listens on port 45359
03:10:22.818325 > "229 Entering Passive Mode (|||45359|)[LF]"
03:10:22.818359 Client has been notified that DATA conn will be accepted on port 45359
03:10:22.818639 Client connects to port 45359
03:10:22.818682 ====> Client established passive DATA connection on port 45359
03:10:22.818781 < "TYPE I"
03:10:22.818829 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:22.819189 < "SIZE verifiedserver"
03:10:22.819245 > "213 17[CR][LF]"
03:10:22.819526 < "RETR verifiedserver"
03:10:22.819585 > "150 Binary junk (17 bytes).[CR][LF]"
03:10:22.819684 =====> Closing passive DATA connection...
03:10:22.819722 Server disconnects passive DATA connection
03:10:22.819834 DATA sockfilt for passive data channel quits (pid 13936)
03:10:22.819867 =====> Closed passive DATA connection
03:10:22.819916 > "226 File transfer complete[CR][LF]"
03:10:22.820860 < "QUIT"
03:10:22.820910 > "221 bye bye baby[CR][LF]"
03:10:22.821335 MAIN sockfilt said DISC
03:10:22.821395 ====> Client disconnected
03:10:22.821455 Awaiting input
03:10:26.855167 ====> Client connect
03:10:26.855266 FTPD: Getting commands from log/ftpserver.cmd
03:10:26.855302 FTPD: send response with 0.01 sec delay between each byte
03:10:26.855393 FTPD: set custom reply for USER command
03:10:26.855444 FTPD: set custom reply for PASS command
03:10:26.855492 FTPD: set custom reply for PWD command
03:10:26.855538 FTPD: set custom reply for TYPE command
03:10:28.470130 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:28.479147 < "USER anonymous"
03:10:28.559905 > "331 OK[CR][LF]"
03:10:28.560129 < "PASS ftp@example.com"
03:10:28.640883 > "230 OK[CR][LF]"
03:10:28.641100 < "PBSZ 0"
03:10:28.903550 > "500 PBSZ not implemented[CR][LF]"
03:10:28.903803 < "PROT C"
03:10:29.166238 > "500 PROT not implemented[CR][LF]"
03:10:29.166627 < "PWD"
03:10:29.257561 > "257 "/"[CR][LF]"
03:10:29.264279 < "EPSV"
03:10:29.264315 ====> Passive DATA channel requested by client
03:10:29.264329 DATA sockfilt for passive data channel starting...
03:10:29.266003 DATA sockfilt for passive data channel started (pid 13940)
03:10:29.266146 DATA sockfilt for passive data channel listens on port 33067
03:10:29.649811 > "229 Entering Passive Mode (|||33067|)[LF]"
03:10:29.649902 Client has been notified that DATA conn will be accepted on port 33067
03:10:29.653456 Client connects to port 33067
03:10:29.653497 ====> Client established passive DATA connection on port 33067
03:10:29.659368 < "TYPE I"
03:10:29.740128 > "200 OK[CR][LF]"
03:10:29.740341 < "SIZE 1112"
03:10:29.841998 > "213 3600[CR][LF]"
03:10:29.842325 < "RETR 1112"
03:10:30.387900 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:22.673969 ====> Client connect
03:10:22.674203 Received DATA (on stdin)
03:10:22.674223 > 160 bytes data, server => client
03:10:22.674243 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:22.674261 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:22.674276 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:22.674592 < 16 bytes data, client => server
03:10:22.674620 'USER anonymous\r\n'
03:10:22.674765 Received DATA (on stdin)
03:10:22.674790 > 33 bytes data, server => client
03:10:22.674815 '331 We are happy you popped in!\r\n'
03:10:22.675018 < 22 bytes data, client => server
03:10:22.675031 'PASS ftp@example.com\r\n'
03:10:22.675108 Received DATA (on stdin)
03:10:22.675123 > 30 bytes data, server => client
03:10:22.675137 '230 Welcome you silly person\r\n'
03:10:22.675310 < 8 bytes data, client => server
03:10:22.675321 'PBSZ 0\r\n'
03:10:22.675399 Received DATA (on stdin)
03:10:22.675413 > 26 bytes data, server => client
03:10:22.675427 '500 PBSZ not implemented\r\n'
03:10:22.675744 < 8 bytes data, client => server
03:10:22.675772 'PROT C\r\n'
03:10:22.675925 Received DATA (on stdin)
03:10:22.675963 > 26 bytes data, server => client
03:10:22.675986 '500 PROT not implemented\r\n'
03:10:22.676207 < 5 bytes data, client => server
03:10:22.676227 'PWD\r\n'
03:10:22.676311 Received DATA (on stdin)
03:10:22.676328 > 30 bytes data, server => client
03:10:22.676354 '257 "/" is current directory\r\n'
03:10:22.676588 < 6 bytes data, client => server
03:10:22.676608 'EPSV\r\n'
03:10:22.679028 Received DATA (on stdin)
03:10:22.679045 > 38 bytes data, server => client
03:10:22.679071 '229 Entering Passive Mode (|||45359|)\n'
03:10:22.679404 < 8 bytes data, client => server
03:10:22.679425 'TYPE I\r\n'
03:10:22.679557 Received DATA (on stdin)
03:10:22.679606 > 33 bytes data, server => client
03:10:22.679627 '200 I modify TYPE as you wanted\r\n'
03:10:22.679824 < 21 bytes data, client => server
03:10:22.679846 'SIZE verifiedserver\r\n'
03:10:22.679966 Received DATA (on stdin)
03:10:22.679988 > 8 bytes data, server => client
03:10:22.680016 '213 17\r\n'
03:10:22.680194 < 21 bytes data, client => server
03:10:22.680214 'RETR verifiedserver\r\n'
03:10:22.680293 Received DATA (on stdin)
03:10:22.680310 > 29 bytes data, server => client
03:10:22.680335 '150 Binary junk (17 bytes).\r\n'
03:10:22.680625 Received DATA (on stdin)
03:10:22.680652 > 28 bytes data, server => client
03:10:22.680667 '226 File transfer complete\r\n'
03:10:22.681453 < 6 bytes data, client => server
03:10:22.681494 'QUIT\r\n'
03:10:22.681639 Received DATA (on stdin)
03:10:22.681690 > 18 bytes data, server => client
03:10:22.681710 '221 bye bye baby\r\n'
03:10:22.681977 ====> Client disconnect
03:10:26.715813 ====> Client connect
03:10:26.716320 Received DATA (on stdin)
03:10:26.716344 > 1 bytes data, server => client
03:10:26.716354 '2'
03:10:26.726412 Received DATA (on stdin)
03:10:26.726443 > 1 bytes data, server => client
03:10:26.726456 '2'
03:10:26.736448 Received DATA (on stdin)
03:10:26.736474 > 1 bytes data, server => client
03:10:26.736487 '0'
03:10:26.746516 Received DATA (on stdin)
03:10:26.746541 > 1 bytes data, server => client
03:10:26.746555 '-'
03:10:26.756583 Received DATA (on stdin)
03:10:26.756607 > 1 bytes data, server => client
03:10:26.756620 ' '
03:10:26.766628 Received DATA (on stdin)
03:10:26.766650 > 1 bytes data, server => client
03:10:26.766660 ' '
03:10:26.776716 Received DATA (on stdin)
03:10:26.776742 > 1 bytes data, server => client
03:10:26.776756 ' '
03:10:26.786778 Received DATA (on stdin)
03:10:26.786802 > 1 bytes data, server => client
03:10:26.786816 ' '
03:10:26.796878 Received DATA (on stdin)
03:10:26.796923 > 1 bytes data, server => client
03:10:26.796943 ' '
03:10:26.806970 Received DATA (on stdin)
03:10:26.807019 > 1 bytes data, server => client
03:10:26.807038 ' '
03:10:26.817066 Received DATA (on stdin)
03:10:26.817124 > 1 bytes data, server => client
03:10:26.817147 ' '
03:10:26.827151 Received DATA (on stdin)
03:10:26.827215 > 1 bytes data, server => client
03:10:26.827240 ' '
03:10:26.837251 Received DATA (on stdin)
03:10:26.837308 > 1 bytes data, server => client
03:10:26.837332 '_'
03:10:26.847338 Received DATA (on stdin)
03:10:26.847404 > 1 bytes data, server => client
03:10:26.847431 ' '
03:10:26.857416 Received DATA (on stdin)
03:10:26.857477 > 1 bytes data, server => client
03:10:26.857504 ' '
03:10:26.867501 Received DATA (on stdin)
03:10:26.867563 > 1 bytes data, server => client
03:10:26.867590 ' '
03:10:26.877579 Received DATA (on stdin)
03:10:26.877641 > 1 bytes data, server => client
03:10:26.877668 '_'
03:10:26.887662 Received DATA (on stdin)
03:10:26.887733 > 1 bytes data, server => client
03:10:26.887768 ' '
03:10:26.897747 Received DATA (on stdin)
03:10:26.897812 > 1 bytes data, server => client
03:10:26.897850 '_'
03:10:26.907838 Received DATA (on stdin)
03:10:26.907911 > 1 bytes data, server => client
03:10:26.907938 '_'
03:10:26.917938 Received DATA (on stdin)
03:10:26.918015 > 1 bytes data, server => client
03:10:26.918044 '_'
03:10:26.928011 Received DATA (on stdin)
03:10:26.928073 > 1 bytes data, server => client
03:10:26.928100 '_'
03:10:26.938099 Received DATA (on stdin)
03:10:26.938296 > 1 bytes data, server => client
03:10:26.938331 ' '
03:10:26.948184 Received DATA (on stdin)
03:10:26.948249 > 1 bytes data, server => client
03:10:26.948287 ' '
03:10:26.958257 Received DATA (on stdin)
03:10:26.958311 > 1 bytes data, server => client
03:10:26.958337 '_'
03:10:26.968371 Received DATA (on stdin)
03:10:26.968451 > 1 bytes data, server => client
03:10:26.968489 ' '
03:10:26.978464 Received DATA (on stdin)
03:10:26.978534 > 1 bytes data, server => client
03:10:26.978576 ' '
03:10:26.988521 Received DATA (on stdin)
03:10:26.988578 > 1 bytes data, server => client
03:10:26.988603 ' '
03:10:26.998630 Received DATA (on stdin)
03:10:26.998690 > 1 bytes data, server => client
03:10:26.998717 ' '
03:10:27.008700 Received DATA (on stdin)
03:10:27.008769 > 1 bytes data, server => client
03:10:27.008870 ' '
03:10:27.018801 Received DATA (on stdin)
03:10:27.018862 > 1 bytes data, server => client
03:10:27.018890 '\r'
03:10:27.028879 Received DATA (on stdin)
03:10:27.028939 > 1 bytes data, server => client
03:10:27.028966 '\n'
03:10:27.038960 Received DATA (on stdin)
03:10:27.039023 > 1 bytes data, server => client
03:10:27.039050 '2'
03:10:27.049041 Received DATA (on stdin)
03:10:27.049101 > 1 bytes data, server => client
03:10:27.049128 '2'
03:10:27.059119 Received DATA (on stdin)
03:10:27.059179 > 1 bytes data, server => client
03:10:27.059206 '0'
03:10:27.069194 Received DATA (on stdin)
03:10:27.069253 > 1 bytes data, server => client
03:10:27.069282 '-'
03:10:27.079271 Received DATA (on stdin)
03:10:27.079331 > 1 bytes data, server => client
03:10:27.079359 ' '
03:10:27.089344 Received DATA (on stdin)
03:10:27.089424 > 1 bytes data, server => client
03:10:27.089471 ' '
03:10:27.099447 Received DATA (on stdin)
03:10:27.099521 > 1 bytes data, server => client
03:10:27.099546 ' '
03:10:27.109542 Received DATA (on stdin)
03:10:27.109606 > 1 bytes data, server => client
03:10:27.109632 ' '
03:10:27.119642 Received DATA (on stdin)
03:10:27.119702 > 1 bytes data, server => client
03:10:27.119727 '_'
03:10:27.129739 Received DATA (on stdin)
03:10:27.129799 > 1 bytes data, server => client
03:10:27.129823 '_'
03:10:27.139836 Received DATA (on stdin)
03:10:27.139899 > 1 bytes data, server => client
03:10:27.139924 '_'
03:10:27.149934 Received DATA (on stdin)
03:10:27.149993 > 1 bytes data, server => client
03:10:27.150018 '|'
03:10:27.160033 Received DATA (on stdin)
03:10:27.160093 > 1 bytes data, server => client
03:10:27.160118 ' '
03:10:27.170126 Received DATA (on stdin)
03:10:27.170193 > 1 bytes data, server => client
03:10:27.170220 '|'
03:10:27.180204 Received DATA (on stdin)
03:10:27.180247 > 1 bytes data, server => client
03:10:27.180265 ' '
03:10:27.190322 Received DATA (on stdin)
03:10:27.190389 > 1 bytes data, server => client
03:10:27.190411 '|'
03:10:27.200399 Received DATA (on stdin)
03:10:27.200450 > 1 bytes data, server => client
03:10:27.200467 ' '
03:10:27.210506 Received DATA (on stdin)
03:10:27.210587 > 1 bytes data, server => client
03:10:27.210612 '|'
03:10:27.220593 Received DATA (on stdin)
03:10:27.220651 > 1 bytes data, server => client
03:10:27.220676 ' '
03:10:27.230692 Received DATA (on stdin)
03:10:27.230751 > 1 bytes data, server => client
03:10:27.230776 ' '
03:10:27.240793 Received DATA (on stdin)
03:10:27.240853 > 1 bytes data, server => client
03:10:27.240878 '_'
03:10:27.250880 Received DATA (on stdin)
03:10:27.250938 > 1 bytes data, server => client
03:10:27.250963 ' '
03:10:27.260980 Received DATA (on stdin)
03:10:27.261038 > 1 bytes data, server => client
03:10:27.261063 '\'
03:10:27.271077 Received DATA (on stdin)
03:10:27.271137 > 1 bytes data, server => client
03:10:27.271162 '|'
03:10:27.281161 Received DATA (on stdin)
03:10:27.281223 > 1 bytes data, server => client
03:10:27.281250 ' '
03:10:27.291261 Received DATA (on stdin)
03:10:27.291320 > 1 bytes data, server => client
03:10:27.291345 '|'
03:10:27.301361 Received DATA (on stdin)
03:10:27.301419 > 1 bytes data, server => client
03:10:27.301444 ' '
03:10:27.311443 Received DATA (on stdin)
03:10:27.311502 > 1 bytes data, server => client
03:10:27.311528 ' '
03:10:27.321543 Received DATA (on stdin)
03:10:27.321602 > 1 bytes data, server => client
03:10:27.321628 ' '
03:10:27.331638 Received DATA (on stdin)
03:10:27.331699 > 1 bytes data, server => client
03:10:27.331724 ' '
03:10:27.341720 Received DATA (on stdin)
03:10:27.341778 > 1 bytes data, server => client
03:10:27.341803 '\r'
03:10:27.351810 Received DATA (on stdin)
03:10:27.351868 > 1 bytes data, server => client
03:10:27.351893 '\n'
03:10:27.361901 Received DATA (on stdin)
03:10:27.361960 > 1 bytes data, server => client
03:10:27.361984 '2'
03:10:27.371997 Received DATA (on stdin)
03:10:27.372055 > 1 bytes data, server => client
03:10:27.372080 '2'
03:10:27.382093 Received DATA (on stdin)
03:10:27.382152 > 1 bytes data, server => client
03:10:27.382177 '0'
03:10:27.392189 Received DATA (on stdin)
03:10:27.392247 > 1 bytes data, server => client
03:10:27.392272 '-'
03:10:27.402284 Received DATA (on stdin)
03:10:27.402342 > 1 bytes data, server => client
03:10:27.402366 ' '
03:10:27.412375 Received DATA (on stdin)
03:10:27.412447 > 1 bytes data, server => client
03:10:27.412475 ' '
03:10:27.422474 Received DATA (on stdin)
03:10:27.422531 > 1 bytes data, server => client
03:10:27.422556 ' '
03:10:27.432572 Received DATA (on stdin)
03:10:27.432631 > 1 bytes data, server => client
03:10:27.432656 '/'
03:10:27.442667 Received DATA (on stdin)
03:10:27.442729 > 1 bytes data, server => client
03:10:27.442754 ' '
03:10:27.452760 Received DATA (on stdin)
03:10:27.452818 > 1 bytes data, server => client
03:10:27.452844 '_'
03:10:27.462856 Received DATA (on stdin)
03:10:27.462913 > 1 bytes data, server => client
03:10:27.462938 '_'
03:10:27.472951 Received DATA (on stdin)
03:10:27.473010 > 1 bytes data, server => client
03:10:27.473035 '|'
03:10:27.483049 Received DATA (on stdin)
03:10:27.483107 > 1 bytes data, server => client
03:10:27.483131 ' '
03:10:27.493145 Received DATA (on stdin)
03:10:27.493206 > 1 bytes data, server => client
03:10:27.493231 '|'
03:10:27.503240 Received DATA (on stdin)
03:10:27.503299 > 1 bytes data, server => client
03:10:27.503324 ' '
03:10:27.513337 Received DATA (on stdin)
03:10:27.513395 > 1 bytes data, server => client
03:10:27.513420 '|'
03:10:27.523432 Received DATA (on stdin)
03:10:27.523490 > 1 bytes data, server => client
03:10:27.523515 ' '
03:10:27.533528 Received DATA (on stdin)
03:10:27.533587 > 1 bytes data, server => client
03:10:27.533612 '|'
03:10:27.543623 Received DATA (on stdin)
03:10:27.543683 > 1 bytes data, server => client
03:10:27.543708 ' '
03:10:27.553710 Received DATA (on stdin)
03:10:27.553768 > 1 bytes data, server => client
03:10:27.553794 '|'
03:10:27.563809 Received DATA (on stdin)
03:10:27.563868 > 1 bytes data, server => client
03:10:27.563892 '_'
03:10:27.573905 Received DATA (on stdin)
03:10:27.573970 > 1 bytes data, server => client
03:10:27.573995 ')'
03:10:27.583978 Received DATA (on stdin)
03:10:27.584023 > 1 bytes data, server => client
03:10:27.584034 ' '
03:10:27.594074 Received DATA (on stdin)
03:10:27.594141 > 1 bytes data, server => client
03:10:27.594157 '|'
03:10:27.604161 Received DATA (on stdin)
03:10:27.604214 > 1 bytes data, server => client
03:10:27.604230 ' '
03:10:27.614289 Received DATA (on stdin)
03:10:27.614352 > 1 bytes data, server => client
03:10:27.614374 '|'
03:10:27.624396 Received DATA (on stdin)
03:10:27.624485 > 1 bytes data, server => client
03:10:27.624510 ' '
03:10:27.634479 Received DATA (on stdin)
03:10:27.634554 > 1 bytes data, server => client
03:10:27.634589 ' '
03:10:27.644572 Received DATA (on stdin)
03:10:27.644639 > 1 bytes data, server => client
03:10:27.644671 ' '
03:10:27.654657 Received DATA (on stdin)
03:10:27.654699 > 1 bytes data, server => client
03:10:27.654722 ' '
03:10:27.664750 Received DATA (on stdin)
03:10:27.664809 > 1 bytes data, server => client
03:10:27.664842 '\r'
03:10:27.674859 Received DATA (on stdin)
03:10:27.674930 > 1 bytes data, server => client
03:10:27.674953 '\n'
03:10:27.684996 Received DATA (on stdin)
03:10:27.685079 > 1 bytes data, server => client
03:10:27.685112 '2'
03:10:27.695071 Received DATA (on stdin)
03:10:27.695127 > 1 bytes data, server => client
03:10:27.695150 '2'
03:10:27.705194 Received DATA (on stdin)
03:10:27.705264 > 1 bytes data, server => client
03:10:27.705289 '0'
03:10:27.715298 Received DATA (on stdin)
03:10:27.715362 > 1 bytes data, server => client
03:10:27.715386 '-'
03:10:27.725394 Received DATA (on stdin)
03:10:27.725453 > 1 bytes data, server => client
03:10:27.725481 ' '
03:10:27.735490 Received DATA (on stdin)
03:10:27.735549 > 1 bytes data, server => client
03:10:27.735576 ' '
03:10:27.745584 Received DATA (on stdin)
03:10:27.745643 > 1 bytes data, server => client
03:10:27.745670 '|'
03:10:27.755666 Received DATA (on stdin)
03:10:27.755725 > 1 bytes data, server => client
03:10:27.755753 ' '
03:10:27.765749 Received DATA (on stdin)
03:10:27.765808 > 1 bytes data, server => client
03:10:27.765836 '('
03:10:27.775831 Received DATA (on stdin)
03:10:27.775888 > 1 bytes data, server => client
03:10:27.775914 '_'
03:10:27.785947 Received DATA (on stdin)
03:10:27.786007 > 1 bytes data, server => client
03:10:27.786035 '_'
03:10:27.796016 Received DATA (on stdin)
03:10:27.796077 > 1 bytes data, server => client
03:10:27.796104 '|'
03:10:27.806137 Received DATA (on stdin)
03:10:27.806196 > 1 bytes data, server => client
03:10:27.806224 ' '
03:10:27.816230 Received DATA (on stdin)
03:10:27.816290 > 1 bytes data, server => client
03:10:27.816318 '|'
03:10:27.826324 Received DATA (on stdin)
03:10:27.826384 > 1 bytes data, server => client
03:10:27.826411 '_'
03:10:27.836430 Received DATA (on stdin)
03:10:27.836488 > 1 bytes data, server => client
03:10:27.836515 '|'
03:10:27.846513 Received DATA (on stdin)
03:10:27.846573 > 1 bytes data, server => client
03:10:27.846601 ' '
03:10:27.856609 Received DATA (on stdin)
03:10:27.856669 > 1 bytes data, server => client
03:10:27.856697 '|'
03:10:27.866697 Received DATA (on stdin)
03:10:27.866800 > 1 bytes data, server => client
03:10:27.866850 ' '
03:10:27.876784 Received DATA (on stdin)
03:10:27.876852 > 1 bytes data, server => client
03:10:27.876877 ' '
03:10:27.886880 Received DATA (on stdin)
03:10:27.886913 > 1 bytes data, server => client
03:10:27.886927 '_'
03:10:27.896958 Received DATA (on stdin)
03:10:27.896996 > 1 bytes data, server => client
03:10:27.897011 ' '
03:10:27.907036 Received DATA (on stdin)
03:10:27.907071 > 1 bytes data, server => client
03:10:27.907084 '{'
03:10:27.917138 Received DATA (on stdin)
03:10:27.917195 > 1 bytes data, server => client
03:10:27.917212 '|'
03:10:27.927232 Received DATA (on stdin)
03:10:27.927290 > 1 bytes data, server => client
03:10:27.927310 ' '
03:10:27.937304 Received DATA (on stdin)
03:10:27.937339 > 1 bytes data, server => client
03:10:27.937353 '|'
03:10:27.947380 Received DATA (on stdin)
03:10:27.947416 > 1 bytes data, server => client
03:10:27.947430 '_'
03:10:27.957457 Received DATA (on stdin)
03:10:27.957493 > 1 bytes data, server => client
03:10:27.957518 '_'
03:10:27.967531 Received DATA (on stdin)
03:10:27.967569 > 1 bytes data, server => client
03:10:27.967583 '_'
03:10:27.977617 Received DATA (on stdin)
03:10:27.977668 > 1 bytes data, server => client
03:10:27.977682 ' '
03:10:27.987699 Received DATA (on stdin)
03:10:27.987743 > 1 bytes data, server => client
03:10:27.987758 '\r'
03:10:27.997798 Received DATA (on stdin)
03:10:27.997849 > 1 bytes data, server => client
03:10:27.997867 '\n'
03:10:28.007890 Received DATA (on stdin)
03:10:28.007947 > 1 bytes data, server => client
03:10:28.007965 '2'
03:10:28.018008 Received DATA (on stdin)
03:10:28.018075 > 1 bytes data, server => client
03:10:28.018102 '2'
03:10:28.028107 Received DATA (on stdin)
03:10:28.028173 > 1 bytes data, server => client
03:10:28.028197 '0'
03:10:28.038183 Received DATA (on stdin)
03:10:28.038264 > 1 bytes data, server => client
03:10:28.038297 ' '
03:10:28.048272 Received DATA (on stdin)
03:10:28.048339 > 1 bytes data, server => client
03:10:28.048361 ' '
03:10:28.058370 Received DATA (on stdin)
03:10:28.058442 > 1 bytes data, server => client
03:10:28.058456 ' '
03:10:28.068458 Received DATA (on stdin)
03:10:28.068509 > 1 bytes data, server => client
03:10:28.068525 ' '
03:10:28.078564 Received DATA (on stdin)
03:10:28.078631 > 1 bytes data, server => client
03:10:28.078656 '\'
03:10:28.088661 Received DATA (on stdin)
03:10:28.088733 > 1 bytes data, server => client
03:10:28.088768 '_'
03:10:28.098759 Received DATA (on stdin)
03:10:28.098819 > 1 bytes data, server => client
03:10:28.098844 '_'
03:10:28.108852 Received DATA (on stdin)
03:10:28.108914 > 1 bytes data, server => client
03:10:28.108939 '_'
03:10:28.118937 Received DATA (on stdin)
03:10:28.118993 > 1 bytes data, server => client
03:10:28.119018 '|'
03:10:28.129027 Received DATA (on stdin)
03:10:28.129086 > 1 bytes data, server => client
03:10:28.129111 '\'
03:10:28.139115 Received DATA (on stdin)
03:10:28.139172 > 1 bytes data, server => client
03:10:28.139198 '_'
03:10:28.149195 Received DATA (on stdin)
03:10:28.149237 > 1 bytes data, server => client
03:10:28.149260 '_'
03:10:28.159277 Received DATA (on stdin)
03:10:28.159339 > 1 bytes data, server => client
03:10:28.159364 '_'
03:10:28.169346 Received DATA (on stdin)
03:10:28.169378 > 1 bytes data, server => client
03:10:28.169392 '/'
03:10:28.179429 Received DATA (on stdin)
03:10:28.179464 > 1 bytes data, server => client
03:10:28.179476 '|'
03:10:28.189564 Received DATA (on stdin)
03:10:28.189627 > 1 bytes data, server => client
03:10:28.189648 '_'
03:10:28.199638 Received DATA (on stdin)
03:10:28.199703 > 1 bytes data, server => client
03:10:28.199727 '|'
03:10:28.209739 Received DATA (on stdin)
03:10:28.209796 > 1 bytes data, server => client
03:10:28.209819 ' '
03:10:28.219843 Received DATA (on stdin)
03:10:28.219907 > 1 bytes data, server => client
03:10:28.219932 '\'
03:10:28.229954 Received DATA (on stdin)
03:10:28.230013 > 1 bytes data, server => client
03:10:28.230039 '_'
03:10:28.240029 Received DATA (on stdin)
03:10:28.240089 > 1 bytes data, server => client
03:10:28.240116 '\'
03:10:28.250100 Received DATA (on stdin)
03:10:28.250170 > 1 bytes data, server => client
03:10:28.250207 '_'
03:10:28.260214 Received DATA (on stdin)
03:10:28.260273 > 1 bytes data, server => client
03:10:28.260300 '_'
03:10:28.270310 Received DATA (on stdin)
03:10:28.270370 > 1 bytes data, server => client
03:10:28.270398 '_'
03:10:28.280399 Received DATA (on stdin)
03:10:28.280476 > 1 bytes data, server => client
03:10:28.280502 '_'
03:10:28.290482 Received DATA (on stdin)
03:10:28.290543 > 1 bytes data, server => client
03:10:28.290570 '_'
03:10:28.300550 Received DATA (on stdin)
03:10:28.300614 > 1 bytes data, server => client
03:10:28.300643 '|'
03:10:28.310638 Received DATA (on stdin)
03:10:28.310694 > 1 bytes data, server => client
03:10:28.310728 '\r'
03:10:28.320745 Received DATA (on stdin)
03:10:28.320805 > 1 bytes data, server => client
03:10:28.320831 '\n'
03:10:28.339753 < 16 bytes data, client => server
03:10:28.339778 'USER anonymous\r\n'
03:10:28.339913 Received DATA (on stdin)
03:10:28.339926 > 1 bytes data, server => client
03:10:28.339938 '3'
03:10:28.350003 Received DATA (on stdin)
03:10:28.350039 > 1 bytes data, server => client
03:10:28.350058 '3'
03:10:28.360096 Received DATA (on stdin)
03:10:28.360138 > 1 bytes data, server => client
03:10:28.360156 '1'
03:10:28.370215 Received DATA (on stdin)
03:10:28.370270 > 1 bytes data, server => client
03:10:28.370296 ' '
03:10:28.380284 Received DATA (on stdin)
03:10:28.380343 > 1 bytes data, server => client
03:10:28.380371 'O'
03:10:28.390342 Received DATA (on stdin)
03:10:28.390397 > 1 bytes data, server => client
03:10:28.390422 'K'
03:10:28.400442 Received DATA (on stdin)
03:10:28.400500 > 1 bytes data, server => client
03:10:28.400524 '\r'
03:10:28.410527 Received DATA (on stdin)
03:10:28.410581 > 1 bytes data, server => client
03:10:28.410617 '\n'
03:10:28.415005 < 22 bytes data, client => server
03:10:28.415068 'PASS ftp@example.com\r\n'
03:10:28.420917 Received DATA (on stdin)
03:10:28.420956 > 1 bytes data, server => client
03:10:28.420978 '2'
03:10:28.431028 Received DATA (on stdin)
03:10:28.431087 > 1 bytes data, server => client
03:10:28.431114 '3'
03:10:28.441086 Received DATA (on stdin)
03:10:28.441141 > 1 bytes data, server => client
03:10:28.441174 '0'
03:10:28.451179 Received DATA (on stdin)
03:10:28.451233 > 1 bytes data, server => client
03:10:28.451267 ' '
03:10:28.461284 Received DATA (on stdin)
03:10:28.461343 > 1 bytes data, server => client
03:10:28.461370 'O'
03:10:28.471353 Received DATA (on stdin)
03:10:28.471408 > 1 bytes data, server => client
03:10:28.471433 'K'
03:10:28.481460 Received DATA (on stdin)
03:10:28.481520 > 1 bytes data, server => client
03:10:28.481546 '\r'
03:10:28.491540 Received DATA (on stdin)
03:10:28.491599 > 1 bytes data, server => client
03:10:28.491626 '\n'
03:10:28.494567 < 8 bytes data, client => server
03:10:28.494627 'PBSZ 0\r\n'
03:10:28.501932 Received DATA (on stdin)
03:10:28.501994 > 1 bytes data, server => client
03:10:28.502021 '5'
03:10:28.512008 Received DATA (on stdin)
03:10:28.512067 > 1 bytes data, server => client
03:10:28.512094 '0'
03:10:28.522082 Received DATA (on stdin)
03:10:28.522141 > 1 bytes data, server => client
03:10:28.522168 '0'
03:10:28.532159 Received DATA (on stdin)
03:10:28.532218 > 1 bytes data, server => client
03:10:28.532245 ' '
03:10:28.542226 Received DATA (on stdin)
03:10:28.542285 > 1 bytes data, server => client
03:10:28.542317 'P'
03:10:28.552333 Received DATA (on stdin)
03:10:28.552393 > 1 bytes data, server => client
03:10:28.552434 'B'
03:10:28.562394 Received DATA (on stdin)
03:10:28.562453 > 1 bytes data, server => client
03:10:28.562485 'S'
03:10:28.572458 Received DATA (on stdin)
03:10:28.572496 > 1 bytes data, server => client
03:10:28.572519 'Z'
03:10:28.582543 Received DATA (on stdin)
03:10:28.582599 > 1 bytes data, server => client
03:10:28.582624 ' '
03:10:28.592648 Received DATA (on stdin)
03:10:28.592709 > 1 bytes data, server => client
03:10:28.592736 'n'
03:10:28.602713 Received DATA (on stdin)
03:10:28.602764 > 1 bytes data, server => client
03:10:28.602780 'o'
03:10:28.612799 Received DATA (on stdin)
03:10:28.612827 > 1 bytes data, server => client
03:10:28.612841 't'
03:10:28.622908 Received DATA (on stdin)
03:10:28.622965 > 1 bytes data, server => client
03:10:28.622984 ' '
03:10:28.633017 Received DATA (on stdin)
03:10:28.633079 > 1 bytes data, server => client
03:10:28.633102 'i'
03:10:28.643100 Received DATA (on stdin)
03:10:28.643162 > 1 bytes data, server => client
03:10:28.643185 'm'
03:10:28.653203 Received DATA (on stdin)
03:10:28.653251 > 1 bytes data, server => client
03:10:28.653274 'p'
03:10:28.663296 Received DATA (on stdin)
03:10:28.663335 > 1 bytes data, server => client
03:10:28.663359 'l'
03:10:28.673406 Received DATA (on stdin)
03:10:28.673471 > 1 bytes data, server => client
03:10:28.673506 'e'
03:10:28.683493 Received DATA (on stdin)
03:10:28.683556 > 1 bytes data, server => client
03:10:28.683576 'm'
03:10:28.693591 Received DATA (on stdin)
03:10:28.693647 > 1 bytes data, server => client
03:10:28.693688 'e'
03:10:28.703678 Received DATA (on stdin)
03:10:28.703744 > 1 bytes data, server => client
03:10:28.703766 'n'
03:10:28.713801 Received DATA (on stdin)
03:10:28.713855 > 1 bytes data, server => client
03:10:28.713880 't'
03:10:28.723900 Received DATA (on stdin)
03:10:28.723964 > 1 bytes data, server => client
03:10:28.723989 'e'
03:10:28.733999 Received DATA (on stdin)
03:10:28.734058 > 1 bytes data, server => client
03:10:28.734086 'd'
03:10:28.744094 Received DATA (on stdin)
03:10:28.744153 > 1 bytes data, server => client
03:10:28.744180 '\r'
03:10:28.754189 Received DATA (on stdin)
03:10:28.754248 > 1 bytes data, server => client
03:10:28.754275 '\n'
03:10:28.757048 < 8 bytes data, client => server
03:10:28.757107 'PROT C\r\n'
03:10:28.764635 Received DATA (on stdin)
03:10:28.764696 > 1 bytes data, server => client
03:10:28.764724 '5'
03:10:28.774712 Received DATA (on stdin)
03:10:28.774771 > 1 bytes data, server => client
03:10:28.774799 '0'
03:10:28.784789 Received DATA (on stdin)
03:10:28.784848 > 1 bytes data, server => client
03:10:28.784876 '0'
03:10:28.794879 Received DATA (on stdin)
03:10:28.794938 > 1 bytes data, server => client
03:10:28.794965 ' '
03:10:28.804961 Received DATA (on stdin)
03:10:28.805020 > 1 bytes data, server => client
03:10:28.805048 'P'
03:10:28.815052 Received DATA (on stdin)
03:10:28.815110 > 1 bytes data, server => client
03:10:28.815138 'R'
03:10:28.825145 Received DATA (on stdin)
03:10:28.825203 > 1 bytes data, server => client
03:10:28.825231 'O'
03:10:28.835239 Received DATA (on stdin)
03:10:28.835298 > 1 bytes data, server => client
03:10:28.835325 'T'
03:10:28.845333 Received DATA (on stdin)
03:10:28.845392 > 1 bytes data, server => client
03:10:28.845419 ' '
03:10:28.855426 Received DATA (on stdin)
03:10:28.855485 > 1 bytes data, server => client
03:10:28.855512 'n'
03:10:28.865489 Received DATA (on stdin)
03:10:28.865546 > 1 bytes data, server => client
03:10:28.865573 'o'
03:10:28.875581 Received DATA (on stdin)
03:10:28.875631 > 1 bytes data, server => client
03:10:28.875657 't'
03:10:28.885664 Received DATA (on stdin)
03:10:28.885711 > 1 bytes data, server => client
03:10:28.885736 ' '
03:10:28.895758 Received DATA (on stdin)
03:10:28.895798 > 1 bytes data, server => client
03:10:28.895821 'i'
03:10:28.905865 Received DATA (on stdin)
03:10:28.905924 > 1 bytes data, server => client
03:10:28.905952 'm'
03:10:28.915946 Received DATA (on stdin)
03:10:28.916139 > 1 bytes data, server => client
03:10:28.916165 'p'
03:10:28.926026 Received DATA (on stdin)
03:10:28.926086 > 1 bytes data, server => client
03:10:28.926114 'l'
03:10:28.936093 Received DATA (on stdin)
03:10:28.936147 > 1 bytes data, server => client
03:10:28.936172 'e'
03:10:28.946204 Received DATA (on stdin)
03:10:28.946267 > 1 bytes data, server => client
03:10:28.946295 'm'
03:10:28.956314 Received DATA (on stdin)
03:10:28.956373 > 1 bytes data, server => client
03:10:28.956401 'e'
03:10:28.966407 Received DATA (on stdin)
03:10:28.966466 > 1 bytes data, server => client
03:10:28.966493 'n'
03:10:28.976484 Received DATA (on stdin)
03:10:28.976543 > 1 bytes data, server => client
03:10:28.976570 't'
03:10:28.986582 Received DATA (on stdin)
03:10:28.986641 > 1 bytes data, server => client
03:10:28.986668 'e'
03:10:28.996666 Received DATA (on stdin)
03:10:28.996740 > 1 bytes data, server => client
03:10:28.996779 'd'
03:10:29.006768 Received DATA (on stdin)
03:10:29.006834 > 1 bytes data, server => client
03:10:29.006861 '\r'
03:10:29.016863 Received DATA (on stdin)
03:10:29.016924 > 1 bytes data, server => client
03:10:29.016951 '\n'
03:10:29.020135 < 5 bytes data, client => server
03:10:29.020191 'PWD\r\n'
03:10:29.027466 Received DATA (on stdin)
03:10:29.027529 > 1 bytes data, server => client
03:10:29.027562 '2'
03:10:29.037559 Received DATA (on stdin)
03:10:29.037619 > 1 bytes data, server => client
03:10:29.037647 '5'
03:10:29.047662 Received DATA (on stdin)
03:10:29.047721 > 1 bytes data, server => client
03:10:29.047748 '7'
03:10:29.057729 Received DATA (on stdin)
03:10:29.057801 > 1 bytes data, server => client
03:10:29.057855 ' '
03:10:29.067808 Received DATA (on stdin)
03:10:29.067867 > 1 bytes data, server => client
03:10:29.067893 '"'
03:10:29.077891 Received DATA (on stdin)
03:10:29.077952 > 1 bytes data, server => client
03:10:29.077979 '/'
03:10:29.088000 Received DATA (on stdin)
03:10:29.088059 > 1 bytes data, server => client
03:10:29.088086 '"'
03:10:29.098091 Received DATA (on stdin)
03:10:29.098151 > 1 bytes data, server => client
03:10:29.098179 '\r'
03:10:29.108195 Received DATA (on stdin)
03:10:29.108253 > 1 bytes data, server => client
03:10:29.108281 '\n'
03:10:29.124891 < 6 bytes data, client => server
03:10:29.124913 'EPSV\r\n'
03:10:29.126904 Received DATA (on stdin)
03:10:29.126927 > 1 bytes data, server => client
03:10:29.126942 '2'
03:10:29.137011 Received DATA (on stdin)
03:10:29.137046 > 1 bytes data, server => client
03:10:29.137076 '2'
03:10:29.147098 Received DATA (on stdin)
03:10:29.147148 > 1 bytes data, server => client
03:10:29.147172 '9'
03:10:29.157199 Received DATA (on stdin)
03:10:29.157254 > 1 bytes data, server => client
03:10:29.157281 ' '
03:10:29.167306 Received DATA (on stdin)
03:10:29.167364 > 1 bytes data, server => client
03:10:29.167391 'E'
03:10:29.177381 Received DATA (on stdin)
03:10:29.177450 > 1 bytes data, server => client
03:10:29.177475 'n'
03:10:29.187477 Received DATA (on stdin)
03:10:29.187538 > 1 bytes data, server => client
03:10:29.187559 't'
03:10:29.197611 Received DATA (on stdin)
03:10:29.197689 > 1 bytes data, server => client
03:10:29.197715 'e'
03:10:29.207708 Received DATA (on stdin)
03:10:29.207771 > 1 bytes data, server => client
03:10:29.207797 'r'
03:10:29.217803 Received DATA (on stdin)
03:10:29.217861 > 1 bytes data, server => client
03:10:29.217887 'i'
03:10:29.227900 Received DATA (on stdin)
03:10:29.227961 > 1 bytes data, server => client
03:10:29.227989 'n'
03:10:29.237978 Received DATA (on stdin)
03:10:29.238046 > 1 bytes data, server => client
03:10:29.238082 'g'
03:10:29.248080 Received DATA (on stdin)
03:10:29.248141 > 1 bytes data, server => client
03:10:29.248166 ' '
03:10:29.258163 Received DATA (on stdin)
03:10:29.258228 > 1 bytes data, server => client
03:10:29.258255 'P'
03:10:29.268263 Received DATA (on stdin)
03:10:29.268323 > 1 bytes data, server => client
03:10:29.268363 'a'
03:10:29.278348 Received DATA (on stdin)
03:10:29.278410 > 1 bytes data, server => client
03:10:29.278435 's'
03:10:29.288452 Received DATA (on stdin)
03:10:29.288510 > 1 bytes data, server => client
03:10:29.288536 's'
03:10:29.298577 Received DATA (on stdin)
03:10:29.298652 > 1 bytes data, server => client
03:10:29.298694 'i'
03:10:29.308672 Received DATA (on stdin)
03:10:29.308731 > 1 bytes data, server => client
03:10:29.308759 'v'
03:10:29.318742 Received DATA (on stdin)
03:10:29.318811 > 1 bytes data, server => client
03:10:29.318853 'e'
03:10:29.328851 Received DATA (on stdin)
03:10:29.328912 > 1 bytes data, server => client
03:10:29.328939 ' '
03:10:29.338916 Received DATA (on stdin)
03:10:29.338985 > 1 bytes data, server => client
03:10:29.339023 'M'
03:10:29.348996 Received DATA (on stdin)
03:10:29.349064 > 1 bytes data, server => client
03:10:29.349107 'o'
03:10:29.359109 Received DATA (on stdin)
03:10:29.359168 > 1 bytes data, server => client
03:10:29.359196 'd'
03:10:29.369195 Received DATA (on stdin)
03:10:29.369258 > 1 bytes data, server => client
03:10:29.369288 'e'
03:10:29.379289 Received DATA (on stdin)
03:10:29.379358 > 1 bytes data, server => client
03:10:29.379402 ' '
03:10:29.389403 Received DATA (on stdin)
03:10:29.389468 > 1 bytes data, server => client
03:10:29.389495 '('
03:10:29.399494 Received DATA (on stdin)
03:10:29.399556 > 1 bytes data, server => client
03:10:29.399584 '|'
03:10:29.409578 Received DATA (on stdin)
03:10:29.409638 > 1 bytes data, server => client
03:10:29.409666 '|'
03:10:29.419625 Received DATA (on stdin)
03:10:29.419681 > 1 bytes data, server => client
03:10:29.419706 '|'
03:10:29.429742 Received DATA (on stdin)
03:10:29.429801 > 1 bytes data, server => client
03:10:29.429829 '3'
03:10:29.439838 Received DATA (on stdin)
03:10:29.439897 > 1 bytes data, server => client
03:10:29.439925 '3'
03:10:29.449932 Received DATA (on stdin)
03:10:29.449992 > 1 bytes data, server => client
03:10:29.450029 '0'
03:10:29.460003 Received DATA (on stdin)
03:10:29.460062 > 1 bytes data, server => client
03:10:29.460087 '6'
03:10:29.470105 Received DATA (on stdin)
03:10:29.470162 > 1 bytes data, server => client
03:10:29.470187 '7'
03:10:29.480221 Received DATA (on stdin)
03:10:29.480279 > 1 bytes data, server => client
03:10:29.480307 '|'
03:10:29.490322 Received DATA (on stdin)
03:10:29.490384 > 1 bytes data, server => client
03:10:29.490412 ')'
03:10:29.500403 Received DATA (on stdin)
03:10:29.500479 > 1 bytes data, server => client
03:10:29.500507 '\n'
03:10:29.519974 < 8 bytes data, client => server
03:10:29.519997 'TYPE I\r\n'
03:10:29.520139 Received DATA (on stdin)
03:10:29.520162 > 1 bytes data, server => client
03:10:29.520175 '2'
03:10:29.530216 Received DATA (on stdin)
03:10:29.530265 > 1 bytes data, server => client
03:10:29.530287 '0'
03:10:29.540339 Received DATA (on stdin)
03:10:29.540402 > 1 bytes data, server => client
03:10:29.540447 '0'
03:10:29.550432 Received DATA (on stdin)
03:10:29.550492 > 1 bytes data, server => client
03:10:29.550520 ' '
03:10:29.560479 Received DATA (on stdin)
03:10:29.560549 > 1 bytes data, server => client
03:10:29.560577 'O'
03:10:29.570585 Received DATA (on stdin)
03:10:29.570646 > 1 bytes data, server => client
03:10:29.570670 'K'
03:10:29.580685 Received DATA (on stdin)
03:10:29.580744 > 1 bytes data, server => client
03:10:29.580771 '\r'
03:10:29.590767 Received DATA (on stdin)
03:10:29.590826 > 1 bytes data, server => client
03:10:29.590854 '\n'
03:10:29.594764 < 11 bytes data, client => server
03:10:29.594819 'SIZE 1112\r\n'
03:10:29.601822 Received DATA (on stdin)
03:10:29.601883 > 1 bytes data, server => client
03:10:29.601911 '2'
03:10:29.611903 Received DATA (on stdin)
03:10:29.611962 > 1 bytes data, server => client
03:10:29.611990 '1'
03:10:29.621960 Received DATA (on stdin)
03:10:29.622030 > 1 bytes data, server => client
03:10:29.622062 '3'
03:10:29.632053 Received DATA (on stdin)
03:10:29.632112 > 1 bytes data, server => client
03:10:29.632141 ' '
03:10:29.642124 Received DATA (on stdin)
03:10:29.642189 > 1 bytes data, server => client
03:10:29.642218 '3'
03:10:29.652209 Received DATA (on stdin)
03:10:29.652271 > 1 bytes data, server => client
03:10:29.652297 '6'
03:10:29.662317 Received DATA (on stdin)
03:10:29.662380 > 1 bytes data, server => client
03:10:29.662407 '0'
03:10:29.672405 Received DATA (on stdin)
03:10:29.672481 > 1 bytes data, server => client
03:10:29.672507 '0'
03:10:29.682509 Received DATA (on stdin)
03:10:29.682575 > 1 bytes data, server => client
03:10:29.682601 '\r'
03:10:29.692640 Received DATA (on stdin)
03:10:29.692708 > 1 bytes data, server => client
03:10:29.692753 '\n'
03:10:29.699126 < 11 bytes data, client => server
03:10:29.699183 'RETR 1112\r\n'
03:10:29.703680 Received DATA (on stdin)
03:10:29.703748 > 1 bytes data, server => client
03:10:29.703773 '1'
03:10:29.713751 Received DATA (on stdin)
03:10:29.713817 > 1 bytes data, server => client
03:10:29.713843 '5'
03:10:29.723856 Received DATA (on stdin)
03:10:29.723915 > 1 bytes data, server => client
03:10:29.723942 '0'
03:10:29.733943 Received DATA (on stdin)
03:10:29.734002 > 1 bytes data, server => client
03:10:29.734030 ' '
03:10:29.744036 Received DATA (on stdin)
03:10:29.744096 > 1 bytes data, server => client
03:10:29.744124 'B'
03:10:29.754130 Received DATA (on stdin)
03:10:29.754190 > 1 bytes data, server => client
03:10:29.754217 'i'
03:10:29.764220 Received DATA (on stdin)
03:10:29.764280 > 1 bytes data, server => client
03:10:29.764307 'n'
03:10:29.774316 Received DATA (on stdin)
03:10:29.774382 > 1 bytes data, server => client
03:10:29.774422 'a'
03:10:29.784366 Received DATA (on stdin)
03:10:29.784435 > 1 bytes data, server => client
03:10:29.784468 'r'
03:10:29.794476 Received DATA (on stdin)
03:10:29.794534 > 1 bytes data, server => client
03:10:29.794562 'y'
03:10:29.804533 Received DATA (on stdin)
03:10:29.804589 > 1 bytes data, server => client
03:10:29.804614 ' '
03:10:29.814640 Received DATA (on stdin)
03:10:29.814699 > 1 bytes data, server => client
03:10:29.814726 'd'
03:10:29.824703 Received DATA (on stdin)
03:10:29.824759 > 1 bytes data, server => client
03:10:29.824783 'a'
03:10:29.834799 Received DATA (on stdin)
03:10:29.834868 > 1 bytes data, server => client
03:10:29.834904 't'
03:10:29.844887 Received DATA (on stdin)
03:10:29.844958 > 1 bytes data, server => client
03:10:29.844996 'a'
03:10:29.854968 Received DATA (on stdin)
03:10:29.855026 > 1 bytes data, server => client
03:10:29.855054 ' '
03:10:29.865054 Received DATA (on stdin)
03:10:29.865116 > 1 bytes data, server => client
03:10:29.865144 'c'
03:10:29.875129 Received DATA (on stdin)
03:10:29.875206 > 1 bytes data, server => client
03:10:29.875232 'o'
03:10:29.885235 Received DATA (on stdin)
03:10:29.885303 > 1 bytes data, server => client
03:10:29.885331 'n'
03:10:29.895335 Received DATA (on stdin)
03:10:29.895404 > 1 bytes data, server => client
03:10:29.895432 'n'
03:10:29.905423 Received DATA (on stdin)
03:10:29.905482 > 1 bytes data, server => client
03:10:29.905510 'e'
03:10:29.915492 Received DATA (on stdin)
03:10:29.915551 > 1 bytes data, server => client
03:10:29.915577 'c'
03:10:29.925595 Received DATA (on stdin)
03:10:29.925654 > 1 bytes data, server => client
03:10:29.925681 't'
03:10:29.935682 Received DATA (on stdin)
03:10:29.935741 > 1 bytes data, server => client
03:10:29.935769 'i'
03:10:29.945776 Received DATA (on stdin)
03:10:29.945835 > 1 bytes data, server => client
03:10:29.945863 'o'
03:10:29.955866 Received DATA (on stdin)
03:10:29.955925 > 1 bytes data, server => client
03:10:29.955952 'n'
03:10:29.965948 Received DATA (on stdin)
03:10:29.966014 > 1 bytes data, server => client
03:10:29.966056 ' '
03:10:29.976040 Received DATA (on stdin)
03:10:29.976099 > 1 bytes data, server => client
03:10:29.976127 'f'
03:10:29.986134 Received DATA (on stdin)
03:10:29.986192 > 1 bytes data, server => client
03:10:29.986220 'o'
03:10:29.996227 Received DATA (on stdin)
03:10:29.996286 > 1 bytes data, server => client
03:10:29.996313 'r'
03:10:30.006327 Received DATA (on stdin)
03:10:30.006397 > 1 bytes data, server => client
03:10:30.006423 ' '
03:10:30.016428 Received DATA (on stdin)
03:10:30.016514 > 1 bytes data, server => client
03:10:30.016539 '1'
03:10:30.026520 Received DATA (on stdin)
03:10:30.026581 > 1 bytes data, server => client
03:10:30.026609 '1'
03:10:30.036622 Received DATA (on stdin)
03:10:30.036691 > 1 bytes data, server => client
03:10:30.036738 '1'
03:10:30.046720 Received DATA (on stdin)
03:10:30.046778 > 1 bytes data, server => client
03:10:30.046809 '2'
03:10:30.056803 Received DATA (on stdin)
03:10:30.056876 > 1 bytes data, server => client
03:10:30.056916 ' '
03:10:30.066936 Received DATA (on stdin)
03:10:30.067012 > 1 bytes data, server => client
03:10:30.067036 '('
03:10:30.077038 Received DATA (on stdin)
03:10:30.077098 > 1 bytes data, server => client
03:10:30.077124 ')'
03:10:30.087136 Received DATA (on stdin)
03:10:30.087206 > 1 bytes data, server => client
03:10:30.087232 ' '
03:10:30.097223 Received DATA (on stdin)
03:10:30.097285 > 1 bytes data, server => client
03:10:30.097312 '('
03:10:30.107317 Received DATA (on stdin)
03:10:30.107378 > 1 bytes data, server => client
03:10:30.107405 '3'
03:10:30.117413 Received DATA (on stdin)
03:10:30.117474 > 1 bytes data, server => client
03:10:30.117501 '6'
03:10:30.127491 Received DATA (on stdin)
03:10:30.127554 > 1 bytes data, server => client
03:10:30.127582 '0'
03:10:30.137592 Received DATA (on stdin)
03:10:30.137651 > 1 bytes data, server => client
03:10:30.137678 '0'
03:10:30.147674 Received DATA (on stdin)
03:10:30.147734 > 1 bytes data, server => client
03:10:30.147761 ' '
03:10:30.157752 Received DATA (on stdin)
03:10:30.157811 > 1 bytes data, server => client
03:10:30.157839 'b'
03:10:30.167840 Received DATA (on stdin)
03:10:30.167904 > 1 bytes data, server => client
03:10:30.167932 'y'
03:10:30.177919 Received DATA (on stdin)
03:10:30.178031 > 1 bytes data, server => client
03:10:30.178079 't'
03:10:30.188025 Received DATA (on stdin)
03:10:30.188113 > 1 bytes data, server => client
03:10:30.188140 'e'
03:10:30.198134 Received DATA (on stdin)
03:10:30.198193 > 1 bytes data, server => client
03:10:30.198215 's'
03:10:30.208238 Received DATA (on stdin)
03:10:30.208299 > 1 bytes data, server => client
03:10:30.208332 ')'
03:10:30.218352 Received DATA (on stdin)
03:10:30.218411 > 1 bytes data, server => client
03:10:30.218437 '.'
03:10:30.228430 Received DATA (on stdin)
03:10:30.228490 > 1 bytes data, server => client
03:10:30.228516 '\r'
03:10:30.238542 Received DATA (on stdin)
03:10:30.238603 > 1 bytes data, server => client
03:10:30.238630 '\n'
03:10:40.661938 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:22.678597 Running IPv4 version
03:10:22.678694 Listening on port 45359
03:10:22.678729 Wrote pid 13936 to ./.ftp_sockdata.pid
03:10:22.678751 Received PING (on stdin)
03:10:22.678859 Received PORT (on stdin)
03:10:22.679303 ====> Client connect
03:10:22.680347 Received DATA (on stdin)
03:10:22.680375 > 17 bytes data, server => client
03:10:22.680401 'WE ROOLZ: 13832\r\n'
03:10:22.680474 Received DISC (on stdin)
03:10:22.680496 ====> Client forcibly disconnected
03:10:22.680535 Received QUIT (on stdin)
03:10:22.680557 quits
03:10:22.680586 ============> sockfilt quits
03:10:29.126566 Running IPv4 version
03:10:29.126625 Listening on port 33067
03:10:29.126665 Wrote pid 13941 to ./.ftp_sockdata.pid
03:10:29.126681 Received PING (on stdin)
03:10:29.126748 Received PORT (on stdin)
03:10:29.514109 ====> Client connect
03:10:30.248782 Received DATA (on stdin)
03:10:30.248848 > 1 bytes data, server => client
03:10:30.248875 'L'
03:10:30.258839 Received DATA (on stdin)
03:10:30.258865 > 1 bytes data, server => client
03:10:30.258879 'o'
03:10:30.268918 Received DATA (on stdin)
03:10:30.268983 > 1 bytes data, server => client
03:10:30.269024 'n'
03:10:30.279013 Received DATA (on stdin)
03:10:30.279073 > 1 bytes data, server => client
03:10:30.279100 'g'
03:10:30.289103 Received DATA (on stdin)
03:10:30.289163 > 1 bytes data, server => client
03:10:30.289189 ' '
03:10:30.299198 Received DATA (on stdin)
03:10:30.299252 > 1 bytes data, server => client
03:10:30.299278 'c'
03:10:30.309318 Received DATA (on stdin)
03:10:30.309380 > 1 bytes data, server => client
03:10:30.309407 'h'
03:10:30.319401 Received DATA (on stdin)
03:10:30.319465 > 1 bytes data, server => client
03:10:30.319492 'u'
03:10:30.329474 Received DATA (on stdin)
03:10:30.329535 > 1 bytes data, server => client
03:10:30.329563 'n'
03:10:30.339549 Received DATA (on stdin)
03:10:30.339609 > 1 bytes data, server => client
03:10:30.339636 'k'
03:10:30.349639 Received DATA (on stdin)
03:10:30.349699 > 1 bytes data, server => client
03:10:30.349726 ' '
03:10:30.359724 Received DATA (on stdin)
03:10:30.359783 > 1 bytes data, server => client
03:10:30.359811 'o'
03:10:30.369815 Received DATA (on stdin)
03:10:30.369874 > 1 bytes data, server => client
03:10:30.369902 'f'
03:10:30.379908 Received DATA (on stdin)
03:10:30.379967 > 1 bytes data, server => client
03:10:30.379995 ' '
03:10:30.389991 Received DATA (on stdin)
03:10:30.390050 > 1 bytes data, server => client
03:10:30.390077 'd'
03:10:30.400082 Received DATA (on stdin)
03:10:30.400141 > 1 bytes data, server => client
03:10:30.400168 'a'
03:10:30.410176 Received DATA (on stdin)
03:10:30.410235 > 1 bytes data, server => client
03:10:30.410262 't'
03:10:30.420231 Received DATA (on stdin)
03:10:30.420288 > 1 bytes data, server => client
03:10:30.420314 'a'
03:10:30.430346 Received DATA (on stdin)
03:10:30.430405 > 1 bytes data, server => client
03:10:30.430432 ' '
03:10:30.440433 Received DATA (on stdin)
03:10:30.440490 > 1 bytes data, server => client
03:10:30.440515 't'
03:10:30.450543 Received DATA (on stdin)
03:10:30.450602 > 1 bytes data, server => client
03:10:30.450630 'h'
03:10:30.460639 Received DATA (on stdin)
03:10:30.460698 > 1 bytes data, server => client
03:10:30.460725 'a'
03:10:30.470735 Received DATA (on stdin)
03:10:30.470793 > 1 bytes data, server => client
03:10:30.470821 't'
03:10:30.480831 Received DATA (on stdin)
03:10:30.480889 > 1 bytes data, server => client
03:10:30.480917 ' '
03:10:30.490927 Received DATA (on stdin)
03:10:30.490985 > 1 bytes data, server => client
03:10:30.491013 'c'
03:10:30.501018 Received DATA (on stdin)
03:10:30.501079 > 1 bytes data, server => client
03:10:30.501107 'o'
03:10:30.511085 Received DATA (on stdin)
03:10:30.511144 > 1 bytes data, server => client
03:10:30.511170 'u'
03:10:30.521178 Received DATA (on stdin)
03:10:30.521221 > 1 bytes data, server => client
03:10:30.521252 'l'
03:10:30.531268 Received DATA (on stdin)
03:10:30.531305 > 1 bytes data, server => client
03:10:30.531327 'd'
03:10:30.541391 Received DATA (on stdin)
03:10:30.541451 > 1 bytes data, server => client
03:10:30.541494 'n'
03:10:30.551484 Received DATA (on stdin)
03:10:30.551545 > 1 bytes data, server => client
03:10:30.551577 '''
03:10:30.561580 Received DATA (on stdin)
03:10:30.561638 > 1 bytes data, server => client
03:10:30.561666 't'
03:10:30.571673 Received DATA (on stdin)
03:10:30.571735 > 1 bytes data, server => client
03:10:30.571772 ' '
03:10:30.581767 Received DATA (on stdin)
03:10:30.581827 > 1 bytes data, server => client
03:10:30.581855 'p'
03:10:30.591864 Received DATA (on stdin)
03:10:30.591924 > 1 bytes data, server => client
03:10:30.591952 'o'
03:10:30.601952 Received DATA (on stdin)
03:10:30.602017 > 1 bytes data, server => client
03:10:30.602044 's'
03:10:30.612017 Received DATA (on stdin)
03:10:30.612044 > 1 bytes data, server => client
03:10:30.612058 's'
03:10:30.622123 Received DATA (on stdin)
03:10:30.622189 > 1 bytes data, server => client
03:10:30.622210 'i'
03:10:30.632215 Received DATA (on stdin)
03:10:30.632275 > 1 bytes data, server => client
03:10:30.632287 'b'
03:10:30.642313 Received DATA (on stdin)
03:10:30.642368 > 1 bytes data, server => client
03:10:30.642383 'l'
03:10:30.652451 Received DATA (on stdin)
03:10:30.652500 > 1 bytes data, server => client
03:10:30.652523 'y'
03:10:30.662488 Received DATA (on stdin)
03:10:30.662529 > 1 bytes data, server => client
03:10:30.662548 ' '
03:10:30.672569 Received DATA (on stdin)
03:10:30.672613 > 1 bytes data, server => client
03:10:30.672635 'b'
03:10:30.682674 Received DATA (on stdin)
03:10:30.682744 > 1 bytes data, server => client
03:10:30.682769 'e'
03:10:30.692787 Received DATA (on stdin)
03:10:30.692846 > 1 bytes data, server => client
03:10:30.692862 ' '
03:10:30.702851 Received DATA (on stdin)
03:10:30.702913 > 1 bytes data, server => client
03:10:30.702935 's'
03:10:30.712977 Received DATA (on stdin)
03:10:30.713038 > 1 bytes data, server => client
03:10:30.713064 'e'
03:10:30.723049 Received DATA (on stdin)
03:10:30.723103 > 1 bytes data, server => client
03:10:30.723136 'n'
03:10:30.733141 Received DATA (on stdin)
03:10:30.733200 > 1 bytes data, server => client
03:10:30.733226 't'
03:10:30.743236 Received DATA (on stdin)
03:10:30.743290 > 1 bytes data, server => client
03:10:30.743316 ' '
03:10:30.753352 Received DATA (on stdin)
03:10:30.753412 > 1 bytes data, server => client
03:10:30.753439 'i'
03:10:30.763462 Received DATA (on stdin)
03:10:30.763521 > 1 bytes data, server => client
03:10:30.763549 'n'
03:10:30.773556 Received DATA (on stdin)
03:10:30.773615 > 1 bytes data, server => client
03:10:30.773643 ' '
03:10:30.783649 Received DATA (on stdin)
03:10:30.783709 > 1 bytes data, server => client
03:10:30.783736 't'
03:10:30.793743 Received DATA (on stdin)
03:10:30.793803 > 1 bytes data, server => client
03:10:30.793831 'h'
03:10:30.803838 Received DATA (on stdin)
03:10:30.803897 > 1 bytes data, server => client
03:10:30.803925 'e'
03:10:30.813931 Received DATA (on stdin)
03:10:30.813991 > 1 bytes data, server => client
03:10:30.814019 ' '
03:10:30.824025 Received DATA (on stdin)
03:10:30.824084 > 1 bytes data, server => client
03:10:30.824112 't'
03:10:30.834119 Received DATA (on stdin)
03:10:30.834179 > 1 bytes data, server => client
03:10:30.834207 'i'
03:10:30.844214 Received DATA (on stdin)
03:10:30.844274 > 1 bytes data, server => client
03:10:30.844302 'm'
03:10:30.854307 Received DATA (on stdin)
03:10:30.854366 > 1 bytes data, server => client
03:10:30.854394 'e'
03:10:30.864401 Received DATA (on stdin)
03:10:30.864480 > 1 bytes data, server => client
03:10:30.864506 ' '
03:10:30.874495 Received DATA (on stdin)
03:10:30.874560 > 1 bytes data, server => client
03:10:30.874578 'a'
03:10:30.884575 Received DATA (on stdin)
03:10:30.884625 > 1 bytes data, server => client
03:10:30.884638 'l'
03:10:30.894661 Received DATA (on stdin)
03:10:30.894698 > 1 bytes data, server => client
03:10:30.894712 'l'
03:10:30.904746 Received DATA (on stdin)
03:10:30.904784 > 1 bytes data, server => client
03:10:30.904798 'o'
03:10:30.914833 Received DATA (on stdin)
03:10:30.914871 > 1 bytes data, server => client
03:10:30.914885 't'
03:10:30.924917 Received DATA (on stdin)
03:10:30.924957 > 1 bytes data, server => client
03:10:30.924971 't'
03:10:30.935000 Received DATA (on stdin)
03:10:30.935037 > 1 bytes data, server => client
03:10:30.935051 'e'
03:10:30.945082 Received DATA (on stdin)
03:10:30.945125 > 1 bytes data, server => client
03:10:30.945138 'd'
03:10:30.955161 Received DATA (on stdin)
03:10:30.955198 > 1 bytes data, server => client
03:10:30.955212 '.'
03:10:30.965234 Received DATA (on stdin)
03:10:30.965260 > 1 bytes data, server => client
03:10:30.965273 '\n'
03:10:30.975326 Received DATA (on stdin)
03:10:30.975353 > 1 bytes data, server => client
03:10:30.975367 'L'
03:10:30.985395 Received DATA (on stdin)
03:10:30.985421 > 1 bytes data, server => client
03:10:30.985434 'o'
03:10:30.995473 Received DATA (on stdin)
03:10:30.995525 > 1 bytes data, server => client
03:10:30.995540 'n'
03:10:31.005567 Received DATA (on stdin)
03:10:31.005635 > 1 bytes data, server => client
03:10:31.005661 'g'
03:10:31.015654 Received DATA (on stdin)
03:10:31.015704 > 1 bytes data, server => client
03:10:31.015734 ' '
03:10:31.025723 Received DATA (on stdin)
03:10:31.025746 > 1 bytes data, server => client
03:10:31.025760 'c'
03:10:31.035794 Received DATA (on stdin)
03:10:31.035823 > 1 bytes data, server => client
03:10:31.035837 'h'
03:10:31.045875 Received DATA (on stdin)
03:10:31.045918 > 1 bytes data, server => client
03:10:31.045933 'u'
03:10:31.055949 Received DATA (on stdin)
03:10:31.055987 > 1 bytes data, server => client
03:10:31.056002 'n'
03:10:31.066031 Received DATA (on stdin)
03:10:31.066085 > 1 bytes data, server => client
03:10:31.066101 'k'
03:10:31.076111 Received DATA (on stdin)
03:10:31.076156 > 1 bytes data, server => client
03:10:31.076171 ' '
03:10:31.086191 Received DATA (on stdin)
03:10:31.086246 > 1 bytes data, server => client
03:10:31.086262 'o'
03:10:31.096276 Received DATA (on stdin)
03:10:31.096327 > 1 bytes data, server => client
03:10:31.096343 'f'
03:10:31.106359 Received DATA (on stdin)
03:10:31.106409 > 1 bytes data, server => client
03:10:31.106423 ' '
03:10:31.116483 Received DATA (on stdin)
03:10:31.116534 > 1 bytes data, server => client
03:10:31.116554 'd'
03:10:31.126579 Received DATA (on stdin)
03:10:31.126638 > 1 bytes data, server => client
03:10:31.126660 'a'
03:10:31.136676 Received DATA (on stdin)
03:10:31.136730 > 1 bytes data, server => client
03:10:31.136756 't'
03:10:31.146767 Received DATA (on stdin)
03:10:31.146821 > 1 bytes data, server => client
03:10:31.146846 'a'
03:10:31.156862 Received DATA (on stdin)
03:10:31.156922 > 1 bytes data, server => client
03:10:31.156950 ' '
03:10:31.166951 Received DATA (on stdin)
03:10:31.167013 > 1 bytes data, server => client
03:10:31.167041 't'
03:10:31.177024 Received DATA (on stdin)
03:10:31.177089 > 1 bytes data, server => client
03:10:31.177119 'h'
03:10:31.187115 Received DATA (on stdin)
03:10:31.187175 > 1 bytes data, server => client
03:10:31.187198 'a'
03:10:31.197215 Received DATA (on stdin)
03:10:31.197269 > 1 bytes data, server => client
03:10:31.197284 't'
03:10:31.207332 Received DATA (on stdin)
03:10:31.207381 > 1 bytes data, server => client
03:10:31.207404 ' '
03:10:31.217434 Received DATA (on stdin)
03:10:31.217499 > 1 bytes data, server => client
03:10:31.217523 'c'
03:10:31.227534 Received DATA (on stdin)
03:10:31.227593 > 1 bytes data, server => client
03:10:31.227621 'o'
03:10:31.237629 Received DATA (on stdin)
03:10:31.237688 > 1 bytes data, server => client
03:10:31.237716 'u'
03:10:31.247723 Received DATA (on stdin)
03:10:31.247782 > 1 bytes data, server => client
03:10:31.247810 'l'
03:10:31.257819 Received DATA (on stdin)
03:10:31.257878 > 1 bytes data, server => client
03:10:31.257905 'd'
03:10:31.267913 Received DATA (on stdin)
03:10:31.267972 > 1 bytes data, server => client
03:10:31.268000 'n'
03:10:31.278006 Received DATA (on stdin)
03:10:31.278067 > 1 bytes data, server => client
03:10:31.278095 '''
03:10:31.288102 Received DATA (on stdin)
03:10:31.288162 > 1 bytes data, server => client
03:10:31.288189 't'
03:10:31.298199 Received DATA (on stdin)
03:10:31.298278 > 1 bytes data, server => client
03:10:31.298306 ' '
03:10:31.308294 Received DATA (on stdin)
03:10:31.308356 > 1 bytes data, server => client
03:10:31.308383 'p'
03:10:31.318388 Received DATA (on stdin)
03:10:31.318447 > 1 bytes data, server => client
03:10:31.318475 'o'
03:10:31.328452 Received DATA (on stdin)
03:10:31.328510 > 1 bytes data, server => client
03:10:31.328535 's'
03:10:31.338550 Received DATA (on stdin)
03:10:31.338612 > 1 bytes data, server => client
03:10:31.338640 's'
03:10:31.348608 Received DATA (on stdin)
03:10:31.348667 > 1 bytes data, server => client
03:10:31.348693 'i'
03:10:31.358733 Received DATA (on stdin)
03:10:31.358799 > 1 bytes data, server => client
03:10:31.358827 'b'
03:10:31.368798 Received DATA (on stdin)
03:10:31.368836 > 1 bytes data, server => client
03:10:31.368864 'l'
03:10:31.378883 Received DATA (on stdin)
03:10:31.378922 > 1 bytes data, server => client
03:10:31.378945 'y'
03:10:31.388972 Received DATA (on stdin)
03:10:31.389011 > 1 bytes data, server => client
03:10:31.389034 ' '
03:10:31.399089 Received DATA (on stdin)
03:10:31.399148 > 1 bytes data, server => client
03:10:31.399177 'b'
03:10:31.409181 Received DATA (on stdin)
03:10:31.409242 > 1 bytes data, server => client
03:10:31.409270 'e'
03:10:31.419254 Received DATA (on stdin)
03:10:31.419308 > 1 bytes data, server => client
03:10:31.419333 ' '
03:10:31.429368 Received DATA (on stdin)
03:10:31.429427 > 1 bytes data, server => client
03:10:31.429455 's'
03:10:31.439464 Received DATA (on stdin)
03:10:31.439525 > 1 bytes data, server => client
03:10:31.439553 'e'
03:10:31.449546 Received DATA (on stdin)
03:10:31.449607 > 1 bytes data, server => client
03:10:31.449634 'n'
03:10:31.459636 Received DATA (on stdin)
03:10:31.459697 > 1 bytes data, server => client
03:10:31.459725 't'
03:10:31.469709 Received DATA (on stdin)
03:10:31.469763 > 1 bytes data, server => client
03:10:31.469788 ' '
03:10:31.479826 Received DATA (on stdin)
03:10:31.479886 > 1 bytes data, server => client
03:10:31.479913 'i'
03:10:31.489920 Received DATA (on stdin)
03:10:31.489981 > 1 bytes data, server => client
03:10:31.490008 'n'
03:10:31.499989 Received DATA (on stdin)
03:10:31.500050 > 1 bytes data, server => client
03:10:31.500079 ' '
03:10:31.510107 Received DATA (on stdin)
03:10:31.510167 > 1 bytes data, server => client
03:10:31.510195 't'
03:10:31.520218 Received DATA (on stdin)
03:10:31.520278 > 1 bytes data, server => client
03:10:31.520306 'h'
03:10:31.530308 Received DATA (on stdin)
03:10:31.530402 > 1 bytes data, server => client
03:10:31.530438 'e'
03:10:31.540376 Received DATA (on stdin)
03:10:31.540445 > 1 bytes data, server => client
03:10:31.540473 ' '
03:10:31.550476 Received DATA (on stdin)
03:10:31.550545 > 1 bytes data, server => client
03:10:31.550584 't'
03:10:31.560573 Received DATA (on stdin)
03:10:31.560733 > 1 bytes data, server => client
03:10:31.560777 'i'
03:10:31.570641 Received DATA (on stdin)
03:10:31.570713 > 1 bytes data, server => client
03:10:31.570747 'm'
03:10:31.580725 Received DATA (on stdin)
03:10:31.580796 > 1 bytes data, server => client
03:10:31.580846 'e'
03:10:31.590827 Received DATA (on stdin)
03:10:31.590887 > 1 bytes data, server => client
03:10:31.590915 ' '
03:10:31.600902 Received DATA (on stdin)
03:10:31.600961 > 1 bytes data, server => client
03:10:31.600988 'a'
03:10:31.610969 Received DATA (on stdin)
03:10:31.611023 > 1 bytes data, server => client
03:10:31.611048 'l'
03:10:31.621057 Received DATA (on stdin)
03:10:31.621097 > 1 bytes data, server => client
03:10:31.621120 'l'
03:10:31.631150 Received DATA (on stdin)
03:10:31.631204 > 1 bytes data, server => client
03:10:31.631230 'o'
03:10:31.641245 Received DATA (on stdin)
03:10:31.641292 > 1 bytes data, server => client
03:10:31.641316 't'
03:10:31.651339 Received DATA (on stdin)
03:10:31.651398 > 1 bytes data, server => client
03:10:31.651425 't'
03:10:31.661434 Received DATA (on stdin)
03:10:31.661495 > 1 bytes data, server => client
03:10:31.661521 'e'
03:10:31.671518 Received DATA (on stdin)
03:10:31.671574 > 1 bytes data, server => client
03:10:31.671613 'd'
03:10:31.681606 Received DATA (on stdin)
03:10:31.681677 > 1 bytes data, server => client
03:10:31.681702 '.'
03:10:31.691704 Received DATA (on stdin)
03:10:31.691766 > 1 bytes data, server => client
03:10:31.691791 '\n'
03:10:31.701852 Received DATA (on stdin)
03:10:31.701914 > 1 bytes data, server => client
03:10:31.701941 'L'
03:10:31.711948 Received DATA (on stdin)
03:10:31.712009 > 1 bytes data, server => client
03:10:31.712036 'o'
03:10:31.722043 Received DATA (on stdin)
03:10:31.722104 > 1 bytes data, server => client
03:10:31.722132 'n'
03:10:31.732137 Received DATA (on stdin)
03:10:31.732198 > 1 bytes data, server => client
03:10:31.732226 'g'
03:10:31.742233 Received DATA (on stdin)
03:10:31.742293 > 1 bytes data, server => client
03:10:31.742321 ' '
03:10:31.752320 Received DATA (on stdin)
03:10:31.752384 > 1 bytes data, server => client
03:10:31.752425 'c'
03:10:31.762409 Received DATA (on stdin)
03:10:31.762468 > 1 bytes data, server => client
03:10:31.762495 'h'
03:10:31.772481 Received DATA (on stdin)
03:10:31.772542 > 1 bytes data, server => client
03:10:31.772569 'u'
03:10:31.782551 Received DATA (on stdin)
03:10:31.782611 > 1 bytes data, server => client
03:10:31.782638 'n'
03:10:31.792633 Received DATA (on stdin)
03:10:31.792692 > 1 bytes data, server => client
03:10:31.792720 'k'
03:10:31.802725 Received DATA (on stdin)
03:10:31.802784 > 1 bytes data, server => client
03:10:31.802812 ' '
03:10:31.812792 Received DATA (on stdin)
03:10:31.812856 > 1 bytes data, server => client
03:10:31.812883 'o'
03:10:31.822885 Received DATA (on stdin)
03:10:31.822956 > 1 bytes data, server => client
03:10:31.822983 'f'
03:10:31.832975 Received DATA (on stdin)
03:10:31.833037 > 1 bytes data, server => client
03:10:31.833064 ' '
03:10:31.843069 Received DATA (on stdin)
03:10:31.843130 > 1 bytes data, server => client
03:10:31.843158 'd'
03:10:31.853156 Received DATA (on stdin)
03:10:31.853218 > 1 bytes data, server => client
03:10:31.853246 'a'
03:10:31.863243 Received DATA (on stdin)
03:10:31.863314 > 1 bytes data, server => client
03:10:31.863341 't'
03:10:31.873345 Received DATA (on stdin)
03:10:31.873404 > 1 bytes data, server => client
03:10:31.873432 'a'
03:10:31.883439 Received DATA (on stdin)
03:10:31.883513 > 1 bytes data, server => client
03:10:31.883540 ' '
03:10:31.893525 Received DATA (on stdin)
03:10:31.893587 > 1 bytes data, server => client
03:10:31.893615 't'
03:10:31.903622 Received DATA (on stdin)
03:10:31.903683 > 1 bytes data, server => client
03:10:31.903711 'h'
03:10:31.913714 Received DATA (on stdin)
03:10:31.913774 > 1 bytes data, server => client
03:10:31.913802 'a'
03:10:31.923808 Received DATA (on stdin)
03:10:31.923867 > 1 bytes data, server => client
03:10:31.923895 't'
03:10:31.933902 Received DATA (on stdin)
03:10:31.933961 > 1 bytes data, server => client
03:10:31.933989 ' '
03:10:31.943997 Received DATA (on stdin)
03:10:31.944056 > 1 bytes data, server => client
03:10:31.944083 'c'
03:10:31.954094 Received DATA (on stdin)
03:10:31.954159 > 1 bytes data, server => client
03:10:31.954186 'o'
03:10:31.964188 Received DATA (on stdin)
03:10:31.964251 > 1 bytes data, server => client
03:10:31.964278 'u'
03:10:31.974260 Received DATA (on stdin)
03:10:31.974333 > 1 bytes data, server => client
03:10:31.974380 'l'
03:10:31.984373 Received DATA (on stdin)
03:10:31.984448 > 1 bytes data, server => client
03:10:31.984476 'd'
03:10:31.994467 Received DATA (on stdin)
03:10:31.994526 > 1 bytes data, server => client
03:10:31.994554 'n'
03:10:32.004558 Received DATA (on stdin)
03:10:32.004659 > 1 bytes data, server => client
03:10:32.004685 '''
03:10:32.014634 Received DATA (on stdin)
03:10:32.014699 > 1 bytes data, server => client
03:10:32.014717 't'
03:10:32.024761 Received DATA (on stdin)
03:10:32.024840 > 1 bytes data, server => client
03:10:32.024866 ' '
03:10:32.034822 Received DATA (on stdin)
03:10:32.034890 > 1 bytes data, server => client
03:10:32.034917 'p'
03:10:32.044940 Received DATA (on stdin)
03:10:32.045007 > 1 bytes data, server => client
03:10:32.045051 'o'
03:10:32.055006 Received DATA (on stdin)
03:10:32.055067 > 1 bytes data, server => client
03:10:32.055095 's'
03:10:32.065105 Received DATA (on stdin)
03:10:32.065167 > 1 bytes data, server => client
03:10:32.065195 's'
03:10:32.075186 Received DATA (on stdin)
03:10:32.075247 > 1 bytes data, server => client
03:10:32.075275 'i'
03:10:32.085273 Received DATA (on stdin)
03:10:32.085337 > 1 bytes data, server => client
03:10:32.085365 'b'
03:10:32.095361 Received DATA (on stdin)
03:10:32.095440 > 1 bytes data, server => client
03:10:32.095467 'l'
03:10:32.105491 Received DATA (on stdin)
03:10:32.105576 > 1 bytes data, server => client
03:10:32.105619 'y'
03:10:32.115589 Received DATA (on stdin)
03:10:32.115646 > 1 bytes data, server => client
03:10:32.115674 ' '
03:10:32.125664 Received DATA (on stdin)
03:10:32.125723 > 1 bytes data, server => client
03:10:32.125749 'b'
03:10:32.135754 Received DATA (on stdin)
03:10:32.135804 > 1 bytes data, server => client
03:10:32.135831 'e'
03:10:32.145846 Received DATA (on stdin)
03:10:32.145910 > 1 bytes data, server => client
03:10:32.145936 ' '
03:10:32.155938 Received DATA (on stdin)
03:10:32.156002 > 1 bytes data, server => client
03:10:32.156027 's'
03:10:32.166063 Received DATA (on stdin)
03:10:32.166194 > 1 bytes data, server => client
03:10:32.166229 'e'
03:10:32.176157 Received DATA (on stdin)
03:10:32.176250 > 1 bytes data, server => client
03:10:32.176295 'n'
03:10:32.186219 Received DATA (on stdin)
03:10:32.186258 > 1 bytes data, server => client
03:10:32.186269 't'
03:10:32.196302 Received DATA (on stdin)
03:10:32.196346 > 1 bytes data, server => client
03:10:32.196356 ' '
03:10:32.206381 Received DATA (on stdin)
03:10:32.206429 > 1 bytes data, server => client
03:10:32.206455 'i'
03:10:32.216472 Received DATA (on stdin)
03:10:32.216529 > 1 bytes data, server => client
03:10:32.216552 'n'
03:10:32.226565 Received DATA (on stdin)
03:10:32.226610 > 1 bytes data, server => client
03:10:32.226638 ' '
03:10:32.236646 Received DATA (on stdin)
03:10:32.236697 > 1 bytes data, server => client
03:10:32.236726 't'
03:10:32.246711 Received DATA (on stdin)
03:10:32.246769 > 1 bytes data, server => client
03:10:32.246793 'h'
03:10:32.256798 Received DATA (on stdin)
03:10:32.256867 > 1 bytes data, server => client
03:10:32.256894 'e'
03:10:32.266879 Received DATA (on stdin)
03:10:32.266936 > 1 bytes data, server => client
03:10:32.266962 ' '
03:10:32.276977 Received DATA (on stdin)
03:10:32.277065 > 1 bytes data, server => client
03:10:32.277104 't'
03:10:32.287074 Received DATA (on stdin)
03:10:32.287153 > 1 bytes data, server => client
03:10:32.287180 'i'
03:10:32.297197 Received DATA (on stdin)
03:10:32.297257 > 1 bytes data, server => client
03:10:32.297281 'm'
03:10:32.307266 Received DATA (on stdin)
03:10:32.307342 > 1 bytes data, server => client
03:10:32.307366 'e'
03:10:32.317359 Received DATA (on stdin)
03:10:32.317418 > 1 bytes data, server => client
03:10:32.317444 ' '
03:10:32.327433 Received DATA (on stdin)
03:10:32.327504 > 1 bytes data, server => client
03:10:32.327539 'a'
03:10:32.337513 Received DATA (on stdin)
03:10:32.337579 > 1 bytes data, server => client
03:10:32.337607 'l'
03:10:32.347609 Received DATA (on stdin)
03:10:32.347674 > 1 bytes data, server => client
03:10:32.347703 'l'
03:10:32.357690 Received DATA (on stdin)
03:10:32.357753 > 1 bytes data, server => client
03:10:32.357785 'o'
03:10:32.367777 Received DATA (on stdin)
03:10:32.367839 > 1 bytes data, server => client
03:10:32.367868 't'
03:10:32.377867 Received DATA (on stdin)
03:10:32.377938 > 1 bytes data, server => client
03:10:32.377981 't'
03:10:32.387934 Received DATA (on stdin)
03:10:32.387995 > 1 bytes data, server => client
03:10:32.388021 'e'
03:10:32.398040 Received DATA (on stdin)
03:10:32.398124 > 1 bytes data, server => client
03:10:32.398152 'd'
03:10:32.408130 Received DATA (on stdin)
03:10:32.408204 > 1 bytes data, server => client
03:10:32.408245 '.'
03:10:32.418195 Received DATA (on stdin)
03:10:32.418256 > 1 bytes data, server => client
03:10:32.418283 '\n'
03:10:32.428282 Received DATA (on stdin)
03:10:32.428345 > 1 bytes data, server => client
03:10:32.428384 'L'
03:10:32.438363 Received DATA (on stdin)
03:10:32.438420 > 1 bytes data, server => client
03:10:32.438445 'o'
03:10:32.448477 Received DATA (on stdin)
03:10:32.448543 > 1 bytes data, server => client
03:10:32.448570 'n'
03:10:32.458561 Received DATA (on stdin)
03:10:32.458622 > 1 bytes data, server => client
03:10:32.458651 'g'
03:10:32.468641 Received DATA (on stdin)
03:10:32.468687 > 1 bytes data, server => client
03:10:32.468718 ' '
03:10:32.478733 Received DATA (on stdin)
03:10:32.478793 > 1 bytes data, server => client
03:10:32.478823 'c'
03:10:32.488815 Received DATA (on stdin)
03:10:32.488868 > 1 bytes data, server => client
03:10:32.488898 'h'
03:10:32.498928 Received DATA (on stdin)
03:10:32.498995 > 1 bytes data, server => client
03:10:32.499022 'u'
03:10:32.508985 Received DATA (on stdin)
03:10:32.509044 > 1 bytes data, server => client
03:10:32.509070 'n'
03:10:32.519066 Received DATA (on stdin)
03:10:32.519123 > 1 bytes data, server => client
03:10:32.519155 'k'
03:10:32.529178 Received DATA (on stdin)
03:10:32.529251 > 1 bytes data, server => client
03:10:32.529280 ' '
03:10:32.539240 Received DATA (on stdin)
03:10:32.539319 > 1 bytes data, server => client
03:10:32.539362 'o'
03:10:32.549325 Received DATA (on stdin)
03:10:32.549402 > 1 bytes data, server => client
03:10:32.549446 'f'
03:10:32.559408 Received DATA (on stdin)
03:10:32.559455 > 1 bytes data, server => client
03:10:32.559480 ' '
03:10:32.569502 Received DATA (on stdin)
03:10:32.569553 > 1 bytes data, server => client
03:10:32.569579 'd'
03:10:32.579591 Received DATA (on stdin)
03:10:32.579637 > 1 bytes data, server => client
03:10:32.579662 'a'
03:10:32.589680 Received DATA (on stdin)
03:10:32.589749 > 1 bytes data, server => client
03:10:32.589776 't'
03:10:32.599786 Received DATA (on stdin)
03:10:32.599843 > 1 bytes data, server => client
03:10:32.599871 'a'
03:10:32.609860 Received DATA (on stdin)
03:10:32.609914 > 1 bytes data, server => client
03:10:32.609939 ' '
03:10:32.619941 Received DATA (on stdin)
03:10:32.619993 > 1 bytes data, server => client
03:10:32.620035 't'
03:10:32.630028 Received DATA (on stdin)
03:10:32.630077 > 1 bytes data, server => client
03:10:32.630103 'h'
03:10:32.640116 Received DATA (on stdin)
03:10:32.640169 > 1 bytes data, server => client
03:10:32.640199 'a'
03:10:32.650198 Received DATA (on stdin)
03:10:32.650248 > 1 bytes data, server => client
03:10:32.650279 't'
03:10:32.660275 Received DATA (on stdin)
03:10:32.660327 > 1 bytes data, server => client
03:10:32.660383 ' '
03:10:32.670379 Received DATA (on stdin)
03:10:32.670475 > 1 bytes data, server => client
03:10:32.670516 'c'
03:10:32.680491 Received DATA (on stdin)
03:10:32.680566 > 1 bytes data, server => client
03:10:32.680597 'o'
03:10:32.690584 Received DATA (on stdin)
03:10:32.690634 > 1 bytes data, server => client
03:10:32.690652 'u'
03:10:32.700681 Received DATA (on stdin)
03:10:32.700739 > 1 bytes data, server => client
03:10:32.700765 'l'
03:10:32.710782 Received DATA (on stdin)
03:10:32.710843 > 1 bytes data, server => client
03:10:32.710868 'd'
03:10:32.720871 Received DATA (on stdin)
03:10:32.720929 > 1 bytes data, server => client
03:10:32.720953 'n'
03:10:32.730990 Received DATA (on stdin)
03:10:32.731047 > 1 bytes data, server => client
03:10:32.731071 '''
03:10:32.741077 Received DATA (on stdin)
03:10:32.741139 > 1 bytes data, server => client
03:10:32.741169 't'
03:10:32.751178 Received DATA (on stdin)
03:10:32.751236 > 1 bytes data, server => client
03:10:32.751266 ' '
03:10:32.761260 Received DATA (on stdin)
03:10:32.761312 > 1 bytes data, server => client
03:10:32.761342 'p'
03:10:32.771374 Received DATA (on stdin)
03:10:32.771423 > 1 bytes data, server => client
03:10:32.771452 'o'
03:10:32.781464 Received DATA (on stdin)
03:10:32.781513 > 1 bytes data, server => client
03:10:32.781543 's'
03:10:32.791550 Received DATA (on stdin)
03:10:32.791604 > 1 bytes data, server => client
03:10:32.791633 's'
03:10:32.801624 Received DATA (on stdin)
03:10:32.801688 > 1 bytes data, server => client
03:10:32.801716 'i'
03:10:32.811719 Received DATA (on stdin)
03:10:32.811768 > 1 bytes data, server => client
03:10:32.811799 'b'
03:10:32.821805 Received DATA (on stdin)
03:10:32.821852 > 1 bytes data, server => client
03:10:32.821883 'l'
03:10:32.831879 Received DATA (on stdin)
03:10:32.831920 > 1 bytes data, server => client
03:10:32.831954 'y'
03:10:32.842082 Received DATA (on stdin)
03:10:32.842152 > 1 bytes data, server => client
03:10:32.842182 ' '
03:10:32.852060 Received DATA (on stdin)
03:10:32.852117 > 1 bytes data, server => client
03:10:32.852142 'b'
03:10:32.862207 Received DATA (on stdin)
03:10:32.862356 > 1 bytes data, server => client
03:10:32.862390 'e'
03:10:32.872242 Received DATA (on stdin)
03:10:32.872298 > 1 bytes data, server => client
03:10:32.872324 ' '
03:10:32.882332 Received DATA (on stdin)
03:10:32.882391 > 1 bytes data, server => client
03:10:32.882417 's'
03:10:32.892450 Received DATA (on stdin)
03:10:32.892553 > 1 bytes data, server => client
03:10:32.892582 'e'
03:10:32.902550 Received DATA (on stdin)
03:10:32.902611 > 1 bytes data, server => client
03:10:32.902638 'n'
03:10:32.912638 Received DATA (on stdin)
03:10:32.912701 > 1 bytes data, server => client
03:10:32.912730 't'
03:10:32.922728 Received DATA (on stdin)
03:10:32.922807 > 1 bytes data, server => client
03:10:32.922852 ' '
03:10:32.932821 Received DATA (on stdin)
03:10:32.932895 > 1 bytes data, server => client
03:10:32.932937 'i'
03:10:32.942926 Received DATA (on stdin)
03:10:32.942971 > 1 bytes data, server => client
03:10:32.942995 'n'
03:10:32.953033 Received DATA (on stdin)
03:10:32.953106 > 1 bytes data, server => client
03:10:32.953152 ' '
03:10:32.963134 Received DATA (on stdin)
03:10:32.963193 > 1 bytes data, server => client
03:10:32.963224 't'
03:10:32.973231 Received DATA (on stdin)
03:10:32.973296 > 1 bytes data, server => client
03:10:32.973323 'h'
03:10:32.983327 Received DATA (on stdin)
03:10:32.983388 > 1 bytes data, server => client
03:10:32.983416 'e'
03:10:32.993401 Received DATA (on stdin)
03:10:32.993458 > 1 bytes data, server => client
03:10:32.993482 ' '
03:10:33.003490 Received DATA (on stdin)
03:10:33.003562 > 1 bytes data, server => client
03:10:33.003601 't'
03:10:33.013588 Received DATA (on stdin)
03:10:33.013646 > 1 bytes data, server => client
03:10:33.013674 'i'
03:10:33.023663 Received DATA (on stdin)
03:10:33.023709 > 1 bytes data, server => client
03:10:33.023743 'm'
03:10:33.033781 Received DATA (on stdin)
03:10:33.033842 > 1 bytes data, server => client
03:10:33.033870 'e'
03:10:33.043859 Received DATA (on stdin)
03:10:33.043927 > 1 bytes data, server => client
03:10:33.043956 ' '
03:10:33.053963 Received DATA (on stdin)
03:10:33.054045 > 1 bytes data, server => client
03:10:33.054086 'a'
03:10:33.064043 Received DATA (on stdin)
03:10:33.064084 > 1 bytes data, server => client
03:10:33.064096 'l'
03:10:33.074152 Received DATA (on stdin)
03:10:33.074207 > 1 bytes data, server => client
03:10:33.074228 'l'
03:10:33.084259 Received DATA (on stdin)
03:10:33.084313 > 1 bytes data, server => client
03:10:33.084346 'o'
03:10:33.094359 Received DATA (on stdin)
03:10:33.094416 > 1 bytes data, server => client
03:10:33.094450 't'
03:10:33.104472 Received DATA (on stdin)
03:10:33.104532 > 1 bytes data, server => client
03:10:33.104559 't'
03:10:33.114559 Received DATA (on stdin)
03:10:33.114618 > 1 bytes data, server => client
03:10:33.114644 'e'
03:10:33.124650 Received DATA (on stdin)
03:10:33.124712 > 1 bytes data, server => client
03:10:33.124738 'd'
03:10:33.134767 Received DATA (on stdin)
03:10:33.134826 > 1 bytes data, server => client
03:10:33.134854 '.'
03:10:33.144831 Received DATA (on stdin)
03:10:33.144890 > 1 bytes data, server => client
03:10:33.144917 '\n'
03:10:33.154953 Received DATA (on stdin)
03:10:33.155006 > 1 bytes data, server => client
03:10:33.155031 'L'
03:10:33.165043 Received DATA (on stdin)
03:10:33.165097 > 1 bytes data, server => client
03:10:33.165123 'o'
03:10:33.175145 Received DATA (on stdin)
03:10:33.175245 > 1 bytes data, server => client
03:10:33.175649 'n'
03:10:33.185224 Received DATA (on stdin)
03:10:33.185279 > 1 bytes data, server => client
03:10:33.185318 'g'
03:10:33.195339 Received DATA (on stdin)
03:10:33.195448 > 1 bytes data, server => client
03:10:33.195502 ' '
03:10:33.205455 Received DATA (on stdin)
03:10:33.205516 > 1 bytes data, server => client
03:10:33.205550 'c'
03:10:33.215565 Received DATA (on stdin)
03:10:33.215631 > 1 bytes data, server => client
03:10:33.215656 'h'
03:10:33.225663 Received DATA (on stdin)
03:10:33.225731 > 1 bytes data, server => client
03:10:33.225757 'u'
03:10:33.235757 Received DATA (on stdin)
03:10:33.235824 > 1 bytes data, server => client
03:10:33.235850 'n'
03:10:33.245847 Received DATA (on stdin)
03:10:33.245907 > 1 bytes data, server => client
03:10:33.245935 'k'
03:10:33.255940 Received DATA (on stdin)
03:10:33.256000 > 1 bytes data, server => client
03:10:33.256028 ' '
03:10:33.266033 Received DATA (on stdin)
03:10:33.266093 > 1 bytes data, server => client
03:10:33.266121 'o'
03:10:33.276108 Received DATA (on stdin)
03:10:33.276173 > 1 bytes data, server => client
03:10:33.276210 'f'
03:10:33.286213 Received DATA (on stdin)
03:10:33.286272 > 1 bytes data, server => client
03:10:33.286300 ' '
03:10:33.296305 Received DATA (on stdin)
03:10:33.296366 > 1 bytes data, server => client
03:10:33.296394 'd'
03:10:33.306377 Received DATA (on stdin)
03:10:33.306436 > 1 bytes data, server => client
03:10:33.306470 'a'
03:10:33.316459 Received DATA (on stdin)
03:10:33.316499 > 1 bytes data, server => client
03:10:33.316522 't'
03:10:33.326563 Received DATA (on stdin)
03:10:33.326627 > 1 bytes data, server => client
03:10:33.326654 'a'
03:10:33.336628 Received DATA (on stdin)
03:10:33.336658 > 1 bytes data, server => client
03:10:33.336672 ' '
03:10:33.346694 Received DATA (on stdin)
03:10:33.346722 > 1 bytes data, server => client
03:10:33.346735 't'
03:10:33.356764 Received DATA (on stdin)
03:10:33.356796 > 1 bytes data, server => client
03:10:33.356810 'h'
03:10:33.366834 Received DATA (on stdin)
03:10:33.366865 > 1 bytes data, server => client
03:10:33.366878 'a'
03:10:33.376932 Received DATA (on stdin)
03:10:33.376985 > 1 bytes data, server => client
03:10:33.377003 't'
03:10:33.387049 Received DATA (on stdin)
03:10:33.387098 > 1 bytes data, server => client
03:10:33.387118 ' '
03:10:33.397130 Received DATA (on stdin)
03:10:33.397183 > 1 bytes data, server => client
03:10:33.397207 'c'
03:10:33.407225 Received DATA (on stdin)
03:10:33.407284 > 1 bytes data, server => client
03:10:33.407310 'o'
03:10:33.417315 Received DATA (on stdin)
03:10:33.417375 > 1 bytes data, server => client
03:10:33.417403 'u'
03:10:33.427397 Received DATA (on stdin)
03:10:33.427456 > 1 bytes data, server => client
03:10:33.427484 'l'
03:10:33.437488 Received DATA (on stdin)
03:10:33.437549 > 1 bytes data, server => client
03:10:33.437577 'd'
03:10:33.447578 Received DATA (on stdin)
03:10:33.447645 > 1 bytes data, server => client
03:10:33.447672 'n'
03:10:33.457669 Received DATA (on stdin)
03:10:33.457728 > 1 bytes data, server => client
03:10:33.457756 '''
03:10:33.467764 Received DATA (on stdin)
03:10:33.467823 > 1 bytes data, server => client
03:10:33.467850 't'
03:10:33.477856 Received DATA (on stdin)
03:10:33.477916 > 1 bytes data, server => client
03:10:33.477944 ' '
03:10:33.487950 Received DATA (on stdin)
03:10:33.488011 > 1 bytes data, server => client
03:10:33.488038 'p'
03:10:33.498044 Received DATA (on stdin)
03:10:33.498105 > 1 bytes data, server => client
03:10:33.498132 'o'
03:10:33.508113 Received DATA (on stdin)
03:10:33.508174 > 1 bytes data, server => client
03:10:33.508213 's'
03:10:33.518216 Received DATA (on stdin)
03:10:33.518275 > 1 bytes data, server => client
03:10:33.518302 's'
03:10:33.528310 Received DATA (on stdin)
03:10:33.528368 > 1 bytes data, server => client
03:10:33.528401 'i'
03:10:33.538404 Received DATA (on stdin)
03:10:33.538462 > 1 bytes data, server => client
03:10:33.538490 'b'
=== File too long: 2373 lines omitted here
03:10:41.310258 Received DATA (on stdin)
03:10:41.310312 > 1 bytes data, server => client
03:10:41.310345 't'
03:10:41.310365 *** We are disconnected
03:10:41.320343 Received DATA (on stdin)
03:10:41.320397 > 1 bytes data, server => client
03:10:41.320438 'a'
03:10:41.320457 *** We are disconnected
03:10:41.330457 Received DATA (on stdin)
03:10:41.330516 > 1 bytes data, server => client
03:10:41.330545 ' '
03:10:41.330564 *** We are disconnected
03:10:41.340544 Received DATA (on stdin)
03:10:41.340604 > 1 bytes data, server => client
03:10:41.340632 't'
03:10:41.340651 *** We are disconnected
03:10:41.350637 Received DATA (on stdin)
03:10:41.350697 > 1 bytes data, server => client
03:10:41.350725 'h'
03:10:41.350743 *** We are disconnected
03:10:41.360704 Received DATA (on stdin)
03:10:41.360762 > 1 bytes data, server => client
03:10:41.360794 'a'
03:10:41.360814 *** We are disconnected
03:10:41.370810 Received DATA (on stdin)
03:10:41.370870 > 1 bytes data, server => client
03:10:41.370897 't'
03:10:41.370916 *** We are disconnected
03:10:41.380899 Received DATA (on stdin)
03:10:41.380958 > 1 bytes data, server => client
03:10:41.380986 ' '
03:10:41.381005 *** We are disconnected
03:10:41.390992 Received DATA (on stdin)
03:10:41.391051 > 1 bytes data, server => client
03:10:41.391079 'c'
03:10:41.391098 *** We are disconnected
03:10:41.401083 Received DATA (on stdin)
03:10:41.401151 > 1 bytes data, server => client
03:10:41.401179 'o'
03:10:41.401204 *** We are disconnected
03:10:41.411177 Received DATA (on stdin)
03:10:41.411236 > 1 bytes data, server => client
03:10:41.411264 'u'
03:10:41.411284 *** We are disconnected
03:10:41.421269 Received DATA (on stdin)
03:10:41.421329 > 1 bytes data, server => client
03:10:41.421357 'l'
03:10:41.421376 *** We are disconnected
03:10:41.431362 Received DATA (on stdin)
03:10:41.431422 > 1 bytes data, server => client
03:10:41.431450 'd'
03:10:41.431469 *** We are disconnected
03:10:41.441426 Received DATA (on stdin)
03:10:41.441497 > 1 bytes data, server => client
03:10:41.441522 'n'
03:10:41.441551 *** We are disconnected
03:10:41.451526 Received DATA (on stdin)
03:10:41.451588 > 1 bytes data, server => client
03:10:41.451615 '''
03:10:41.451634 *** We are disconnected
03:10:41.461616 Received DATA (on stdin)
03:10:41.461675 > 1 bytes data, server => client
03:10:41.461703 't'
03:10:41.461722 *** We are disconnected
03:10:41.471709 Received DATA (on stdin)
03:10:41.471767 > 1 bytes data, server => client
03:10:41.471795 ' '
03:10:41.471814 *** We are disconnected
03:10:41.481802 Received DATA (on stdin)
03:10:41.481860 > 1 bytes data, server => client
03:10:41.481888 'p'
03:10:41.481907 *** We are disconnected
03:10:41.491895 Received DATA (on stdin)
03:10:41.491954 > 1 bytes data, server => client
03:10:41.491982 'o'
03:10:41.492000 *** We are disconnected
03:10:41.501988 Received DATA (on stdin)
03:10:41.502047 > 1 bytes data, server => client
03:10:41.502075 's'
03:10:41.502094 *** We are disconnected
03:10:41.512082 Received DATA (on stdin)
03:10:41.512144 > 1 bytes data, server => client
03:10:41.512173 's'
03:10:41.512191 *** We are disconnected
03:10:41.522185 Received DATA (on stdin)
03:10:41.522255 > 1 bytes data, server => client
03:10:41.522282 'i'
03:10:41.522301 *** We are disconnected
03:10:41.532280 Received DATA (on stdin)
03:10:41.532339 > 1 bytes data, server => client
03:10:41.532367 'b'
03:10:41.532385 *** We are disconnected
03:10:41.542374 Received DATA (on stdin)
03:10:41.542432 > 1 bytes data, server => client
03:10:41.542460 'l'
03:10:41.542479 *** We are disconnected
03:10:41.552482 Received DATA (on stdin)
03:10:41.552541 > 1 bytes data, server => client
03:10:41.552569 'y'
03:10:41.552588 *** We are disconnected
03:10:41.562571 Received DATA (on stdin)
03:10:41.562642 > 1 bytes data, server => client
03:10:41.562681 ' '
03:10:41.562705 *** We are disconnected
03:10:41.572657 Received DATA (on stdin)
03:10:41.572715 > 1 bytes data, server => client
03:10:41.572743 'b'
03:10:41.572762 *** We are disconnected
03:10:41.582748 Received DATA (on stdin)
03:10:41.582807 > 1 bytes data, server => client
03:10:41.582835 'e'
03:10:41.582854 *** We are disconnected
03:10:41.592838 Received DATA (on stdin)
03:10:41.592896 > 1 bytes data, server => client
03:10:41.592924 ' '
03:10:41.592943 *** We are disconnected
03:10:41.602931 Received DATA (on stdin)
03:10:41.602989 > 1 bytes data, server => client
03:10:41.603018 's'
03:10:41.603037 *** We are disconnected
03:10:41.613024 Received DATA (on stdin)
03:10:41.613083 > 1 bytes data, server => client
03:10:41.613111 'e'
03:10:41.613130 *** We are disconnected
03:10:41.623118 Received DATA (on stdin)
03:10:41.623176 > 1 bytes data, server => client
03:10:41.623204 'n'
03:10:41.623223 *** We are disconnected
03:10:41.633210 Received DATA (on stdin)
03:10:41.633270 > 1 bytes data, server => client
03:10:41.633298 't'
03:10:41.633317 *** We are disconnected
03:10:41.643256 Received DATA (on stdin)
03:10:41.643283 > 1 bytes data, server => client
03:10:41.643294 ' '
03:10:41.643302 *** We are disconnected
03:10:41.653367 Received DATA (on stdin)
03:10:41.653447 > 1 bytes data, server => client
03:10:41.653476 'i'
03:10:41.653492 *** We are disconnected
03:10:41.663479 Received DATA (on stdin)
03:10:41.663544 > 1 bytes data, server => client
03:10:41.663569 'n'
03:10:41.663587 *** We are disconnected
03:10:41.673586 Received DATA (on stdin)
03:10:41.673643 > 1 bytes data, server => client
03:10:41.673669 ' '
03:10:41.673687 *** We are disconnected
03:10:41.683685 Received DATA (on stdin)
03:10:41.683752 > 1 bytes data, server => client
03:10:41.683778 't'
03:10:41.683796 *** We are disconnected
03:10:41.693756 Received DATA (on stdin)
03:10:41.693833 > 1 bytes data, server => client
03:10:41.693864 'h'
03:10:41.693883 *** We are disconnected
03:10:41.703846 Received DATA (on stdin)
03:10:41.703931 > 1 bytes data, server => client
03:10:41.703978 'e'
03:10:41.704014 *** We are disconnected
03:10:41.713934 Received DATA (on stdin)
03:10:41.713989 > 1 bytes data, server => client
03:10:41.714022 ' '
03:10:41.714042 *** We are disconnected
03:10:41.724038 Received DATA (on stdin)
03:10:41.724101 > 1 bytes data, server => client
03:10:41.724129 't'
03:10:41.724148 *** We are disconnected
03:10:41.734153 Received DATA (on stdin)
03:10:41.734213 > 1 bytes data, server => client
03:10:41.734241 'i'
03:10:41.734260 *** We are disconnected
03:10:41.744237 Received DATA (on stdin)
03:10:41.744298 > 1 bytes data, server => client
03:10:41.744326 'm'
03:10:41.744345 *** We are disconnected
03:10:41.754315 Received DATA (on stdin)
03:10:41.754374 > 1 bytes data, server => client
03:10:41.754402 'e'
03:10:41.754421 *** We are disconnected
03:10:41.764366 Received DATA (on stdin)
03:10:41.764436 > 1 bytes data, server => client
03:10:41.764466 ' '
03:10:41.764486 *** We are disconnected
03:10:41.774467 Received DATA (on stdin)
03:10:41.774542 > 1 bytes data, server => client
03:10:41.774571 'a'
03:10:41.774590 *** We are disconnected
03:10:41.784539 Received DATA (on stdin)
03:10:41.784598 > 1 bytes data, server => client
03:10:41.784626 'l'
03:10:41.784645 *** We are disconnected
03:10:41.794607 Received DATA (on stdin)
03:10:41.794665 > 1 bytes data, server => client
03:10:41.794691 'l'
03:10:41.794712 *** We are disconnected
03:10:41.804693 Received DATA (on stdin)
03:10:41.804737 > 1 bytes data, server => client
03:10:41.804761 'o'
03:10:41.804779 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.09.11 03:10:21 LOG5[13931]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:10:21 LOG5[13931]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:10:21 LOG5[13931]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:10:21 LOG5[13931]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:10:21 LOG5[13931]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:10:21 LOG5[13931]: Reading configuration from file /build-9373/tests/ftps_stunnel.conf
2019.09.11 03:10:21 LOG5[13931]: FIPS mode disabled
2019.09.11 03:10:21 LOG5[13931]: Configuration successful
2019.09.11 03:10:22 LOG5[13934]: Service [curltest] accepted connection from 127.0.0.1:51144
2019.09.11 03:10:22 LOG5[13934]: s_connect: connected 127.0.0.1:8992
2019.09.11 03:10:22 LOG5[13934]: Service [curltest] connected remote server from 127.0.0.1:45790
2019.09.11 03:10:22 LOG5[13934]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.09.11 03:10:24 LOG5[13939]: Service [curltest] accepted connection from 127.0.0.1:51152
2019.09.11 03:10:26 LOG5[13939]: s_connect: connected 127.0.0.1:8992
2019.09.11 03:10:26 LOG5[13939]: Service [curltest] connected remote server from 127.0.0.1:45798
2019.09.11 03:10:40 LOG5[13939]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.09.11 03:10:41 LOG5[13931]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x55b5128dd7f8; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b5128dd7f8; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b5128dd7f8; line 1665 (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 0x55b5128f33d0 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55b5128dd7f8; line 1682 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x55b5128f33d0 (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 0x55b5128f33d0 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x55b5128f33d0 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x55b5128f33d0 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x55b5128f33d0 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x55b5128f33d0 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x55b5128dd7f8; line 1701 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x55b5128f33d0 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x55b5128dd7f8; line 1743 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||45359|)
* Trying 127.0.0.1:45359...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 45359
* FTP 0x55b5128f33d0 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x55b5128dd7f8; line 1825 (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 0x55b5128f33d0 (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 0x55b5128f33d0 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x55b5128f33d0 (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 0x55b5128f33d0 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x55b5128dd7f8; line 1850 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b5128dd7f8; line 1877 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x55b5128dd7f8; line 2067 (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 0x55b5128dd7f8)
=== 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
2 3600 2 76 0 0 11 0 0:05:27 0:00:06 0:05:21 18
4 3600 4 175 0 0 23 0 0:02:36 0:00:07 0:02:29 35
7 3600 7 274 0 0 32 0 0:01:52 0:00:08 0:01:44 54
10 3600 10 373 0 0 39 0 0:01:32 0:00:09 0:01:23 74
13 3600 13 472 0 0 45 0 0:01:20 0:00:10 0:01:10 94
15 3600 15 571 0 0 50 0 0:01:12 0:00:11 0:01:01 99
18 3600 18 670 0 0 54 0 0:01:06 0:00:12 0:00:54 99
21 3600 21 770 0 0 57 0 0:01:03 0:00:13 0:00:50 99
24 3600 24 869 0 0 60 0 0:01:00 0:00:14 0:00:46 99
26 3600 26 968 0 0 62 0 0:00:58 0:00:15 0:00:43 99
28 3600 28 1030 0 0 64 0 0:00:56 0:00:16 0:00:40 98
curl: (28) Operation timed out after 16000 milliseconds with 1030 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:10:24.623012 == Info: STATE: INIT => CONNECT handle 0x56c80b8; line 1491 (connection #-5000)
03:10:24.681314 == Info: Added connection 0. The cache now contains 1 members
03:10:24.699138 == Info: Trying 127.0.0.1:8993...
03:10:24.699769 == Info: TCP_NODELAY set
03:10:24.704334 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c80b8; line 1547 (connection #0)
03:10:24.716321 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:24.716910 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c80b8; line 1665 (connection #0)
03:10:24.718058 == Info: Marked for [keep alive]: FTP default
03:10:26.187403 == Info: successfully set certificate verify locations:
03:10:26.187669 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:26.312039 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:26.317193 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:26.317256 => Send SSL data, 126 bytes (0x7e)
0000: ...z......U...6[7F]6...%.c..k{..8....^.\-....+./.,.0...............
0040: ../.5.....3...................................................
03:10:26.334031 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:26.339539 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:26.339595 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..e7$.s.-!:.yUM....Y.F.....w,..... ."=....eR..../.T{z<u-qqF6
0040: .=....../................
03:10:26.383142 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.383494 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:26.383549 <= 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:26.481916 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:26.482140 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:26.482197 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...=...J.Pi.|.N).X..J.h...g0_.7%....B................SK.
0040: d.53Y.Z........T....5.....29......&!........u%.../.>..B.)..i0..[
0080: O.(@t...@..p.q"..c.pw.".!..u?..a.......I...h..ro..R...X2.-4>....
00c0: .R.2..W]u....(...............sZO.b...hx..7...@d#vEC...y..U.T..Xw
0100: .=..ML.-^.H..J.4..9C...G.{`..|.s.x3...../z7.&[7F].......&.(P...1...
0140: pD$...%......
03:10:26.551594 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.551809 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:26.551865 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:26.667718 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:26.667938 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:26.668000 => Send SSL data, 70 bytes (0x46)
0000: ...BA..g...$...`....(.....r>tB.p......^...`9I..4.[7F]..2..5.e..K..|
0040: .z)__.
03:10:26.680265 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:26.680884 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:26.680943 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:26.702409 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:26.702471 => Send SSL data, 16 bytes (0x10)
0000: ......C..G..yH..
03:10:26.714978 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:26.717503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.718591 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:26.718651 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:26.721149 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:26.726780 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:26.726836 <= Recv SSL data, 16 bytes (0x10)
0000: ......u=U$.R-b..
03:10:26.755265 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:26.757469 == Info: Server certificate:
03:10:26.765039 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:26.771163 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:26.772104 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:26.773040 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:26.773906 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:26.775408 == Info: FTP 0x5743ee0 (line 3092) state change from STOP to WAIT220
03:10:26.781710 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.785006 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.785243 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.785468 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.785690 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.785911 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.786131 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.789161 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c80b8; line 1682 (connection #0)
03:10:26.795282 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.797224 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.807336 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.817507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.827665 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.837723 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.847863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.857986 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.868063 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.878126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.888225 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.898319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.908535 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.918580 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.928592 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.938871 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.948888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.958823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.969070 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.979169 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.989069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:26.999176 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.009397 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.019440 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.029452 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.030416 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:27.040527 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.049628 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.059574 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.069654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.079782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.090038 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.100018 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.110116 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.120235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.130319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.140429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.150505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.160632 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.170911 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.180547 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.190981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.200900 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.211055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.221149 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.231253 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.241354 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.251438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.261533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.271680 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.281766 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.291865 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.301936 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.312058 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.322145 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.332221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.342335 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.352427 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.352781 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:27.362505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.372619 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.382698 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.392787 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.402890 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.413000 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.423078 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.433178 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.443289 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.453367 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.463460 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.473558 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.483650 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.493753 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.503844 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.513946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.524036 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.534134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.544232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.554316 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.564431 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.574489 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.584318 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.594472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.604682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.614699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.624942 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.635063 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.645174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.655244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.665368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.675584 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.676015 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:27.685730 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.695671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.705851 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.715850 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.726021 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.736101 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.746192 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.756248 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.766328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.776377 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.786528 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.796604 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.806748 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.816862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.826934 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.837035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.847120 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.857215 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.867553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.877304 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.887177 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.897273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.907346 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.917598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.927660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.937598 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.947686 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.957769 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.967819 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.980060 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.987999 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.998156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:27.998380 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:28.008281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.018456 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.028644 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.038856 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.048916 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.058924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.068953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.079092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.089239 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.099302 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.109372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.119507 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.129603 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.139719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.149746 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.159853 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.169640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.179829 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.190059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.200123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.210281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.220401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.230557 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.240623 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.250742 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.260836 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.270892 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.280972 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.291014 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.301167 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.311228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.321320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.321669 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:28.338110 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:28.341039 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:28.341820 == Info: FTP 0x5743ee0 (line 792) state change from WAIT220 to USER
03:10:28.342193 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.350401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.360479 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.370696 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.380823 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.390894 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.401013 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.411130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.411481 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:28.414611 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:28.414931 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:28.415919 == Info: FTP 0x5743ee0 (line 2520) state change from USER to PASS
03:10:28.421479 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.431577 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.441750 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.451776 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.461888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.471921 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.482067 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.492114 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.492482 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:28.494159 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:28.494468 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:28.495372 == Info: FTP 0x5743ee0 (line 2496) state change from PASS to PBSZ
03:10:28.502514 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.544864 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.552955 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.562985 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.573034 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.583126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.593239 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.603114 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.613068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.623408 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.633503 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.643656 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.653750 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.663857 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.674197 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.684074 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.694160 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.704325 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.714365 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.724513 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.734579 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.744649 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.754761 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.755114 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:28.756696 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:28.757006 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:28.757911 == Info: FTP 0x5743ee0 (line 2709) state change from PBSZ to PROT
03:10:28.765250 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.775297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.785396 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.795517 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.805569 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.815659 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.825807 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.835844 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.845940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.856033 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.866078 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.876204 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.886255 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.896343 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.906533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.916805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.926641 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.936760 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.946818 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.956888 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.966966 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.977090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.987189 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:28.997297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.007433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.017472 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.017900 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:29.019746 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:29.020052 => Send header, 5 bytes (0x5)
0000: PWD
03:10:29.020935 == Info: FTP 0x5743ee0 (line 804) state change from PROT to PWD
03:10:29.028056 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.038163 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.048283 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.058363 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.068382 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.078501 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.088622 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.098678 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.108777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.109122 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:29.111878 == Info: Entry path is '/'
03:10:29.112473 == Info: FTP 0x5743ee0 (line 2844) state change from PWD to STOP
03:10:29.112873 == Info: protocol connect phase DONE
03:10:29.113462 == Info: STATE: PROTOCONNECT => DO handle 0x56c80b8; line 1701 (connection #0)
03:10:29.119700 == Info: DO phase starts
03:10:29.124721 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:29.124845 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:29.125209 == Info: FTP 0x5743ee0 (line 1330) state change from STOP to PASV
03:10:29.125381 == Info: Connect data stream passively
03:10:29.126164 == Info: ftp_perform ends with SECONDARY: 0
03:10:29.126880 == Info: STATE: DO => DOING handle 0x56c80b8; line 1743 (connection #0)
03:10:29.127957 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.168920 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.178178 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.188058 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.198228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.208320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.218435 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.228494 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.238766 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.248711 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.258790 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.268934 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.278931 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.289093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.299171 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.309221 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.319438 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.329463 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.339573 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.349590 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.359705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.369816 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.380052 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.390119 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.400137 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.410280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.420297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.430372 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.440442 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.450538 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.460697 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.470705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.480882 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.490906 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.501011 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.501365 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||33067|).
03:10:29.513935 == Info: Trying 127.0.0.1:33067...
03:10:29.513999 == Info: TCP_NODELAY set
03:10:29.515587 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 33067
03:10:29.516692 == Info: FTP 0x5743ee0 (line 1977) state change from PASV to STOP
03:10:29.517238 == Info: DO phase is complete2
03:10:29.517501 == Info: STATE: DOING => DO_MORE handle 0x56c80b8; line 1825 (connection #0)
03:10:29.518215 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:29.518428 == Info: DO-MORE connected phase starts
03:10:29.519789 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:29.519927 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:29.520295 == Info: FTP 0x5743ee0 (line 3418) state change from STOP to RETR_TYPE
03:10:29.520688 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.530811 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.540788 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.550868 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.560961 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.571113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.581255 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.591340 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.591671 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:29.594395 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:29.594697 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:29.595552 == Info: FTP 0x5743ee0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:29.602417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.612566 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.622564 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.632701 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.642730 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.652759 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.662861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.673050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.683138 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.693297 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.693718 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:29.698665 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:29.699028 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:29.700025 == Info: FTP 0x5743ee0 (line 2229) state change from RETR_SIZE to RETR
03:10:29.704256 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.744924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.754706 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.764801 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.774925 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.784964 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.795072 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.805079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.815217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.825273 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.835398 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.845496 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.855549 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.865612 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.875804 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.885796 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.895896 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.905974 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.916035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.926142 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.936225 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.946322 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.956425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.966516 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.976607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.986677 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:29.996796 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.006978 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.016986 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.027052 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.037229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.047229 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.057435 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.067534 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.077633 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.087841 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.097792 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.107908 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.118002 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.128090 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.138175 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.148244 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.158320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.168499 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.178682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.188757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.198770 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.208892 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.218901 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.229080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.239170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:30.239532 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:30.242003 == Info: Maxdownload = -1
03:10:30.242589 == Info: Getting file with size: 3600
03:10:30.246435 == Info: FTP 0x5743ee0 (line 477) state change from RETR to STOP
03:10:30.247961 == Info: STATE: DO_MORE => DO_DONE handle 0x56c80b8; line 1850 (connection #0)
03:10:30.249057 == Info: STATE: DO_DONE => PERFORM handle 0x56c80b8; line 1877 (connection #0)
03:10:30.254819 <= Recv data, 1 bytes (0x1)
0000: L
03:10:30.260103 <= Recv data, 1 bytes (0x1)
0000: o
03:10:30.269201 <= Recv data, 1 bytes (0x1)
0000: n
03:10:30.279284 <= Recv data, 1 bytes (0x1)
0000: g
03:10:30.289420 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.299502 <= Recv data, 1 bytes (0x1)
0000: c
03:10:30.309678 <= Recv data, 1 bytes (0x1)
0000: h
03:10:30.319805 <= Recv data, 1 bytes (0x1)
0000: u
03:10:30.329847 <= Recv data, 1 bytes (0x1)
0000: n
03:10:30.339907 <= Recv data, 1 bytes (0x1)
0000: k
03:10:30.349996 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.360088 <= Recv data, 1 bytes (0x1)
0000: o
03:10:30.370169 <= Recv data, 1 bytes (0x1)
0000: f
03:10:30.380264 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.390346 <= Recv data, 1 bytes (0x1)
0000: d
03:10:30.400456 <= Recv data, 1 bytes (0x1)
0000: a
03:10:30.410545 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.420610 <= Recv data, 1 bytes (0x1)
0000: a
03:10:30.430724 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.440798 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.450914 <= Recv data, 1 bytes (0x1)
0000: h
03:10:30.461009 <= Recv data, 1 bytes (0x1)
0000: a
03:10:30.471111 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.481202 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.491297 <= Recv data, 1 bytes (0x1)
0000: c
03:10:30.501408 <= Recv data, 1 bytes (0x1)
0000: o
03:10:30.511520 <= Recv data, 1 bytes (0x1)
0000: u
03:10:30.521532 <= Recv data, 1 bytes (0x1)
0000: l
03:10:30.531595 <= Recv data, 1 bytes (0x1)
0000: d
03:10:30.541754 <= Recv data, 1 bytes (0x1)
0000: n
03:10:30.551824 <= Recv data, 1 bytes (0x1)
0000: '
03:10:30.561994 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.572098 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.582138 <= Recv data, 1 bytes (0x1)
0000: p
03:10:30.592236 <= Recv data, 1 bytes (0x1)
0000: o
03:10:30.602321 <= Recv data, 1 bytes (0x1)
0000: s
03:10:30.612168 <= Recv data, 1 bytes (0x1)
0000: s
03:10:30.622403 <= Recv data, 1 bytes (0x1)
0000: i
03:10:30.632466 <= Recv data, 1 bytes (0x1)
0000: b
03:10:30.642614 <= Recv data, 1 bytes (0x1)
0000: l
03:10:30.652755 <= Recv data, 1 bytes (0x1)
0000: y
03:10:30.662808 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.672860 <= Recv data, 1 bytes (0x1)
0000: b
03:10:30.683098 <= Recv data, 1 bytes (0x1)
0000: e
03:10:30.693142 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.703186 <= Recv data, 1 bytes (0x1)
0000: s
03:10:30.713354 <= Recv data, 1 bytes (0x1)
0000: e
03:10:30.723405 <= Recv data, 1 bytes (0x1)
0000: n
03:10:30.733490 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.743625 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.753770 <= Recv data, 1 bytes (0x1)
0000: i
03:10:30.763832 <= Recv data, 1 bytes (0x1)
0000: n
03:10:30.773923 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.784026 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.794115 <= Recv data, 1 bytes (0x1)
0000: h
03:10:30.804206 <= Recv data, 1 bytes (0x1)
0000: e
03:10:30.814300 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.824437 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.834488 <= Recv data, 1 bytes (0x1)
0000: i
03:10:30.844582 <= Recv data, 1 bytes (0x1)
0000: m
03:10:30.854688 <= Recv data, 1 bytes (0x1)
0000: e
03:10:30.864788 <= Recv data, 1 bytes (0x1)
0000:
03:10:30.874859 <= Recv data, 1 bytes (0x1)
0000: a
03:10:30.884822 <= Recv data, 1 bytes (0x1)
0000: l
03:10:30.894917 <= Recv data, 1 bytes (0x1)
0000: l
03:10:30.904989 <= Recv data, 1 bytes (0x1)
0000: o
03:10:30.915081 <= Recv data, 1 bytes (0x1)
0000: t
03:10:30.925183 <= Recv data, 1 bytes (0x1)
=== File too long: 1736 lines omitted here
0000: .
03:10:39.695835 <= Recv data, 1 bytes (0x1)
0000: L
03:10:39.706000 <= Recv data, 1 bytes (0x1)
0000: o
03:10:39.716088 <= Recv data, 1 bytes (0x1)
0000: n
03:10:39.726191 <= Recv data, 1 bytes (0x1)
0000: g
03:10:39.736306 <= Recv data, 1 bytes (0x1)
0000:
03:10:39.746381 <= Recv data, 1 bytes (0x1)
0000: c
03:10:39.756466 <= Recv data, 1 bytes (0x1)
0000: h
03:10:39.766572 <= Recv data, 1 bytes (0x1)
0000: u
03:10:39.776632 <= Recv data, 1 bytes (0x1)
0000: n
03:10:39.786766 <= Recv data, 1 bytes (0x1)
0000: k
03:10:39.796844 <= Recv data, 1 bytes (0x1)
0000:
03:10:39.806915 <= Recv data, 1 bytes (0x1)
0000: o
03:10:39.817042 <= Recv data, 1 bytes (0x1)
0000: f
03:10:39.827089 <= Recv data, 1 bytes (0x1)
0000:
03:10:39.837217 <= Recv data, 1 bytes (0x1)
0000: d
03:10:39.847310 <= Recv data, 1 bytes (0x1)
0000: a
03:10:39.857400 <= Recv data, 1 bytes (0x1)
0000: t
03:10:39.867494 <= Recv data, 1 bytes (0x1)
0000: a
03:10:39.877572 <= Recv data, 1 bytes (0x1)
0000:
03:10:39.887621 <= Recv data, 1 bytes (0x1)
0000: t
03:10:39.897765 <= Recv data, 1 bytes (0x1)
0000: h
03:10:39.907835 <= Recv data, 1 bytes (0x1)
0000: a
03:10:39.917980 <= Recv data, 1 bytes (0x1)
0000: t
03:10:39.928036 <= Recv data, 1 bytes (0x1)
0000:
03:10:39.938192 <= Recv data, 1 bytes (0x1)
0000: c
03:10:39.948276 <= Recv data, 1 bytes (0x1)
0000: o
03:10:39.958354 <= Recv data, 1 bytes (0x1)
0000: u
03:10:39.968476 <= Recv data, 1 bytes (0x1)
0000: l
03:10:39.978535 <= Recv data, 1 bytes (0x1)
0000: d
03:10:39.988666 <= Recv data, 1 bytes (0x1)
0000: n
03:10:39.998733 <= Recv data, 1 bytes (0x1)
0000: '
03:10:40.008834 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.018930 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.028993 <= Recv data, 1 bytes (0x1)
0000: p
03:10:40.039096 <= Recv data, 1 bytes (0x1)
0000: o
03:10:40.049232 <= Recv data, 1 bytes (0x1)
0000: s
03:10:40.059304 <= Recv data, 1 bytes (0x1)
0000: s
03:10:40.069415 <= Recv data, 1 bytes (0x1)
0000: i
03:10:40.079497 <= Recv data, 1 bytes (0x1)
0000: b
03:10:40.089574 <= Recv data, 1 bytes (0x1)
0000: l
03:10:40.099786 <= Recv data, 1 bytes (0x1)
0000: y
03:10:40.109830 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.119876 <= Recv data, 1 bytes (0x1)
0000: b
03:10:40.129993 <= Recv data, 1 bytes (0x1)
0000: e
03:10:40.140114 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.150200 <= Recv data, 1 bytes (0x1)
0000: s
03:10:40.160292 <= Recv data, 1 bytes (0x1)
0000: e
03:10:40.170394 <= Recv data, 1 bytes (0x1)
0000: n
03:10:40.180517 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.190635 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.200689 <= Recv data, 1 bytes (0x1)
0000: i
03:10:40.210650 <= Recv data, 1 bytes (0x1)
0000: n
03:10:40.220650 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.230836 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.240975 <= Recv data, 1 bytes (0x1)
0000: h
03:10:40.251035 <= Recv data, 1 bytes (0x1)
0000: e
03:10:40.261169 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.271294 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.281373 <= Recv data, 1 bytes (0x1)
0000: i
03:10:40.291442 <= Recv data, 1 bytes (0x1)
0000: m
03:10:40.301493 <= Recv data, 1 bytes (0x1)
0000: e
03:10:40.311647 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.321724 <= Recv data, 1 bytes (0x1)
0000: a
03:10:40.331821 <= Recv data, 1 bytes (0x1)
0000: l
03:10:40.341916 <= Recv data, 1 bytes (0x1)
0000: l
03:10:40.352017 <= Recv data, 1 bytes (0x1)
0000: o
03:10:40.362102 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.372194 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.382314 <= Recv data, 1 bytes (0x1)
0000: e
03:10:40.392322 <= Recv data, 1 bytes (0x1)
0000: d
03:10:40.402442 <= Recv data, 1 bytes (0x1)
0000: .
03:10:40.412540 <= Recv data, 1 bytes (0x1)
0000: .
03:10:40.422658 <= Recv data, 1 bytes (0x1)
0000: L
03:10:40.432765 <= Recv data, 1 bytes (0x1)
0000: o
03:10:40.442815 <= Recv data, 1 bytes (0x1)
0000: n
03:10:40.452915 <= Recv data, 1 bytes (0x1)
0000: g
03:10:40.463007 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.473096 <= Recv data, 1 bytes (0x1)
0000: c
03:10:40.483141 <= Recv data, 1 bytes (0x1)
0000: h
03:10:40.493259 <= Recv data, 1 bytes (0x1)
0000: u
03:10:40.503346 <= Recv data, 1 bytes (0x1)
0000: n
03:10:40.513467 <= Recv data, 1 bytes (0x1)
0000: k
03:10:40.523532 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.533624 <= Recv data, 1 bytes (0x1)
0000: o
03:10:40.543721 <= Recv data, 1 bytes (0x1)
0000: f
03:10:40.553792 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.563864 <= Recv data, 1 bytes (0x1)
0000: d
03:10:40.573945 <= Recv data, 1 bytes (0x1)
0000: a
03:10:40.584050 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.594169 <= Recv data, 1 bytes (0x1)
0000: a
03:10:40.604228 <= Recv data, 1 bytes (0x1)
0000:
03:10:40.614346 <= Recv data, 1 bytes (0x1)
0000: t
03:10:40.624447 <= Recv data, 1 bytes (0x1)
0000: h
03:10:40.634491 <= Recv data, 1 bytes (0x1)
0000: a
03:10:40.642631 == Info: Operation timed out after 16000 milliseconds with 1030 out of 3600 bytes received
03:10:40.643633 == Info: Marked for [closure]: Disconnected with pending data
03:10:40.644150 == Info: multi_done
03:10:40.660091 == Info: Closing connection 0
03:10:40.661755 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:40.662669 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:40.662730 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:40.722350 == Info: The cache now contains 0 members
03:10:40.729274 == Info: Expire cleared (transfer 0x56c80b8)
=== End of file trace1112
=== Start of file valgrind1112
==13938== Invalid read of size 8
==13938== at 0x53335A5: check_free (dlerror.c:188)
==13938== by 0x5333AB1: free_key_mem (dlerror.c:221)
==13938== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==13938== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==13938== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==13938== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==13938== by 0x4C4AEB9: exit (exit.c:139)
==13938== by 0x4C350A1: (below main) (libc-start.c:342)
==13938== Address 0x5af7de0 is 0 bytes after a block of size 32 alloc'd
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
==13938== Invalid free() / delete / delete[] / realloc()
==13938== at 0x48369AB: free (vg_replace_malloc.c:540)
==13938== by 0x5333AB9: free_key_mem (dlerror.c:223)
==13938== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==13938== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==13938== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==13938== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==13938== by 0x4C4AEB9: exit (exit.c:139)
==13938== by 0x4C350A1: (below main) (libc-start.c:342)
==13938== Address 0x5af7dc8 is 8 bytes inside a block of size 32 alloc'd
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
==13938== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==13938== at 0x483577F: malloc (vg_replace_malloc.c:309)
==13938== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==13938== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==13938== by 0x24AEEC: err_get_state (err.c:210)
==13938== by 0x24BAC2: ERR_put_error (err.c:636)
==13938== by 0x260762: PEM_read_bio (pem_lib.c:622)
==13938== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==13938== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==13938== by 0x27010E: by_file_ctrl (by_file.c:111)
==13938== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==13938== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==13938== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==13938== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==13938== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==13938== by 0x1CAA05: Curl_ossl_connect (openssl.c:3765)
==13938== by 0x1821FA: Curl_ssl_connect (vtls.c:251)
==13938==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (790 out of 1251, remaining: 11:17, took 3.5s, duration: 19:21)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (791 out of 1251, remaining: 11:16, took 1.3s, duration: 19:23)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (792 out of 1251, remaining: 11:14, took 1.2s, duration: 19:24)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (793 out of 1251, remaining: 11:13, took 1.2s, duration: 19:25)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (794 out of 1251, remaining: 11:24, took 24.1s, duration: 19:49)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (795 out of 1251, remaining: 11:22, took 1.2s, duration: 19:50)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (796 out of 1251, remaining: 11:20, took 0.0s, duration: 19:50)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (797 out of 1251, remaining: 11:18, took 1.2s, duration: 19:51)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (798 out of 1251, remaining: 11:17, took 1.2s, duration: 19:53)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (799 out of 1251, remaining: 11:15, took 1.2s, duration: 19:54)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (800 out of 1251, remaining: 11:13, took 1.2s, duration: 19:55)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (801 out of 1251, remaining: 11:12, took 1.2s, duration: 19:56)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (802 out of 1251, remaining: 11:10, took 1.2s, duration: 19:57)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (803 out of 1251, remaining: 11:08, took 1.2s, duration: 19:59)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (804 out of 1251, remaining: 11:07, took 1.2s, duration: 20:00)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (805 out of 1251, remaining: 11:05, took 1.2s, duration: 20:01)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (806 out of 1251, remaining: 11:04, took 1.2s, duration: 20:02)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (807 out of 1251, remaining: 11:02, took 1.2s, duration: 20:03)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (808 out of 1251, remaining: 11:00, took 1.2s, duration: 20:05)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (809 out of 1251, remaining: 10:58, took 0.0s, duration: 20:05)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (810 out of 1251, remaining: 10:57, took 2.2s, duration: 20:07)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (811 out of 1251, remaining: 10:55, took 1.2s, duration: 20:08)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (812 out of 1251, remaining: 10:53, took 0.0s, duration: 20:08)
test 1136...[Check cookies against PSL]
---d--oemv- OK (813 out of 1251, remaining: 10:51, took 1.3s, duration: 20:09)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (814 out of 1251, remaining: 10:50, took 1.2s, duration: 20:11)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (815 out of 1251, remaining: 10:48, took 1.3s, duration: 20:12)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (816 out of 1251, remaining: 10:46, took 0.1s, duration: 20:12)
test 1140...[Verify the nroff of man pages]
-------e-- OK (817 out of 1251, remaining: 10:44, took 0.0s, duration: 20:12)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (818 out of 1251, remaining: 10:42, took 1.2s, duration: 20:13)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (819 out of 1251, remaining: 10:40, took 1.2s, duration: 20:14)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (820 out of 1251, remaining: 10:39, took 1.2s, duration: 20:16)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (821 out of 1251, remaining: 10:37, took 1.1s, duration: 20:17)
test 1145...[file:// bad host]
-------emv- OK (822 out of 1251, remaining: 10:35, took 1.1s, duration: 20:18)
test 1146...[--proto-default file]
---d---emv- OK (823 out of 1251, remaining: 10:34, took 1.1s, duration: 20:19)
test 1147...[Get -H headers from a file]
--pd---emv- OK (824 out of 1251, remaining: 10:32, took 1.2s, duration: 20:20)
test 1148...[progress-bar]
--pd--oemv- OK (825 out of 1251, remaining: 10:30, took 1.2s, duration: 20:21)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (826 out of 1251, remaining: 10:29, took 1.3s, duration: 20:23)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (827 out of 1251, remaining: 10:27, took 1.2s, duration: 20:24)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (828 out of 1251, remaining: 10:26, took 1.3s, duration: 20:25)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (829 out of 1251, remaining: 10:24, took 1.2s, duration: 20:26)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (830 out of 1251, remaining: 10:22, took 1.2s, duration: 20:27)
test 1154...[HTTP GET]
--p----emv- OK (831 out of 1251, remaining: 10:21, took 1.2s, duration: 20:29)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (832 out of 1251, remaining: 10:19, took 1.2s, duration: 20:30)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (833 out of 1251, remaining: 10:17, took 1.1s, duration: 20:31)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (834 out of 1251, remaining: 10:16, took 1.2s, duration: 20:32)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (835 out of 1251, remaining: 10:14, took 1.3s, duration: 20:33)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (836 out of 1251, remaining: 10:13, took 1.2s, duration: 20:35)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (837 out of 1251, remaining: 10:11, took 1.2s, duration: 20:36)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (838 out of 1251, remaining: 10:09, took 1.2s, duration: 20:37)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (839 out of 1251, remaining: 10:08, took 1.1s, duration: 20:38)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (840 out of 1251, remaining: 10:06, took 1.1s, duration: 20:39)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (841 out of 1251, remaining: 10:04, took 1.2s, duration: 20:40)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (842 out of 1251, remaining: 10:02, took 0.0s, duration: 20:40)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (843 out of 1251, remaining: 10:01, took 1.2s, duration: 20:42)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (844 out of 1251, remaining: 09:59, took 1.2s, duration: 20:43)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (845 out of 1251, remaining: 09:57, took 1.2s, duration: 20:44)
test 1173...[Basic man page syntax check]
-------e-- OK (846 out of 1251, remaining: 09:55, took 0.0s, duration: 20:44)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (847 out of 1251, remaining: 09:54, took 1.1s, duration: 20:45)
test 1200...[Gopher index]
--pd---emv- OK (848 out of 1251, remaining: 09:53, took 3.3s, duration: 20:48)
test 1201...[Gopher selector]
--pd---emv- OK (849 out of 1251, remaining: 09:51, took 1.2s, duration: 20:50)
test 1202...[Gopher query]
--pd---emv- OK (850 out of 1251, remaining: 09:50, took 1.2s, duration: 20:51)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (851 out of 1251, remaining: 09:49, took 3.3s, duration: 20:54)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (852 out of 1251, remaining: 09:48, took 1.2s, duration: 20:55)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (853 out of 1251, remaining: 09:46, took 1.2s, duration: 20:56)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (854 out of 1251, remaining: 09:44, took 1.2s, duration: 20:58)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (855 out of 1251, remaining: 09:43, took 1.2s, duration: 20:59)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (856 out of 1251, remaining: 09:42, took 3.1s, duration: 21:02)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (857 out of 1251, remaining: 09:40, took 1.2s, duration: 21:03)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (858 out of 1251, remaining: 09:39, took 1.2s, duration: 21:04)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (859 out of 1251, remaining: 09:37, took 1.2s, duration: 21:05)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (860 out of 1251, remaining: 09:36, took 1.2s, duration: 21:07)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (861 out of 1251, remaining: 09:34, took 1.3s, duration: 21:08)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (862 out of 1251, remaining: 09:32, took 1.2s, duration: 21:09)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (863 out of 1251, remaining: 09:31, took 1.3s, duration: 21:10)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (864 out of 1251, remaining: 09:29, took 1.3s, duration: 21:12)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (865 out of 1251, remaining: 09:28, took 1.2s, duration: 21:13)
test 1220...[file:// URLs with query string]
s------emv- OK (866 out of 1251, remaining: 09:26, took 1.1s, duration: 21:14)
test 1221...[10 chars object name generation testing]
------oe-- OK (867 out of 1251, remaining: 09:24, took 0.4s, duration: 21:14)
test 1222...[8 chars object name generation testing]
------oe-- OK (868 out of 1251, remaining: 09:22, took 0.4s, duration: 21:15)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (869 out of 1251, remaining: 09:21, took 1.2s, duration: 21:16)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (870 out of 1251, remaining: 09:19, took 1.2s, duration: 21:17)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (871 out of 1251, remaining: 09:17, took 1.3s, duration: 21:18)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (872 out of 1251, remaining: 09:16, took 1.2s, duration: 21:20)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (873 out of 1251, remaining: 09:14, took 1.2s, duration: 21:21)
test 1228...[HTTP cookie path match]
--pd---emv- OK (874 out of 1251, remaining: 09:13, took 1.3s, duration: 21:22)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (875 out of 1251, remaining: 09:11, took 1.2s, duration: 21:23)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (876 out of 1251, remaining: 09:10, took 1.2s, duration: 21:25)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (877 out of 1251, remaining: 09:08, took 1.2s, duration: 21:26)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (878 out of 1251, remaining: 09:06, took 1.2s, duration: 21:27)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (879 out of 1251, remaining: 09:05, took 1.2s, duration: 21:28)
test 1234...[abusing {}-globbing]
-------emv- OK (880 out of 1251, remaining: 09:03, took 0.9s, duration: 21:29)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (881 out of 1251, remaining: 09:02, took 1.3s, duration: 21:30)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (882 out of 1251, remaining: 09:00, took 0.9s, duration: 21:31)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (883 out of 1251, remaining: 08:58, took 1.2s, duration: 21:33)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (884 out of 1251, remaining: 08:58, took 5.1s, duration: 21:38)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (885 out of 1251, remaining: 08:57, took 1.2s, duration: 21:39)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (886 out of 1251, remaining: 08:55, took 1.2s, duration: 21:40)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (887 out of 1251, remaining: 08:54, took 1.2s, duration: 21:41)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (888 out of 1251, remaining: 08:52, took 1.1s, duration: 21:42)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (889 out of 1251, remaining: 08:51, took 3.2s, duration: 21:46)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (890 out of 1251, remaining: 08:50, took 1.2s, duration: 21:47)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (891 out of 1251, remaining: 08:48, took 1.2s, duration: 21:48)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (892 out of 1251, remaining: 08:47, took 1.2s, duration: 21:49)
test 1247...[--fail-early]
-------emv- OK (893 out of 1251, remaining: 08:45, took 1.1s, duration: 21:50)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (894 out of 1251, remaining: 08:43, took 1.2s, duration: 21:51)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (895 out of 1251, remaining: 08:42, took 1.2s, duration: 21:53)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (896 out of 1251, remaining: 08:40, took 1.2s, duration: 21:54)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (897 out of 1251, remaining: 08:39, took 1.2s, duration: 21:55)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (898 out of 1251, remaining: 08:37, took 1.2s, duration: 21:56)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1251, remaining: 08:36, took 1.2s, duration: 21:57)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (900 out of 1251, remaining: 08:34, took 1.2s, duration: 21:59)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (901 out of 1251, remaining: 08:32, took 1.2s, duration: 22:00)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1251, remaining: 08:31, took 1.2s, duration: 22:01)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (903 out of 1251, remaining: 08:29, took 1.2s, duration: 22:02)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (904 out of 1251, remaining: 08:28, took 1.3s, duration: 22:03)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (905 out of 1251, remaining: 08:26, took 1.2s, duration: 22:05)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (906 out of 1251, remaining: 08:25, took 1.1s, duration: 22:06)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (907 out of 1251, remaining: 08:23, took 1.2s, duration: 22:07)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (908 out of 1251, remaining: 08:21, took 1.2s, duration: 22:08)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (909 out of 1251, remaining: 08:20, took 1.1s, duration: 22:09)
test 1264...[HTTP URL with space in host name]
-------emv- OK (910 out of 1251, remaining: 08:18, took 1.1s, duration: 22:10)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (911 out of 1251, remaining: 08:17, took 1.2s, duration: 22:11)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (912 out of 1251, remaining: 08:15, took 1.2s, duration: 22:13)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (913 out of 1251, remaining: 08:13, took 1.2s, duration: 22:14)
test 1268...[file name argument looks like a flag]
------oemv- OK (914 out of 1251, remaining: 08:12, took 1.1s, duration: 22:15)
test 1269...[too large --retry-delay value]
-------emv- OK (915 out of 1251, remaining: 08:10, took 0.9s, duration: 22:16)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (916 out of 1251, remaining: 08:09, took 1.2s, duration: 22:17)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (917 out of 1251, remaining: 08:07, took 1.1s, duration: 22:18)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (918 out of 1251, remaining: 08:05, took 1.2s, duration: 22:19)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (919 out of 1251, remaining: 08:04, took 1.2s, duration: 22:20)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1251, remaining: 08:02, took 1.2s, duration: 22:22)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (921 out of 1251, remaining: 08:01, took 2.3s, duration: 22:24)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (922 out of 1251, remaining: 08:00, took 1.2s, duration: 22:25)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (923 out of 1251, remaining: 07:58, took 1.7s, duration: 22:27)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (924 out of 1251, remaining: 07:57, took 1.7s, duration: 22:29)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (925 out of 1251, remaining: 07:55, took 0.9s, duration: 22:29)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (926 out of 1251, remaining: 07:54, took 1.2s, duration: 22:31)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (927 out of 1251, remaining: 07:57, took 14.5s, duration: 22:45)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (928 out of 1251, remaining: 07:55, took 1.2s, duration: 22:46)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (929 out of 1251, remaining: 07:54, took 1.2s, duration: 22:48)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (930 out of 1251, remaining: 07:52, took 1.2s, duration: 22:49)
test 1300...[llist unit tests]
-------emv- OK (931 out of 1251, remaining: 07:50, took 0.8s, duration: 22:50)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (932 out of 1251, remaining: 07:49, took 0.8s, duration: 22:50)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (933 out of 1251, remaining: 07:47, took 0.9s, duration: 22:51)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (934 out of 1251, remaining: 07:45, took 0.9s, duration: 22:52)
test 1304...[netrc parsing unit tests]
-------emv- OK (935 out of 1251, remaining: 07:44, took 0.8s, duration: 22:53)
test 1305...[internal hash create/destroy testing]
-------emv- OK (936 out of 1251, remaining: 07:42, took 0.9s, duration: 22:54)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (937 out of 1251, remaining: 07:40, took 0.9s, duration: 22:55)
test 1308...[formpost unit tests]
-------emv- OK (938 out of 1251, remaining: 07:39, took 0.9s, duration: 22:56)
test 1309...[splay unit tests]
s------emv- OK (939 out of 1251, remaining: 07:37, took 0.9s, duration: 22:57)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (940 out of 1251, remaining: 07:36, took 1.2s, duration: 22:58)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (941 out of 1251, remaining: 07:34, took 1.2s, duration: 22:59)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (942 out of 1251, remaining: 07:32, took 1.2s, duration: 23:00)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (943 out of 1251, remaining: 07:31, took 1.2s, duration: 23:01)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (944 out of 1251, remaining: 07:29, took 1.2s, duration: 23:03)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (945 out of 1251, remaining: 07:28, took 1.3s, duration: 23:04)
test 1317...[HTTP with --resolve]
--pd---emv- OK (946 out of 1251, remaining: 07:26, took 1.2s, duration: 23:05)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (947 out of 1251, remaining: 07:25, took 1.2s, duration: 23:06)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (948 out of 1251, remaining: 07:23, took 1.7s, duration: 23:08)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (949 out of 1251, remaining: 07:22, took 1.7s, duration: 23:10)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (950 out of 1251, remaining: 07:20, took 1.7s, duration: 23:11)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (951 out of 1251, remaining: 07:19, took 1.2s, duration: 23:12)
test 1323...[curlx_tvdiff]
-------emv- OK (952 out of 1251, remaining: 07:17, took 0.8s, duration: 23:13)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (953 out of 1251, remaining: 07:16, took 1.2s, duration: 23:14)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (954 out of 1251, remaining: 07:14, took 1.3s, duration: 23:16)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (955 out of 1251, remaining: 07:13, took 1.3s, duration: 23:17)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (956 out of 1251, remaining: 07:11, took 1.3s, duration: 23:18)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (957 out of 1251, remaining: 07:10, took 1.2s, duration: 23:20)
test 1329...[/-prefixed proxy name]
-------emv- OK (958 out of 1251, remaining: 07:08, took 1.1s, duration: 23:21)
test 1330...[unit tests memory tracking operational]
------oemv- OK (959 out of 1251, remaining: 07:06, took 0.8s, duration: 23:21)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (960 out of 1251, remaining: 07:05, took 1.2s, duration: 23:23)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (961 out of 1251, remaining: 07:03, took 1.3s, duration: 23:24)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (962 out of 1251, remaining: 07:02, took 1.2s, duration: 23:25)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (963 out of 1251, remaining: 07:00, took 1.2s, duration: 23:26)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (964 out of 1251, remaining: 06:59, took 1.2s, duration: 23:28)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (965 out of 1251, remaining: 06:57, took 1.2s, duration: 23:29)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (966 out of 1251, remaining: 06:56, took 1.2s, duration: 23:30)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (967 out of 1251, remaining: 06:54, took 1.2s, duration: 23:31)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (968 out of 1251, remaining: 06:53, took 1.2s, duration: 23:32)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (969 out of 1251, remaining: 06:51, took 1.2s, duration: 23:33)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (970 out of 1251, remaining: 06:49, took 1.2s, duration: 23:35)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (971 out of 1251, remaining: 06:48, took 1.2s, duration: 23:36)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (972 out of 1251, remaining: 06:46, took 1.2s, duration: 23:37)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (973 out of 1251, remaining: 06:45, took 1.2s, duration: 23:38)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (974 out of 1251, remaining: 06:43, took 1.2s, duration: 23:39)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (975 out of 1251, remaining: 06:42, took 1.2s, duration: 23:41)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (976 out of 1251, remaining: 06:40, took 1.2s, duration: 23:42)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (977 out of 1251, remaining: 06:39, took 1.2s, duration: 23:43)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (978 out of 1251, remaining: 06:37, took 1.2s, duration: 23:44)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (979 out of 1251, remaining: 06:36, took 1.2s, duration: 23:45)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (980 out of 1251, remaining: 06:34, took 1.2s, duration: 23:47)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (981 out of 1251, remaining: 06:33, took 1.2s, duration: 23:48)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (982 out of 1251, remaining: 06:31, took 1.2s, duration: 23:49)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (983 out of 1251, remaining: 06:30, took 1.2s, duration: 23:50)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (984 out of 1251, remaining: 06:28, took 1.2s, duration: 23:51)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (985 out of 1251, remaining: 06:26, took 1.2s, duration: 23:53)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (986 out of 1251, remaining: 06:25, took 1.2s, duration: 23:54)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (987 out of 1251, remaining: 06:23, took 1.2s, duration: 23:55)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (988 out of 1251, remaining: 06:22, took 1.2s, duration: 23:56)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (989 out of 1251, remaining: 06:20, took 1.2s, duration: 23:57)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (990 out of 1251, remaining: 06:19, took 1.2s, duration: 23:59)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (991 out of 1251, remaining: 06:17, took 1.2s, duration: 24:00)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (992 out of 1251, remaining: 06:16, took 1.2s, duration: 24:01)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (993 out of 1251, remaining: 06:14, took 1.2s, duration: 24:02)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (994 out of 1251, remaining: 06:13, took 1.2s, duration: 24:03)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (995 out of 1251, remaining: 06:11, took 1.2s, duration: 24:05)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (996 out of 1251, remaining: 06:10, took 1.2s, duration: 24:06)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (997 out of 1251, remaining: 06:08, took 1.2s, duration: 24:07)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (998 out of 1251, remaining: 06:07, took 1.2s, duration: 24:08)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (999 out of 1251, remaining: 06:05, took 1.2s, duration: 24:09)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (1000 out of 1251, remaining: 06:04, took 1.2s, duration: 24:10)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1001 out of 1251, remaining: 06:02, took 1.2s, duration: 24:12)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1002 out of 1251, remaining: 06:01, took 1.2s, duration: 24:13)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1003 out of 1251, remaining: 05:59, took 1.2s, duration: 24:14)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1004 out of 1251, remaining: 05:58, took 1.2s, duration: 24:15)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1251, remaining: 05:56, took 1.2s, duration: 24:16)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1006 out of 1251, remaining: 05:55, took 1.2s, duration: 24:18)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1007 out of 1251, remaining: 05:53, took 1.2s, duration: 24:19)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1008 out of 1251, remaining: 05:52, took 1.2s, duration: 24:20)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1009 out of 1251, remaining: 05:50, took 1.2s, duration: 24:21)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1010 out of 1251, remaining: 05:49, took 1.2s, duration: 24:22)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1011 out of 1251, remaining: 05:47, took 1.2s, duration: 24:24)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1012 out of 1251, remaining: 05:46, took 1.2s, duration: 24:25)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1013 out of 1251, remaining: 05:44, took 1.2s, duration: 24:26)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1014 out of 1251, remaining: 05:43, took 1.2s, duration: 24:27)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1015 out of 1251, remaining: 05:41, took 1.2s, duration: 24:28)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1016 out of 1251, remaining: 05:40, took 1.2s, duration: 24:30)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1017 out of 1251, remaining: 05:38, took 1.2s, duration: 24:31)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1018 out of 1251, remaining: 05:37, took 1.2s, duration: 24:32)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1019 out of 1251, remaining: 05:35, took 1.2s, duration: 24:33)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1020 out of 1251, remaining: 05:34, took 1.2s, duration: 24:35)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1021 out of 1251, remaining: 05:32, took 1.2s, duration: 24:36)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1022 out of 1251, remaining: 05:31, took 1.2s, duration: 24:37)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1023 out of 1251, remaining: 05:29, took 0.8s, duration: 24:38)
test 1395...[Curl_dedotdotify]
-------emv- OK (1024 out of 1251, remaining: 05:27, took 0.8s, duration: 24:39)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1025 out of 1251, remaining: 05:26, took 0.9s, duration: 24:40)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1026 out of 1251, remaining: 05:24, took 0.9s, duration: 24:40)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1027 out of 1251, remaining: 05:23, took 0.8s, duration: 24:41)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1028 out of 1251, remaining: 05:21, took 0.8s, duration: 24:42)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1029 out of 1251, remaining: 05:20, took 1.2s, duration: 24:43)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1030 out of 1251, remaining: 05:18, took 1.2s, duration: 24:44)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1031 out of 1251, remaining: 05:17, took 1.2s, duration: 24:46)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1032 out of 1251, remaining: 05:15, took 1.2s, duration: 24:47)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1033 out of 1251, remaining: 05:14, took 1.3s, duration: 24:48)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1034 out of 1251, remaining: 05:12, took 1.3s, duration: 24:49)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1035 out of 1251, remaining: 05:11, took 1.2s, duration: 24:51)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1036 out of 1251, remaining: 05:09, took 1.2s, duration: 24:52)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1037 out of 1251, remaining: 05:08, took 1.2s, duration: 24:53)
test 1409...[Pass in string to -C]
-------emv- OK (1038 out of 1251, remaining: 05:06, took 0.9s, duration: 24:54)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1039 out of 1251, remaining: 05:05, took 0.9s, duration: 24:55)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1040 out of 1251, remaining: 05:03, took 1.2s, duration: 24:56)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1041 out of 1251, remaining: 05:02, took 1.3s, duration: 24:57)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1042 out of 1251, remaining: 05:00, took 1.3s, duration: 24:59)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1043 out of 1251, remaining: 04:59, took 1.2s, duration: 25:00)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1044 out of 1251, remaining: 04:57, took 1.3s, duration: 25:01)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1045 out of 1251, remaining: 04:56, took 1.2s, duration: 25:02)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1046 out of 1251, remaining: 04:54, took 1.2s, duration: 25:03)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1047 out of 1251, remaining: 04:53, took 1.3s, duration: 25:05)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1048 out of 1251, remaining: 04:51, took 1.2s, duration: 25:06)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1049 out of 1251, remaining: 04:50, took 1.2s, duration: 25:07)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1050 out of 1251, remaining: 04:48, took 1.2s, duration: 25:08)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1251, remaining: 04:47, took 1.2s, duration: 25:10)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1052 out of 1251, remaining: 04:45, took 1.2s, duration: 25:11)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1053 out of 1251, remaining: 04:44, took 1.2s, duration: 25:12)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1054 out of 1251, remaining: 04:42, took 1.2s, duration: 25:13)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1055 out of 1251, remaining: 04:41, took 1.2s, duration: 25:14)
test 1427...[too large -m timeout value]
-------emv- OK (1056 out of 1251, remaining: 04:39, took 0.9s, duration: 25:15)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1057 out of 1251, remaining: 04:38, took 1.7s, duration: 25:17)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1058 out of 1251, remaining: 04:37, took 1.2s, duration: 25:18)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1059 out of 1251, remaining: 04:35, took 1.2s, duration: 25:19)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1060 out of 1251, remaining: 04:34, took 1.2s, duration: 25:20)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1061 out of 1251, remaining: 04:32, took 1.2s, duration: 25:22)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1062 out of 1251, remaining: 04:31, took 1.1s, duration: 25:23)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1063 out of 1251, remaining: 04:29, took 1.2s, duration: 25:24)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1064 out of 1251, remaining: 04:28, took 3.2s, duration: 25:27)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1065 out of 1251, remaining: 04:27, took 1.2s, duration: 25:28)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1066 out of 1251, remaining: 04:25, took 1.3s, duration: 25:30)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1251, remaining: 04:24, took 1.2s, duration: 25:31)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1068 out of 1251, remaining: 04:22, took 1.2s, duration: 25:32)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1069 out of 1251, remaining: 04:21, took 1.1s, duration: 25:33)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1070 out of 1251, remaining: 04:19, took 1.1s, duration: 25:34)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1071 out of 1251, remaining: 04:18, took 1.1s, duration: 25:35)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1072 out of 1251, remaining: 04:16, took 1.2s, duration: 25:36)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1073 out of 1251, remaining: 04:15, took 1.2s, duration: 25:38)
test 1445...[file:// with --remote-time]
-------emv- OK (1074 out of 1251, remaining: 04:13, took 1.1s, duration: 25:39)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1076 out of 1251, remaining: 04:10, took 1.1s, duration: 25:40)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1077 out of 1251, remaining: 04:09, took 1.3s, duration: 25:41)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1078 out of 1251, remaining: 04:07, took 1.2s, duration: 25:42)
test 1450...[Basic DICT lookup]
-------emv- OK (1079 out of 1251, remaining: 04:06, took 3.2s, duration: 25:45)
test 1451...[Basic SMB request]
-------emv- OK (1080 out of 1251, remaining: 04:05, took 3.3s, duration: 25:49)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1081 out of 1251, remaining: 04:04, took 3.2s, duration: 25:52)
test 1453...[Too long tftp filename]
-------emv- OK (1082 out of 1251, remaining: 04:02, took 1.1s, duration: 25:53)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1084 out of 1251, remaining: 03:59, took 1.2s, duration: 25:54)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1085 out of 1251, remaining: 03:58, took 1.2s, duration: 25:55)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1086 out of 1251, remaining: 03:56, took 1.2s, duration: 25:57)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1087 out of 1251, remaining: 03:55, took 1.2s, duration: 25:58)
test 1500...[curl_multi_wait]
---d---emv- OK (1088 out of 1251, remaining: 03:53, took 1.0s, duration: 25:59)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1089 out of 1251, remaining: 03:52, took 5.1s, duration: 26:04)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1090 out of 1251, remaining: 03:51, took 1.0s, duration: 26:05)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1091 out of 1251, remaining: 03:49, took 1.0s, duration: 26:06)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1092 out of 1251, remaining: 03:48, took 1.0s, duration: 26:07)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1093 out of 1251, remaining: 03:46, took 1.0s, duration: 26:08)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1094 out of 1251, remaining: 03:45, took 1.1s, duration: 26:09)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1095 out of 1251, remaining: 03:43, took 1.0s, duration: 26:10)
test 1508...[Close a multi handle without using it]
------oemv- OK (1096 out of 1251, remaining: 03:42, took 0.9s, duration: 26:11)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1097 out of 1251, remaining: 03:40, took 1.6s, duration: 26:13)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1098 out of 1251, remaining: 03:39, took 1.1s, duration: 26:14)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1099 out of 1251, remaining: 03:37, took 1.0s, duration: 26:15)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1100 out of 1251, remaining: 03:36, took 2.1s, duration: 26:17)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1101 out of 1251, remaining: 03:35, took 3.1s, duration: 26:20)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1102 out of 1251, remaining: 03:34, took 3.1s, duration: 26:23)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1103 out of 1251, remaining: 03:32, took 1.0s, duration: 26:24)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1104 out of 1251, remaining: 03:31, took 1.0s, duration: 26:25)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1105 out of 1251, remaining: 03:29, took 1.0s, duration: 26:26)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1106 out of 1251, remaining: 03:28, took 1.0s, duration: 26:27)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1107 out of 1251, remaining: 03:26, took 1.1s, duration: 26:28)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1108 out of 1251, remaining: 03:25, took 1.1s, duration: 26:29)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1109 out of 1251, remaining: 03:24, took 11.1s, duration: 26:40)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1110 out of 1251, remaining: 03:23, took 4.1s, duration: 26:45)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1111 out of 1251, remaining: 03:22, took 2.1s, duration: 26:47)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1112 out of 1251, remaining: 03:21, took 2.1s, duration: 26:49)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1113 out of 1251, remaining: 03:19, took 1.1s, duration: 26:50)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1114 out of 1251, remaining: 03:18, took 0.9s, duration: 26:51)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1115 out of 1251, remaining: 03:16, took 1.0s, duration: 26:52)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1116 out of 1251, remaining: 03:15, took 1.1s, duration: 26:53)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1117 out of 1251, remaining: 03:13, took 1.0s, duration: 26:54)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1118 out of 1251, remaining: 03:12, took 1.1s, duration: 26:55)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1119 out of 1251, remaining: 03:10, took 1.1s, duration: 26:56)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1120 out of 1251, remaining: 03:09, took 1.0s, duration: 26:57)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1121 out of 1251, remaining: 03:07, took 1.0s, duration: 26:58)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1122 out of 1251, remaining: 03:06, took 0.8s, duration: 26:59)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1123 out of 1251, remaining: 03:04, took 0.8s, duration: 27:00)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1124 out of 1251, remaining: 03:03, took 1.0s, duration: 27:01)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1125 out of 1251, remaining: 03:01, took 0.8s, duration: 27:02)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1126 out of 1251, remaining: 03:00, took 0.9s, duration: 27:03)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1127 out of 1251, remaining: 02:58, took 1.1s, duration: 27:04)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1128 out of 1251, remaining: 02:57, took 1.1s, duration: 27:05)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1129 out of 1251, remaining: 02:55, took 1.0s, duration: 27:06)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1130 out of 1251, remaining: 02:54, took 1.1s, duration: 27:07)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1131 out of 1251, remaining: 02:52, took 1.0s, duration: 27:08)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1132 out of 1251, remaining: 02:51, took 1.0s, duration: 27:09)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1133 out of 1251, remaining: 02:49, took 1.0s, duration: 27:10)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1134 out of 1251, remaining: 02:48, took 1.0s, duration: 27:11)
test 1559...[Set excessive URL lengths]
s------emv- OK (1135 out of 1251, remaining: 02:46, took 1.1s, duration: 27:12)
test 1560...[URL API]
s------emv- OK (1136 out of 1251, remaining: 02:45, took 1.1s, duration: 27:13)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 29
valgrind ERROR ==16364== Invalid read of size 8
==16364== at 0x53335A5: check_free (dlerror.c:188)
==16364== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16364== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16364== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16364== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16364== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16364== by 0x4C4AEB9: exit (exit.c:139)
==16364== by 0x4C350A1: (below main) (libc-start.c:342)
==16364== Address 0x5b557a0 is 0 bytes after a block of size 32 alloc'd
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
==16364== Invalid free() / delete / delete[] / realloc()
==16364== at 0x48369AB: free (vg_replace_malloc.c:540)
==16364== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16364== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16364== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16364== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16364== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16364== by 0x4C4AEB9: exit (exit.c:139)
==16364== by 0x4C350A1: (below main) (libc-start.c:342)
==16364== Address 0x5b55788 is 8 bytes inside a block of size 32 alloc'd
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
==16364== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
== 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:18:43.245530 ====> Client connect
03:18:43.245566 accept_connection 3 returned 4
03:18:43.245581 accept_connection 3 returned 0
03:18:43.245704 Read 96 bytes
03:18:43.245736 Process 96 bytes request
03:18:43.245760 Got request: GET /verifiedserver HTTP/1.1
03:18:43.245775 Are-we-friendly question received
03:18:43.245799 Wrote request (96 bytes) input to log/server.input
03:18:43.245821 Identifying ourselves as friends
03:18:43.245887 Response sent (56 bytes) and written to log/server.response
03:18:43.245903 special request received, no persistency
03:18:43.245914 ====> Client disconnect 0
03:18:47.305201 ====> Client connect
03:18:47.305233 accept_connection 3 returned 4
03:18:47.305253 accept_connection 3 returned 0
03:18:47.394485 Read 91 bytes
03:18:47.394520 Process 91 bytes request
03:18:47.394534 Got request: GET /15610001 HTTP/1.1
03:18:47.394544 Requested test number 1561 part 1
03:18:47.394576 - request found to be complete
03:18:47.394603 Wrote request (91 bytes) input to log/server.input
03:18:47.394625 Send response test1561 section <data1>
03:18:47.394786 Response sent (722 bytes) and written to log/server.response
03:18:47.394797 => persistent connection request ended, awaits new request
03:18:47.520310 ====> Client connect
03:18:47.520342 accept_connection 3 returned 5
03:18:47.520355 accept_connection 3 returned 0
03:18:47.524332 Read 91 bytes
03:18:47.524353 Process 91 bytes request
03:18:47.524365 Got request: GET /15610002 HTTP/1.1
03:18:47.524374 Requested test number 1561 part 2
03:18:47.524402 - request found to be complete
03:18:47.524424 Wrote request (91 bytes) input to log/server.input
03:18:47.524436 Send response test1561 section <data2>
03:18:47.524573 Response sent (966 bytes) and written to log/server.response
03:18:47.524584 => persistent connection request ended, awaits new request
03:18:47.558625 Connection closed by client
03:18:47.558680 ====> Client disconnect 0
03:18:47.627138 Connection closed by client
03:18:47.627195 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.09.11 03:18:42 LOG5[16357]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:18:42 LOG5[16357]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:18:42 LOG5[16357]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:18:42 LOG5[16357]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:18:42 LOG5[16357]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:18:42 LOG5[16357]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 03:18:42 LOG5[16357]: FIPS mode disabled
2019.09.11 03:18:42 LOG5[16357]: Configuration successful
2019.09.11 03:18:43 LOG5[16362]: Service [curltest] accepted connection from 127.0.0.1:42550
2019.09.11 03:18:43 LOG5[16362]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:18:43 LOG5[16362]: Service [curltest] connected remote server from 127.0.0.1:49634
2019.09.11 03:18:43 LOG5[16362]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 03:18:45 LOG5[16365]: Service [curltest] accepted connection from 127.0.0.1:42554
2019.09.11 03:18:47 LOG5[16365]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:18:47 LOG5[16365]: Service [curltest] connected remote server from 127.0.0.1:49640
2019.09.11 03:18:47 LOG5[16365]: 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 0x5621fbc00828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5621fbc00828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5621fbc00828; line 1665 (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 0x5621fbc00828; line 1682 (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 0x5621fbc00828; line 1701 (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 0x5621fbc00828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5621fbc00828; line 1877 (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 0x5621fbc00828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5621fbc00828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 16255
=== 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: 17
WE ROOLZ: 16255
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 259 0 --:--:-- --:--:-- --:--:-- 318
=== 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:18:45.189910 == Info: STATE: INIT => CONNECT handle 0x56caa48; line 1491 (connection #-5000)
03:18:45.244462 == Info: Added connection 0. The cache now contains 1 members
03:18:45.261531 == Info: Trying 127.0.0.1:8991...
03:18:45.262133 == Info: TCP_NODELAY set
03:18:45.267203 == Info: STATE: CONNECT => WAITCONNECT handle 0x56caa48; line 1547 (connection #0)
03:18:45.278724 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:45.279287 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56caa48; line 1665 (connection #0)
03:18:45.280429 == Info: Marked for [keep alive]: HTTP default
03:18:45.331747 == Info: ALPN, offering h2
03:18:45.332039 == Info: ALPN, offering http/1.1
03:18:46.767862 == Info: successfully set certificate verify locations:
03:18:46.768122 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:46.891093 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:46.896207 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:46.896265 => Send SSL data, 148 bytes (0x94)
0000: .......+7.....\dU.(?J3......\.}.A..%dA....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:46.913286 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:46.918702 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:46.918767 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..w.@.[.....!G..$................. X......fAb!..5N...d......
0040: zY.~.././................
03:18:46.962490 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:46.962856 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:46.962912 <= 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:18:47.063330 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:47.063558 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:47.063614 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.}E..'H.].Jg./....~&..Y.m..Y-......oI.t[7F].3.....B...?.".S
0040: ......ah......s&..*.P,.^....U.5L.....{...D..0.'.F<.X@&r|.......f
0080: .#...{....iO.%...M...-....0y..#w........wti..n.;F%T....r.......%
00c0: ...M9...$i..RY......T..^R-*...D..r_').....&u.r,b.-.....cOR..>.).
0100: ...N*..L..Z..NJ...p..hO`....P...Y'tYX6.........o5.>x&..|.fd.....
0140: 7.m.....k....
03:18:47.136234 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:47.136468 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:47.136523 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:47.256247 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:47.256474 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:47.256534 => Send SSL data, 70 bytes (0x46)
0000: ...BA.@1~)$......J.?/O...I.....L^...9.-.j.@...Z.X.0..s+..6p5T..L
0040: ......
03:18:47.268780 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:47.269395 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:47.269452 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:47.291377 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:47.291448 => Send SSL data, 16 bytes (0x10)
0000: ....#.."..T....A
03:18:47.304235 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:47.306946 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:47.308138 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:47.308202 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:47.310687 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:47.316477 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:47.316535 <= Recv SSL data, 16 bytes (0x10)
0000: ....K...<..3B...
03:18:47.345709 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:47.346381 == Info: ALPN, server did not agree to a protocol
03:18:47.349185 == Info: Server certificate:
03:18:47.357168 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:47.363564 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:47.364589 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:47.365584 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:47.366511 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:47.368043 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56caa48; line 1685 (connection #0)
03:18:47.392790 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:47.395762 => 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:18:47.398780 == Info: STATE: DO => DO_DONE handle 0x56caa48; line 1756 (connection #0)
03:18:47.399256 == Info: STATE: DO_DONE => PERFORM handle 0x56caa48; line 1877 (connection #0)
03:18:47.403839 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:18:47.413035 == Info: Mark bundle as not supporting multiuse
03:18:47.413630 == Info: HTTP 1.1 or later with persistent connection
03:18:47.416463 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:47.427693 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:47.428595 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:47.428828 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:47.429682 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:18:47.448416 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:18:47.448824 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:18:47.449343 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:18:47.450434 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:18:47.450587 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:18:47.451148 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:47.453876 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:18:47.454299 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:47.454858 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:18:47.454916 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:18:47.455928 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:18:47.455986 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:18:47.456519 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:47.457818 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:18:47.458930 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:18:47.458989 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:18:47.459794 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:18:47.460201 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:18:47.461013 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:18:47.461441 <= Recv SSL data, 5 bytes (0x5)
0000: ....j
03:18:47.462245 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:18:47.465121 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:18:47.465232 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:18:47.466378 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:47.468880 <= Recv header, 1 bytes (0x1)
0000: .
03:18:47.469565 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:47.474105 == Info: STATE: PERFORM => DONE handle 0x56caa48; line 2067 (connection #0)
03:18:47.474603 == Info: multi_done
03:18:47.485025 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:47.515525 == Info: STATE: INIT => CONNECT handle 0x5725778; line 1491 (connection #-5000)
03:18:47.519484 == Info: Added connection 1. The cache now contains 2 members
03:18:47.520125 == Info: Trying 127.0.0.1:8990...
03:18:47.520189 == Info: TCP_NODELAY set
03:18:47.520343 == Info: STATE: CONNECT => WAITCONNECT handle 0x5725778; line 1547 (connection #1)
03:18:47.521689 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:18:47.521783 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5725778; line 1665 (connection #1)
03:18:47.521893 == Info: Marked for [keep alive]: HTTP default
03:18:47.522050 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5725778; line 1685 (connection #1)
03:18:47.524695 => 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:18:47.525197 == Info: STATE: DO => DO_DONE handle 0x5725778; line 1756 (connection #1)
03:18:47.525286 == Info: STATE: DO_DONE => PERFORM handle 0x5725778; line 1877 (connection #1)
03:18:47.526328 == Info: Mark bundle as not supporting multiuse
03:18:47.526396 == Info: HTTP 1.1 or later with persistent connection
03:18:47.526460 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:47.526630 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:47.526848 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:47.528410 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:18:47.529511 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:18:47.530731 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:18:47.530791 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:18:47.531591 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:18:47.531648 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:18:47.532786 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:18:47.533842 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:18:47.535713 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:18:47.536682 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:18:47.537363 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:18:47.538196 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:18:47.538786 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:18:47.539574 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:18:47.540529 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:18:47.541333 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:18:47.542103 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:18:47.542368 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:47.542517 <= Recv header, 1 bytes (0x1)
0000: .
03:18:47.542592 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:47.542985 == Info: STATE: PERFORM => DONE handle 0x5725778; line 2067 (connection #1)
03:18:47.543051 == Info: multi_done
03:18:47.543838 == Info: Connection #1 to host 127.0.0.1 left intact
03:18:47.545045 == Info: Expire cleared (transfer 0x5725778)
=== End of file trace1561
=== Start of file valgrind1561
==16364== Invalid read of size 8
==16364== at 0x53335A5: check_free (dlerror.c:188)
==16364== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16364== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16364== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16364== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16364== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16364== by 0x4C4AEB9: exit (exit.c:139)
==16364== by 0x4C350A1: (below main) (libc-start.c:342)
==16364== Address 0x5b557a0 is 0 bytes after a block of size 32 alloc'd
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
==16364== Invalid free() / delete / delete[] / realloc()
==16364== at 0x48369AB: free (vg_replace_malloc.c:540)
==16364== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16364== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16364== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16364== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16364== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16364== by 0x4C4AEB9: exit (exit.c:139)
==16364== by 0x4C350A1: (below main) (libc-start.c:342)
==16364== Address 0x5b55788 is 8 bytes inside a block of size 32 alloc'd
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
==16364== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16364== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16364== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16364== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16364== by 0x24AEEC: err_get_state (err.c:210)
==16364== by 0x24BAC2: ERR_put_error (err.c:636)
==16364== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16364== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16364== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16364== by 0x27010E: by_file_ctrl (by_file.c:111)
==16364== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16364== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16364== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16364== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16364== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16364== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16364== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16364==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 30
valgrind ERROR ==16376== Invalid read of size 8
==16376== at 0x53335A5: check_free (dlerror.c:188)
==16376== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16376== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16376== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16376== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16376== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16376== by 0x4C4AEB9: exit (exit.c:139)
==16376== by 0x4C350A1: (below main) (libc-start.c:342)
==16376== Address 0x5bafec0 is 0 bytes after a block of size 32 alloc'd
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
==16376== Invalid free() / delete / delete[] / realloc()
==16376== at 0x48369AB: free (vg_replace_malloc.c:540)
==16376== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16376== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16376== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16376== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16376== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16376== by 0x4C4AEB9: exit (exit.c:139)
==16376== by 0x4C350A1: (below main) (libc-start.c:342)
==16376== Address 0x5bafea8 is 8 bytes inside a block of size 32 alloc'd
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
==16376== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
== 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:18:50.765481 ====> Client connect
03:18:50.765529 accept_connection 3 returned 4
03:18:50.765550 accept_connection 3 returned 0
03:18:50.853171 Read 91 bytes
03:18:50.853211 Process 91 bytes request
03:18:50.853228 Got request: GET /15620001 HTTP/1.1
03:18:50.853239 Requested test number 1562 part 1
03:18:50.853266 - request found to be complete
03:18:50.853296 Wrote request (91 bytes) input to log/server.input
03:18:50.853320 Send response test1562 section <data1>
03:18:50.853396 Response sent (140 bytes) and written to log/server.response
03:18:50.853407 => persistent connection request ended, awaits new request
03:18:50.966556 Read 108 bytes
03:18:50.966592 Process 108 bytes request
03:18:50.966606 Got request: GET /15620002 HTTP/1.1
03:18:50.966615 Requested test number 1562 part 2
03:18:50.966641 - request found to be complete
03:18:50.966654 Wrote request (108 bytes) input to log/server.input
03:18:50.966666 Send response test1562 section <data2>
03:18:50.966741 Response sent (178 bytes) and written to log/server.response
03:18:50.966752 => persistent connection request ended, awaits new request
03:18:50.988579 Read 91 bytes
03:18:50.988611 Process 91 bytes request
03:18:50.988628 Got request: GET /15620001 HTTP/1.1
03:18:50.988639 Requested test number 1562 part 1
03:18:50.988664 - request found to be complete
03:18:50.988676 Wrote request (91 bytes) input to log/server.input
03:18:50.988688 Send response test1562 section <data1>
03:18:50.988745 Response sent (140 bytes) and written to log/server.response
03:18:50.988756 => persistent connection request ended, awaits new request
03:18:51.007637 Connection closed by client
03:18:51.007672 ====> 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 225 0 --:--:-- --:--:-- --:--:-- 466
% 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 538 0 --:--:-- --:--:-- --:--:-- 700
=== 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:18:48.651182 == Info: STATE: INIT => CONNECT handle 0x56ca188; line 1491 (connection #-5000)
03:18:48.706960 == Info: Added connection 0. The cache now contains 1 members
03:18:48.724302 == Info: Trying 127.0.0.1:8991...
03:18:48.724948 == Info: TCP_NODELAY set
03:18:48.730183 == Info: STATE: CONNECT => WAITCONNECT handle 0x56ca188; line 1547 (connection #0)
03:18:48.741828 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:48.742390 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56ca188; line 1665 (connection #0)
03:18:48.743510 == Info: Marked for [keep alive]: HTTP default
03:18:48.794101 == Info: ALPN, offering h2
03:18:48.794375 == Info: ALPN, offering http/1.1
03:18:50.242088 == Info: successfully set certificate verify locations:
03:18:50.242354 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:18:50.356638 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:50.361753 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:18:50.361817 => Send SSL data, 148 bytes (0x94)
0000: ......x..Kk............3Gw5..:_..)R.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:18:50.378863 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:18:50.384261 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:18:50.384319 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...x-i.....LK.#5%G.PW..... Y....?. KE.F9.....~C.Z....F<'..2.
0040: ...z..i./................
03:18:50.428604 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.428996 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:18:50.429054 <= 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:18:50.528454 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:18:50.528684 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:18:50.528742 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.}E..'H.].Jg./....~&..Y.m..Y-......oI.t[7F].3.....B...?.".S
0040: ......ah.....X|R..h{.h...;.....)\.}...]Gp...a....4`Q'A?.....&...
0080: .J...n..,Y.\....h...rR.P%....shJ..)..|HLy.B..].0|.......k..:.Ua.
00c0: g......(.....NE.... ..z.7.7....N..H.".p.}T.b..PT...]...n...1...I
0100: .VD?u:.9.....4.p..&.4.,....}'...f.O.f/......#.....d.Slk.QN...+..
0140: .w..{.V..l..Z
03:18:50.600802 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.601022 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:18:50.601079 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:18:50.717650 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:18:50.717860 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:18:50.717919 => Send SSL data, 70 bytes (0x46)
0000: ...BA.<.....l.z=./....:..u.qf.l-.J......C.<u...=.x.?"X.7hH.....Z
0040: ..A[7F]Qk
03:18:50.729871 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:50.730457 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:18:50.730514 => Send SSL data, 1 bytes (0x1)
0000: .
03:18:50.751967 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:18:50.752026 => Send SSL data, 16 bytes (0x10)
0000: .....YF\..1.....
03:18:50.764584 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:18:50.767282 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.768803 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:18:50.768874 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:18:50.771584 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:18:50.777437 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:18:50.777500 <= Recv SSL data, 16 bytes (0x10)
0000: ......N.k.<4....
03:18:50.805996 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:18:50.806668 == Info: ALPN, server did not agree to a protocol
03:18:50.809308 == Info: Server certificate:
03:18:50.816801 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:50.822981 == Info: start date: Aug 31 23:39:18 2018 GMT
03:18:50.823930 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:18:50.824875 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:18:50.825744 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:18:50.827244 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56ca188; line 1685 (connection #0)
03:18:50.851480 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:50.854395 => 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:18:50.857367 == Info: STATE: DO => DO_DONE handle 0x56ca188; line 1756 (connection #0)
03:18:50.857838 == Info: STATE: DO_DONE => PERFORM handle 0x56ca188; line 1877 (connection #0)
03:18:50.862257 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.875219 == Info: Mark bundle as not supporting multiuse
03:18:50.875811 == Info: HTTP 1.1 or later with persistent connection
03:18:50.878497 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:50.882377 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:50.882612 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:50.895759 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:50.896155 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:50.897274 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:50.899720 <= Recv header, 1 bytes (0x1)
0000: .
03:18:50.900542 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:50.906239 == Info: STATE: PERFORM => DONE handle 0x56ca188; line 2067 (connection #0)
03:18:50.906568 == Info: multi_done
03:18:50.915741 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:50.917787 == Info: Expire cleared (transfer 0x56ca188)
03:18:50.942186 == Info: STATE: INIT => CONNECT handle 0x5724f18; line 1491 (connection #-5000)
03:18:50.948335 == Info: Found bundle for host 127.0.0.1: 0x5809f28 [serially]
03:18:50.948672 == Info: Can not multiplex, even if we wanted to
03:18:50.956957 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:50.957751 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:50.957961 == Info: STATE: CONNECT => DO handle 0x5724f18; line 1540 (connection #0)
03:18:50.966350 => Send SSL data, 5 bytes (0x5)
0000: .....
03:18:50.966499 => 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:18:50.967053 == Info: STATE: DO => DO_DONE handle 0x5724f18; line 1756 (connection #0)
03:18:50.967141 == Info: STATE: DO_DONE => PERFORM handle 0x5724f18; line 1877 (connection #0)
03:18:50.967322 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:18:50.967782 == Info: Mark bundle as not supporting multiuse
03:18:50.967850 == Info: HTTP 1.1 or later with persistent connection
03:18:50.967926 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:50.968102 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:50.968324 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:50.972164 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:18:50.972273 <= Recv header, 75 bytes (0x4b)
0000: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age
0040: =0; Path=/.
03:18:50.972659 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:50.972815 <= Recv header, 1 bytes (0x1)
0000: .
03:18:50.972890 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:50.973271 == Info: STATE: PERFORM => DONE handle 0x5724f18; line 2067 (connection #0)
03:18:50.973336 == Info: multi_done
03:18:50.974229 == Info: Connection #0 to host 127.0.0.1 left intact
03:18:50.974358 == Info: Expire cleared (transfer 0x5724f18)
03:18:50.982262 == Info: STATE: INIT => CONNECT handle 0x577ef08; line 1491 (connection #-5000)
03:18:50.984230 == Info: Found bundle for host 127.0.0.1: 0x5809f28 [serially]
03:18:50.984298 == Info: Can not multiplex, even if we wanted to
03:18:50.985267 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:18:50.985440 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:18:50.985521 == Info: STATE: CONNECT => DO handle 0x577ef08; line 1540 (connection #0)
03:18:50.988383 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:18:50.988524 => 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:18:50.989023 == Info: STATE: DO => DO_DONE handle 0x577ef08; line 1756 (connection #0)
03:18:50.989110 == Info: STATE: DO_DONE => PERFORM handle 0x577ef08; line 1877 (connection #0)
03:18:50.989287 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:18:50.989468 == Info: Mark bundle as not supporting multiuse
03:18:50.989531 == Info: HTTP 1.1 or later with persistent connection
03:18:50.989592 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:18:50.989741 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:18:50.994028 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:18:50.994233 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:18:50.994831 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:18:50.994888 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:18:50.995107 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:18:50.995257 <= Recv header, 1 bytes (0x1)
0000: .
03:18:50.995330 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:18:50.995472 == Info: STATE: PERFORM => DONE handle 0x577ef08; line 2067 (connection #0)
03:18:50.995534 == Info: multi_done
03:18:50.996299 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace1562
=== Start of file valgrind1562
==16376== Invalid read of size 8
==16376== at 0x53335A5: check_free (dlerror.c:188)
==16376== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16376== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16376== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16376== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16376== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16376== by 0x4C4AEB9: exit (exit.c:139)
==16376== by 0x4C350A1: (below main) (libc-start.c:342)
==16376== Address 0x5bafec0 is 0 bytes after a block of size 32 alloc'd
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
==16376== Invalid free() / delete / delete[] / realloc()
==16376== at 0x48369AB: free (vg_replace_malloc.c:540)
==16376== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16376== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16376== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16376== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16376== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16376== by 0x4C4AEB9: exit (exit.c:139)
==16376== by 0x4C350A1: (below main) (libc-start.c:342)
==16376== Address 0x5bafea8 is 8 bytes inside a block of size 32 alloc'd
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
==16376== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16376== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16376== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16376== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16376== by 0x24AEEC: err_get_state (err.c:210)
==16376== by 0x24BAC2: ERR_put_error (err.c:636)
==16376== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16376== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16376== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16376== by 0x27010E: by_file_ctrl (by_file.c:111)
==16376== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16376== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16376== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16376== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16376== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16376== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16376== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16376==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1139 out of 1251, remaining: 02:41, took 1.2s, duration: 27:23)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1140 out of 1251, remaining: 02:40, took 1.1s, duration: 27:24)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1142 out of 1251, remaining: 02:36, took 0.0s, duration: 27:24)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1143 out of 1251, remaining: 02:35, took 1.1s, duration: 27:25)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1144 out of 1251, remaining: 02:34, took 1.1s, duration: 27:26)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1145 out of 1251, remaining: 02:32, took 1.1s, duration: 27:28)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1146 out of 1251, remaining: 02:31, took 1.1s, duration: 27:29)
test 1600...[NTLM unit tests]
-------emv- OK (1147 out of 1251, remaining: 02:29, took 0.9s, duration: 27:29)
test 1601...[MD5 unit tests]
-------emv- OK (1148 out of 1251, remaining: 02:28, took 0.8s, duration: 27:30)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1149 out of 1251, remaining: 02:26, took 0.8s, duration: 27:31)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1150 out of 1251, remaining: 02:25, took 0.8s, duration: 27:32)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1151 out of 1251, remaining: 02:23, took 0.8s, duration: 27:33)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1152 out of 1251, remaining: 02:22, took 0.9s, duration: 27:34)
test 1606...[verify speedcheck]
-------emv- OK (1153 out of 1251, remaining: 02:20, took 0.9s, duration: 27:35)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1154 out of 1251, remaining: 02:19, took 1.0s, duration: 27:36)
test 1608...[verify DNS shuffling]
-------emv- OK (1155 out of 1251, remaining: 02:17, took 0.9s, duration: 27:36)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1156 out of 1251, remaining: 02:16, took 0.9s, duration: 27:37)
test 1620...[unit tests for url.c]
-------emv- OK (1157 out of 1251, remaining: 02:14, took 0.9s, duration: 27:38)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1158 out of 1251, remaining: 02:13, took 0.9s, duration: 27:39)
test 1650...[DOH]
-------emv- OK (1159 out of 1251, remaining: 02:11, took 0.8s, duration: 27:40)
test 1651...[x509 parsing]
-------emv- OK (1160 out of 1251, remaining: 02:10, took 0.8s, duration: 27:41)
test 1652...[infof]
-------emv- OK (1161 out of 1251, remaining: 02:08, took 0.9s, duration: 27:42)
test 1653...[urlapi]
-------emv- OK (1162 out of 1251, remaining: 02:07, took 0.8s, duration: 27:43)
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 (1167 out of 1251, remaining: 02:00, took 1.2s, duration: 27:49)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1168 out of 1251, remaining: 01:58, took 1.7s, duration: 27:50)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1169 out of 1251, remaining: 01:57, took 1.1s, duration: 27:51)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1170 out of 1251, remaining: 01:55, took 1.1s, duration: 27:53)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1251, remaining: 01:54, took 1.2s, duration: 27:54)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1172 out of 1251, remaining: 01:52, took 1.3s, duration: 27:55)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1173 out of 1251, remaining: 01:51, took 1.3s, duration: 27:56)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1174 out of 1251, remaining: 01:50, took 1.5s, duration: 27:58)
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 (1194 out of 1251, remaining: 01:20, took 1.1s, duration: 27:59)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1195 out of 1251, remaining: 01:18, took 1.1s, duration: 28:00)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1196 out of 1251, remaining: 01:17, took 1.2s, duration: 28:01)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1197 out of 1251, remaining: 01:15, took 1.2s, duration: 28:03)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1198 out of 1251, remaining: 01:14, took 1.2s, duration: 28:04)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1199 out of 1251, remaining: 01:13, took 1.2s, duration: 28:05)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1200 out of 1251, remaining: 01:11, took 1.2s, duration: 28:06)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1201 out of 1251, remaining: 01:10, took 1.2s, duration: 28:07)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1202 out of 1251, remaining: 01:08, took 1.2s, duration: 28:09)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1203 out of 1251, remaining: 01:07, took 1.2s, duration: 28:10)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 31
valgrind ERROR ==16560== Invalid read of size 8
==16560== at 0x53335A5: check_free (dlerror.c:188)
==16560== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16560== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16560== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16560== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16560== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16560== by 0x4C4AEB9: exit (exit.c:139)
==16560== by 0x4C350A1: (below main) (libc-start.c:342)
==16560== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
==16560== Invalid free() / delete / delete[] / realloc()
==16560== at 0x48369AB: free (vg_replace_malloc.c:540)
==16560== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16560== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16560== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16560== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16560== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16560== by 0x4C4AEB9: exit (exit.c:139)
==16560== by 0x4C350A1: (below main) (libc-start.c:342)
==16560== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
==16560== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
== 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:38.809781 signalled to die
03:19:38.809901 ========> IPv4 sws (port 8990 pid: 16255) exits with signal (15)
03:19:43.833186 Running HTTP IPv4 version on port 8990
03:19:43.833419 Wrote pid 16544 to .http_server.pid
03:19:44.830129 ====> Client connect
03:19:44.830165 accept_connection 3 returned 4
03:19:44.830186 accept_connection 3 returned 0
03:19:44.830208 Read 96 bytes
03:19:44.830224 Process 96 bytes request
03:19:44.830250 Got request: GET /verifiedserver HTTP/1.1
03:19:44.830266 Are-we-friendly question received
03:19:44.830313 Wrote request (96 bytes) input to log/server.input
03:19:44.830358 Identifying ourselves as friends
03:19:44.830491 Response sent (56 bytes) and written to log/server.response
03:19:44.830510 special request received, no persistency
03:19:44.830522 ====> Client disconnect 0
03:19:46.874681 ====> Client connect
03:19:46.874710 accept_connection 3 returned 4
03:19:46.874727 accept_connection 3 returned 0
03:19:46.874827 Read 96 bytes
03:19:46.874843 Process 96 bytes request
03:19:46.874859 Got request: GET /verifiedserver HTTP/1.1
03:19:46.874879 Are-we-friendly question received
03:19:46.874900 Wrote request (96 bytes) input to log/server.input
03:19:46.874922 Identifying ourselves as friends
03:19:46.874998 Response sent (56 bytes) and written to log/server.response
03:19:46.875020 special request received, no persistency
03:19:46.875037 ====> Client disconnect 0
03:19:49.675734 ====> Client connect
03:19:49.675761 accept_connection 3 returned 4
03:19:49.675781 accept_connection 3 returned 0
03:19:49.768156 Read 86 bytes
03:19:49.768190 Process 86 bytes request
03:19:49.768207 Got request: GET /2034 HTTP/1.1
03:19:49.768219 Requested test number 2034 part 0
03:19:49.768249 - request found to be complete
03:19:49.768276 Wrote request (86 bytes) input to log/server.input
03:19:49.768298 Send response test2034 section <data>
03:19:49.768364 Response sent (103 bytes) and written to log/server.response
03:19:49.768374 => persistent connection request ended, awaits new request
03:19:49.842328 Connection closed by client
03:19:49.842360 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x559bc292d828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x559bc292d828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x559bc292d828; line 1665 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x559bc292d828; line 1685 (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 0x559bc292d828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x559bc292d828; line 1877 (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 0x559bc292d828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x559bc292d828)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 16544
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.09.11 03:19:45 LOG5[16551]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.09.11 03:19:45 LOG5[16551]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.09.11 03:19:45 LOG5[16551]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.09.11 03:19:45 LOG5[16551]: Update OpenSSL shared libraries or rebuild stunnel
2019.09.11 03:19:45 LOG5[16551]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.09.11 03:19:45 LOG5[16551]: Reading configuration from file /build-9373/tests/https_stunnel.conf
2019.09.11 03:19:45 LOG5[16551]: FIPS mode disabled
2019.09.11 03:19:46 LOG5[16551]: Configuration successful
2019.09.11 03:19:46 LOG5[16556]: Service [curltest] accepted connection from 127.0.0.1:42684
2019.09.11 03:19:47 LOG5[16556]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:19:47 LOG5[16556]: Service [curltest] connected remote server from 127.0.0.1:49768
2019.09.11 03:19:47 LOG5[16556]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.09.11 03:19:49 LOG5[16561]: Service [curltest] accepted connection from 127.0.0.1:42690
2019.09.11 03:19:49 LOG5[16561]: s_connect: connected 127.0.0.1:8990
2019.09.11 03:19:49 LOG5[16561]: Service [curltest] connected remote server from 127.0.0.1:49774
2019.09.11 03:19:49 LOG5[16561]: 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 0x55e5044e1828; line 1491 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55e5044e1828; line 1547 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55e5044e1828; line 1665 (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 0x55e5044e1828; line 1682 (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 0x55e5044e1828; line 1701 (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 0x55e5044e1828; line 1756 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55e5044e1828; line 1877 (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
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55e5044e1828; line 2067 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55e5044e1828)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 16544
=== 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: 17
WE ROOLZ: 16544
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 16544
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:19:48.827490 == Info: STATE: INIT => CONNECT handle 0x56c8a68; line 1491 (connection #-5000)
03:19:48.883119 == Info: Added connection 0. The cache now contains 1 members
03:19:48.938633 == Info: Trying ::1:8991...
03:19:48.939300 == Info: TCP_NODELAY set
03:19:48.944400 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a68; line 1547 (connection #0)
03:19:48.959191 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:48.961541 == Info: Trying 127.0.0.1:8991...
03:19:48.961613 == Info: TCP_NODELAY set
03:19:48.970087 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:19:48.970617 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8a68; line 1665 (connection #0)
03:19:48.971708 == Info: Marked for [keep alive]: HTTP default
03:19:49.023941 == Info: ALPN, offering h2
03:19:49.024232 == Info: ALPN, offering http/1.1
03:19:49.115550 == Info: successfully set certificate verify locations:
03:19:49.115821 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:19:49.234661 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:49.240033 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:49.240100 => Send SSL data, 166 bytes (0xa6)
0000: ......oE.........f.l(.T.[1....+.4|E.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:19:49.257270 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:19:49.263361 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:49.263432 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y........s..^......<p.........+.Y.. ..S.&....U.u....PRDiO^.H}
0040: ......#./....................
03:19:49.311035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:49.311428 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:49.311492 <= 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:19:49.492250 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:49.492493 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:49.492554 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.O%..R.Z.gY4.%X....[7F].V.....-..........J...!<x`.....gB...
0040: .xe.3.u.&......M.4.4.=%'6_.>6hJ.n.h.w.Ro...Uq........b4t.dII<!@.
0080: ..54.S|:..R..RP.`........A...W..1...r......`3_Z..5.....?..*}...=
00c0: \....6V..7.V..,L.E...."^.}....6..cLc..w`.J8p.}R1$.v..S...*......
0100: ......9m..........2.4KE...PX(...8'.r.Q.J...V6...[..,...*[7F].zy....
0140: A.FbQC...>.A.
03:19:49.507351 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:49.507551 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:49.507607 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:49.627207 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:49.627424 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:49.627484 => Send SSL data, 70 bytes (0x46)
0000: ...BA.(._.Ufoksx......5.......T....v.@..(kV.|.W.(.^.EO....>"?..b
0040: 8.0..%
03:19:49.639464 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:49.640130 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:49.640189 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:49.661867 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:49.661929 => Send SSL data, 16 bytes (0x10)
0000: .....n:!..cR..3.
03:19:49.674866 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:49.677750 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:49.678851 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:49.678913 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:49.681378 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:49.687057 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:49.687114 <= Recv SSL data, 16 bytes (0x10)
0000: ....d5....e.C...
03:19:49.715154 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:49.715818 == Info: ALPN, server did not agree to a protocol
03:19:49.718385 == Info: Server certificate:
03:19:49.726490 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:19:49.731164 == Info: start date: Sep 19 07:13:14 2018 GMT
03:19:49.732536 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:19:49.735712 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:19:49.738085 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:19:49.738673 == Info: SSL certificate verify ok.
03:19:49.745623 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c8a68; line 1685 (connection #0)
03:19:49.766469 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:19:49.769440 => 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:19:49.772382 == Info: STATE: DO => DO_DONE handle 0x56c8a68; line 1756 (connection #0)
03:19:49.772853 == Info: STATE: DO_DONE => PERFORM handle 0x56c8a68; line 1877 (connection #0)
03:19:49.777273 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
03:19:49.786849 == Info: Mark bundle as not supporting multiuse
03:19:49.787444 == Info: HTTP 1.1 or later with persistent connection
03:19:49.790154 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:49.794039 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:49.794272 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:49.795430 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:49.797894 <= Recv header, 1 bytes (0x1)
0000: .
03:19:49.798715 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:19:49.804301 == Info: STATE: PERFORM => DONE handle 0x56c8a68; line 2067 (connection #0)
03:19:49.804637 == Info: multi_done
03:19:49.813751 == Info: Connection #0 to host localhost left intact
03:19:49.815594 == Info: Expire cleared (transfer 0x56c8a68)
=== End of file trace2034
=== Start of file valgrind2034
==16560== Invalid read of size 8
==16560== at 0x53335A5: check_free (dlerror.c:188)
==16560== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16560== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16560== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16560== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16560== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16560== by 0x4C4AEB9: exit (exit.c:139)
==16560== by 0x4C350A1: (below main) (libc-start.c:342)
==16560== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
==16560== Invalid free() / delete / delete[] / realloc()
==16560== at 0x48369AB: free (vg_replace_malloc.c:540)
==16560== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16560== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16560== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16560== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16560== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16560== by 0x4C4AEB9: exit (exit.c:139)
==16560== by 0x4C350A1: (below main) (libc-start.c:342)
==16560== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
==16560== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16560== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16560== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16560== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16560== by 0x24AEEC: err_get_state (err.c:210)
==16560== by 0x24BAC2: ERR_put_error (err.c:636)
==16560== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16560== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16560== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16560== by 0x27010E: by_file_ctrl (by_file.c:111)
==16560== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16560== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16560== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16560== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16560== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16560== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16560== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16560==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 32
valgrind ERROR ==16566== Invalid read of size 8
==16566== at 0x53335A5: check_free (dlerror.c:188)
==16566== by 0x5333AB1: free_key_mem (dlerror.c:221)
==16566== by 0x5333AB1: __dlerror_main_freeres (dlerror.c:239)
==16566== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16566== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16566== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16566== by 0x4C4AEB9: exit (exit.c:139)
==16566== by 0x4C350A1: (below main) (libc-start.c:342)
==16566== Address 0x57672c0 is 0 bytes after a block of size 32 alloc'd
==16566== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16566== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16566== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16566== by 0x24AEEC: err_get_state (err.c:210)
==16566== by 0x24BAC2: ERR_put_error (err.c:636)
==16566== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16566== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16566== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16566== by 0x27010E: by_file_ctrl (by_file.c:111)
==16566== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16566== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16566== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16566== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16566== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16566== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16566== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16566==
==16566== Invalid free() / delete / delete[] / realloc()
==16566== at 0x48369AB: free (vg_replace_malloc.c:540)
==16566== by 0x5333AB9: free_key_mem (dlerror.c:223)
==16566== by 0x5333AB9: __dlerror_main_freeres (dlerror.c:239)
==16566== by 0x4D79B71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==16566== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==16566== by 0x4C4AE89: __run_exit_handlers (exit.c:132)
==16566== by 0x4C4AEB9: exit (exit.c:139)
==16566== by 0x4C350A1: (below main) (libc-start.c:342)
==16566== Address 0x57672a8 is 8 bytes inside a block of size 32 alloc'd
==16566== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16566== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16566== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16566== by 0x24AEEC: err_get_state (err.c:210)
==16566== by 0x24BAC2: ERR_put_error (err.c:636)
==16566== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16566== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16566== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16566== by 0x27010E: by_file_ctrl (by_file.c:111)
==16566== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16566== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16566== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16566== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16566== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16566== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16566== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16566==
==16566== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==16566== at 0x483577F: malloc (vg_replace_malloc.c:309)
==16566== by 0x25C06A: OPENSSL_malloc (mem.c:106)
==16566== by 0x26ED16: CRYPTO_set_thread_local (thread_pthread.c:182)
==16566== by 0x24AEEC: err_get_state (err.c:210)
==16566== by 0x24BAC2: ERR_put_error (err.c:636)
==16566== by 0x260762: PEM_read_bio (pem_lib.c:622)
==16566== by 0x32DFE7: PEM_X509_INFO_read_bio (pem_info.c:166)
==16566== by 0x27062C: X509_load_cert_crl_file (by_file.c:255)
==16566== by 0x27010E: by_file_ctrl (by_file.c:111)
==16566== by 0x273CC8: X509_LOOKUP_ctrl (x509_lu.c:123)
==16566== by 0x2731A9: X509_STORE_load_locations (x509_d2.c:91)
==16566== by 0x1F712D: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==16566== by 0x1C7ACA: ossl_connect_step1 (openssl.c:2715)
==16566== by 0x1CA759: ossl_connect_common (openssl.c:3671)
==16566== by 0x1CA9D5: Curl_ossl_connect_nonblocking (openssl.c:3757)
==16566== by 0x1822CB: Curl_ssl_connect_nonblocking (vtls.c:275)
==16566==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:19:51.707812 ====> Client connect
03:19:51.707847 accept_connection 3 returned 4
03:19:51.707863 accept_connection 3 returned 0
03:19:51.794680 Connection closed by client
03:19:51.794717 ====> 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:19:51.871909 == Info: STATE: INIT => CONNECT handle 0x56c8a68; line 1491 (connection #-5000)
03:19:51.927619 == Info: Added connection 0. The cache now contains 1 members
03:19:51.982549 == Info: Trying ::1:8991...
03:19:51.983203 == Info: TCP_NODELAY set
03:19:51.988121 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8a68; line 1547 (connection #0)
03:19:52.002783 == Info: connect to ::1 port 8991 failed: Connection refused
03:19:52.005190 == Info: Trying 127.0.0.1:8991...
03:19:52.005267 == Info: TCP_NODELAY set
03:19:52.014448 == Info: Connected to localhost (127.0.0.1) por