curl / Autobuilds / Log From 2019-08-13

Log from 2019-08-13

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

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

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

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

testcurl: configure seems to have finished fine

testcurl: display libcurl.pc

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

testcurl: display lib/curl_config.h

#define CURLDEBUG 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
#define CURL_SA_FAMILY_T sa_family_t
#define DEBUGBUILD 1
#define ENABLE_IPV6 1
#define GETHOSTNAME_TYPE_ARG2 size_t
#define GETSERVBYPORT_R_ARGS 6
#define GETSERVBYPORT_R_BUFSIZE 4096
#define HAVE_ALARM 1
#define HAVE_ALLOCA_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ARPA_TFTP_H 1
#define HAVE_ASSERT_H 1
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
#define HAVE_BORINGSSL 1
#define HAVE_BROTLI 1
#define HAVE_BROTLI_DECODE_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_CONNECT 1
#define HAVE_DECL_GETPWUID_R 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FCNTL 1
#define HAVE_FCNTL_H 1
#define HAVE_FCNTL_O_NONBLOCK 1
#define HAVE_FNMATCH 1
#define HAVE_FREEADDRINFO 1
#define HAVE_FREEIFADDRS 1
#define HAVE_FSETXATTR 1
#define HAVE_FSETXATTR_5 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETADDRINFO_THREADSAFE 1
#define HAVE_GETEUID 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETIFADDRS 1
#define HAVE_GETPEERNAME 1
#define HAVE_GETPPID 1
#define HAVE_GETPWUID 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETSERVBYPORT_R 1
#define HAVE_GETSOCKNAME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GMTIME_R 1
#define HAVE_GSSAPI 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSMIT 1
#define HAVE_IDN2_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_LBER_H 1
#define HAVE_LDAP_H 1
#define HAVE_LDAP_INIT_FD 1
#define HAVE_LDAP_SSL 1
#define HAVE_LDAP_URL_PARSE 1
#define HAVE_LIBBROTLIDEC 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBIDN2 1
#define HAVE_LIBRTMP_RTMP_H 1
#define HAVE_LIBSSL 1
#define HAVE_LIBZ 1
#define HAVE_LINUX_TCP_H 1
#define HAVE_LL 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_LONGLONG 1
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MSG_NOSIGNAL 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NGHTTP2_NGHTTP2_H 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define HAVE_OPENSSL_ERR_H 1
#define HAVE_OPENSSL_PEM_H 1
#define HAVE_OPENSSL_RSA_H 1
#define HAVE_OPENSSL_SSL_H 1
#define HAVE_OPENSSL_VERSION 1
#define HAVE_OPENSSL_X509_H 1
#define HAVE_PIPE 1
#define HAVE_POLL 1
#define HAVE_POLL_FINE 1
#define HAVE_POLL_H 1
#define HAVE_POSIX_STRERROR_R 1
#define HAVE_PWD_H 1
#define HAVE_RAND_EGD 1
#define HAVE_RECV 1
#define HAVE_SELECT 1
#define HAVE_SEND 1
#define HAVE_SETJMP_H 1
#define HAVE_SETLOCALE 1
#define HAVE_SETRLIMIT 1
#define HAVE_SETSOCKOPT 1
#define HAVE_SGTTY_H 1
#define HAVE_SIGACTION 1
#define HAVE_SIGINTERRUPT 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGSETJMP 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_SOCKET 1
#define HAVE_SOCKETPAIR 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR_R 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRNCASECMP 1
#define HAVE_STROPTS_H 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_USLEEP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_UTIME_H 1
#define HAVE_VARIADIC_MACROS_C99 1
#define HAVE_VARIADIC_MACROS_GCC 1
#define HAVE_WRITEV 1
#define HAVE_ZLIB_H 1
#define LT_OBJDIR ".libs/"
#define NTLM_WB_ENABLED 1
#define NTLM_WB_FILE "/usr/bin/ntlm_auth"
#define OS "x86_64-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "-"
#define RANDOM_FILE "/dev/urandom"
#define RECV_TYPE_ARG1 int
#define RECV_TYPE_ARG2 void *
#define RECV_TYPE_ARG3 size_t
#define RECV_TYPE_ARG4 int
#define RECV_TYPE_RETV ssize_t
#define RETSIGTYPE void
#define SELECT_QUAL_ARG5
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 fd_set *
#define SELECT_TYPE_ARG5 struct timeval *
#define SELECT_TYPE_RETV int
#define SEND_QUAL_ARG2 const
#define SEND_TYPE_ARG1 int
#define SEND_TYPE_ARG2 void *
#define SEND_TYPE_ARG3 size_t
#define SEND_TYPE_ARG4 int
#define SEND_TYPE_RETV ssize_t
#define SIZEOF_CURL_OFF_T 8
#define SIZEOF_INT 4
#define SIZEOF_LONG 8
#define SIZEOF_OFF_T 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_TIME_T 8
#define STDC_HEADERS 1
#define STRERROR_R_TYPE_ARG3 size_t
#define TIME_WITH_SYS_TIME 1
#define USE_ARES 1
#define USE_LIBPSL 1
#define USE_LIBRTMP 1
#define USE_MANUAL 1
#define USE_NGHTTP2 1
#define USE_OPENLDAP 1
#define USE_OPENSSL 1
#define USE_UNIX_SOCKETS 1
#define VERSION "-"
#ifndef _ALL_SOURCE
#endif
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
#ifndef __cplusplus
#endif
testcurl: make -i
Making all in lib
make[1]: Entering directory '/build-17378/lib'
make all-am
make[2]: Entering directory '/build-17378/lib'
CC libcurl_la-file.lo
CC libcurl_la-timeval.lo
CC libcurl_la-base64.lo
CC libcurl_la-hostip.lo
CC libcurl_la-progress.lo
CC libcurl_la-formdata.lo
CC libcurl_la-cookie.lo
CC libcurl_la-http.lo
CC libcurl_la-sendf.lo
CC libcurl_la-ftp.lo
CC libcurl_la-url.lo
CC libcurl_la-dict.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-speedcheck.lo
CC libcurl_la-ldap.lo
CC libcurl_la-version.lo
CC libcurl_la-getenv.lo
CC libcurl_la-escape.lo
CC libcurl_la-mprintf.lo
CC libcurl_la-telnet.lo
CC libcurl_la-netrc.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-transfer.lo
CC libcurl_la-strcase.lo
CC libcurl_la-easy.lo
CC libcurl_la-security.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-wildcard.lo
CC libcurl_la-krb5.lo
CC libcurl_la-memdebug.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-strtok.lo
CC libcurl_la-connect.lo
CC libcurl_la-llist.lo
CC libcurl_la-hash.lo
CC libcurl_la-multi.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-share.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-inet_pton.lo
CC libcurl_la-strtoofft.lo
CC libcurl_la-strerror.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-hostasyn.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hostsyn.lo
CC libcurl_la-inet_ntop.lo
CC libcurl_la-parsedate.lo
CC libcurl_la-select.lo
CC libcurl_la-tftp.lo
CC libcurl_la-splay.lo
CC libcurl_la-strdup.lo
CC libcurl_la-socks.lo
CC libcurl_la-ssh.lo
CC libcurl_la-ssh-libssh.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-socks_gssapi.lo
CC libcurl_la-socks_sspi.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-slist.lo
CC libcurl_la-nonblock.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-imap.lo
CC libcurl_la-pop3.lo
CC libcurl_la-smtp.lo
CC libcurl_la-pingpong.lo
CC libcurl_la-rtsp.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-warnless.lo
CC libcurl_la-hmac.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-openldap.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-gopher.lo
CC libcurl_la-idn_win32.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-non-ascii.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-thread.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-curl_ntlm_wb.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-rand.lo
CC libcurl_la-curl_multibyte.lo
CC libcurl_la-hostcheck.lo
CC libcurl_la-conncache.lo
CC libcurl_la-dotdot.lo
CC libcurl_la-x509asn1.lo
CC libcurl_la-http2.lo
CC libcurl_la-smb.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-system_win32.lo
CC libcurl_la-mime.lo
CC libcurl_la-sha256.lo
CC libcurl_la-setopt.lo
CC libcurl_la-curl_path.lo
CC libcurl_la-curl_ctype.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-psl.lo
CC libcurl_la-doh.lo
CC libcurl_la-urlapi.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-altsvc.lo
CC libcurl_la-quic.lo
CC vauth/libcurl_la-vauth.lo
CC vauth/libcurl_la-cleartext.lo
CC vauth/libcurl_la-cram.lo
CC vauth/libcurl_la-digest.lo
CC vauth/libcurl_la-digest_sspi.lo
CC vauth/libcurl_la-krb5_gssapi.lo
CC vauth/libcurl_la-krb5_sspi.lo
CC vauth/libcurl_la-ntlm.lo
CC vauth/libcurl_la-ntlm_sspi.lo
CC vauth/libcurl_la-oauth2.lo
CC vauth/libcurl_la-spnego_gssapi.lo
CC vauth/libcurl_la-spnego_sspi.lo
CC vtls/libcurl_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 2
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 3
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 4
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 5
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurl_la-gtls.lo
CC vtls/libcurl_la-vtls.lo
CC vtls/libcurl_la-nss.lo
CC vtls/libcurl_la-polarssl.lo
CC vtls/libcurl_la-polarssl_threadlock.lo
CC vtls/libcurl_la-wolfssl.lo
CC vtls/libcurl_la-schannel.lo
CC vtls/libcurl_la-schannel_verify.lo
CC vtls/libcurl_la-sectransp.lo
CC vtls/libcurl_la-gskit.lo
CC vtls/libcurl_la-mbedtls.lo
CC vtls/libcurl_la-mesalink.lo
CC vquic/libcurl_la-ngtcp2.lo
CC vquic/libcurl_la-ngtcp2-crypto.lo
CC vquic/libcurl_la-quiche.lo
CCLD libcurl.la
CC libcurlu_la-file.lo
CC libcurlu_la-timeval.lo
CC libcurlu_la-base64.lo
CC libcurlu_la-hostip.lo
CC libcurlu_la-progress.lo
CC libcurlu_la-formdata.lo
CC libcurlu_la-cookie.lo
CC libcurlu_la-http.lo
CC libcurlu_la-sendf.lo
CC libcurlu_la-ftp.lo
CC libcurlu_la-url.lo
CC libcurlu_la-dict.lo
CC libcurlu_la-if2ip.lo
CC libcurlu_la-speedcheck.lo
CC libcurlu_la-ldap.lo
CC libcurlu_la-version.lo
CC libcurlu_la-getenv.lo
CC libcurlu_la-escape.lo
CC libcurlu_la-mprintf.lo
CC libcurlu_la-telnet.lo
CC libcurlu_la-netrc.lo
CC libcurlu_la-getinfo.lo
CC libcurlu_la-transfer.lo
CC libcurlu_la-strcase.lo
CC libcurlu_la-easy.lo
CC libcurlu_la-security.lo
CC libcurlu_la-curl_fnmatch.lo
CC libcurlu_la-fileinfo.lo
CC libcurlu_la-ftplistparser.lo
CC libcurlu_la-wildcard.lo
CC libcurlu_la-krb5.lo
CC libcurlu_la-memdebug.lo
CC libcurlu_la-http_chunks.lo
CC libcurlu_la-strtok.lo
CC libcurlu_la-connect.lo
CC libcurlu_la-llist.lo
CC libcurlu_la-hash.lo
CC libcurlu_la-multi.lo
CC libcurlu_la-content_encoding.lo
CC libcurlu_la-share.lo
CC libcurlu_la-http_digest.lo
CC libcurlu_la-md4.lo
CC libcurlu_la-md5.lo
CC libcurlu_la-http_negotiate.lo
CC libcurlu_la-inet_pton.lo
CC libcurlu_la-strtoofft.lo
CC libcurlu_la-strerror.lo
CC libcurlu_la-amigaos.lo
CC libcurlu_la-hostasyn.lo
CC libcurlu_la-hostip4.lo
CC libcurlu_la-hostip6.lo
CC libcurlu_la-hostsyn.lo
CC libcurlu_la-inet_ntop.lo
CC libcurlu_la-parsedate.lo
CC libcurlu_la-select.lo
CC libcurlu_la-tftp.lo
CC libcurlu_la-splay.lo
CC libcurlu_la-strdup.lo
CC libcurlu_la-socks.lo
CC libcurlu_la-ssh.lo
CC libcurlu_la-ssh-libssh.lo
CC libcurlu_la-curl_addrinfo.lo
CC libcurlu_la-socks_gssapi.lo
CC libcurlu_la-socks_sspi.lo
CC libcurlu_la-curl_sspi.lo
CC libcurlu_la-slist.lo
CC libcurlu_la-nonblock.lo
CC libcurlu_la-curl_memrchr.lo
CC libcurlu_la-imap.lo
CC libcurlu_la-pop3.lo
CC libcurlu_la-smtp.lo
CC libcurlu_la-pingpong.lo
CC libcurlu_la-rtsp.lo
CC libcurlu_la-curl_threads.lo
CC libcurlu_la-warnless.lo
CC libcurlu_la-hmac.lo
CC libcurlu_la-curl_rtmp.lo
CC libcurlu_la-openldap.lo
CC libcurlu_la-curl_gethostname.lo
CC libcurlu_la-gopher.lo
CC libcurlu_la-idn_win32.lo
CC libcurlu_la-http_proxy.lo
CC libcurlu_la-non-ascii.lo
CC libcurlu_la-asyn-ares.lo
CC libcurlu_la-asyn-thread.lo
CC libcurlu_la-curl_gssapi.lo
CC libcurlu_la-http_ntlm.lo
CC libcurlu_la-curl_ntlm_wb.lo
CC libcurlu_la-curl_ntlm_core.lo
CC libcurlu_la-curl_sasl.lo
CC libcurlu_la-rand.lo
CC libcurlu_la-curl_multibyte.lo
CC libcurlu_la-hostcheck.lo
CC libcurlu_la-conncache.lo
CC libcurlu_la-dotdot.lo
CC libcurlu_la-x509asn1.lo
CC libcurlu_la-http2.lo
CC libcurlu_la-smb.lo
CC libcurlu_la-curl_endian.lo
CC libcurlu_la-curl_des.lo
CC libcurlu_la-system_win32.lo
CC libcurlu_la-mime.lo
CC libcurlu_la-sha256.lo
CC libcurlu_la-setopt.lo
CC libcurlu_la-curl_path.lo
CC libcurlu_la-curl_ctype.lo
CC libcurlu_la-curl_range.lo
CC libcurlu_la-psl.lo
CC libcurlu_la-doh.lo
CC libcurlu_la-urlapi.lo
CC libcurlu_la-curl_get_line.lo
CC libcurlu_la-altsvc.lo
CC libcurlu_la-quic.lo
CC vauth/libcurlu_la-vauth.lo
CC vauth/libcurlu_la-cleartext.lo
CC vauth/libcurlu_la-cram.lo
CC vauth/libcurlu_la-digest.lo
CC vauth/libcurlu_la-digest_sspi.lo
CC vauth/libcurlu_la-krb5_gssapi.lo
CC vauth/libcurlu_la-krb5_sspi.lo
CC vauth/libcurlu_la-ntlm.lo
CC vauth/libcurlu_la-ntlm_sspi.lo
CC vauth/libcurlu_la-oauth2.lo
CC vauth/libcurlu_la-spnego_gssapi.lo
CC vauth/libcurlu_la-spnego_sspi.lo
CC vtls/libcurlu_la-openssl.lo
/lib/vtls/openssl.c: In function 'ossl_strerror':
goto problem 6
/lib/vtls/openssl.c:394:22: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
ERR_error_string_n(error, buf, size);
^~~~~
/lib/vtls/openssl.c: In function 'verifyhost':
goto problem 7
/lib/vtls/openssl.c:1539:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numalts = sk_GENERAL_NAME_num(altnames);
^~~~~~~~~~~~~~~~~~~
/lib/vtls/openssl.c: In function 'ossl_connect_step1':
goto problem 8
/lib/vtls/openssl.c:2497:37: warning: conversion from 'long int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
SSL_CTX_set_options(BACKEND->ctx, ctx_options);
^~~~~~~~~~~
/lib/vtls/openssl.c: In function 'get_cert_chain':
goto problem 9
/lib/vtls/openssl.c:3050:14: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
numcerts = sk_X509_num(sk);
^~~~~~~~~~~
CC vtls/libcurlu_la-gtls.lo
CC vtls/libcurlu_la-vtls.lo
CC vtls/libcurlu_la-nss.lo
CC vtls/libcurlu_la-polarssl.lo
CC vtls/libcurlu_la-polarssl_threadlock.lo
CC vtls/libcurlu_la-wolfssl.lo
CC vtls/libcurlu_la-schannel.lo
CC vtls/libcurlu_la-schannel_verify.lo
CC vtls/libcurlu_la-sectransp.lo
CC vtls/libcurlu_la-gskit.lo
CC vtls/libcurlu_la-mbedtls.lo
CC vtls/libcurlu_la-mesalink.lo
CC vquic/libcurlu_la-ngtcp2.lo
CC vquic/libcurlu_la-ngtcp2-crypto.lo
CC vquic/libcurlu_la-quiche.lo
CCLD libcurlu.la
RUN checksrc
make[2]: Leaving directory '/build-17378/lib'
make[1]: Leaving directory '/build-17378/lib'
Making all in src
make[1]: Entering directory '/build-17378/src'
Making all in ../docs
make[2]: Entering directory '/build-17378/docs'
Making all in .
make[3]: Entering directory '/build-17378/docs'
if test "..x" != "x" -a -e "/docs/curl.1"; then \
/usr/bin/install -c -m 644 "/docs/curl.1" /build-17378/docs/curl.1; fi
cd cmdline-opts && make
make[4]: Entering directory '/build-17378/docs/cmdline-opts'
/usr/bin/perl /docs/cmdline-opts/gen.pl mainpage /docs/cmdline-opts > ../../docs/curl.1
make[4]: Leaving directory '/build-17378/docs/cmdline-opts'
make[3]: Leaving directory '/build-17378/docs'
Making all in cmdline-opts
make[3]: Entering directory '/build-17378/docs/cmdline-opts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-17378/docs/cmdline-opts'
make[2]: Leaving directory '/build-17378/docs'
make[2]: Entering directory '/build-17378/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-17378/src'
make[1]: Leaving directory '/build-17378/src'
make[1]: Entering directory '/build-17378'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/build-17378'
testcurl: libcurl was created fine (libcurl.la)
testcurl: curl was created fine (curl)
testcurl: display curl --version output
curl 7.66.0-DEV (x86_64-pc-linux-gnu) libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
testcurl: make -k test-full
make[1]: Entering directory '/build-17378/tests'
Making all in certs
make[2]: Entering directory '/build-17378/tests/certs'
Making all in scripts
make[3]: Entering directory '/build-17378/tests/certs/scripts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build-17378/tests/certs/scripts'
make[3]: Entering directory '/build-17378/tests/certs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build-17378/tests/certs'
make[2]: Leaving directory '/build-17378/tests/certs'
Making all in data
make[2]: Entering directory '/build-17378/tests/data'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build-17378/tests/data'
Making all in server
make[2]: Entering directory '/build-17378/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-17378/tests/server'
Making all in libtest
make[2]: Entering directory '/build-17378/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-17378/tests/libtest'
Making all in unit
make[2]: Entering directory '/build-17378/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-17378/tests/unit'
make[2]: Entering directory '/build-17378/tests'
cd libtest && make checksrc
make[3]: Entering directory '/build-17378/tests/libtest'
RUN checksrc
make[3]: Leaving directory '/build-17378/tests/libtest'
cd unit && make checksrc
make[3]: Entering directory '/build-17378/tests/unit'
RUN checksrc
make[3]: Leaving directory '/build-17378/tests/unit'
cd server && make checksrc
make[3]: Entering directory '/build-17378/tests/server'
RUN checksrc
make[3]: Leaving directory '/build-17378/tests/server'
make[2]: Leaving directory '/build-17378/tests'
srcdir=/tests /usr/bin/perl -I/tests /tests/runtests.pl -a -p -r
********* System characteristics ********
* curl 7.66.0-DEV (x86_64-pc-linux-gnu)
* libcurl/7.66.0-DEV BoringSSL zlib/1.2.11 brotli/1.0.7 c-ares/1.15.0 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.37.0 librtmp/2.3
* Features: AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TrackMemory UnixSockets
* Disabled:
* Host: storebror.haxx.se
* System: Linux storebror.haxx.se 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
* Servers: SSL HTTP-IPv6 HTTP-unix FTP-IPv6
* Env: Valgrind
*****************************************
test 0001...[HTTP GET]
--pd---emv- OK (1 out of 1250, remaining: 66:35, took 3.2s, duration: 00:03)
test 0002...[HTTP GET with user and password]
--pd---emv- OK (2 out of 1250, remaining: 45:51, took 1.2s, duration: 00:04)
test 0003...[HTTP POST with auth and contents but with content-length set to 0]
--pd---emv- OK (3 out of 1250, remaining: 38:43, took 1.2s, duration: 00:05)
test 0004...[Replaced internal and added custom HTTP headers]
--pd---emv- OK (4 out of 1250, remaining: 35:43, took 1.3s, duration: 00:06)
test 0005...[HTTP over proxy]
--pd---emv- OK (5 out of 1250, remaining: 33:37, took 1.2s, duration: 00:08)
test 0006...[HTTP with simple cookie send]
--pd---emv- OK (6 out of 1250, remaining: 32:09, took 1.2s, duration: 00:09)
test 0007...[HTTP with cookie parser and header recording]
--pd--oemv- OK (7 out of 1250, remaining: 31:09, took 1.2s, duration: 00:10)
test 0008...[HTTP with cookie parsing from header file]
--pd---emv- OK (8 out of 1250, remaining: 30:29, took 1.3s, duration: 00:11)
test 0009...[HTTP RFC1867-type formposting]
--pd---emv- OK (9 out of 1250, remaining: 29:59, took 1.3s, duration: 00:13)
test 0010...[simple HTTP PUT from file]
--pd---emv- OK (10 out of 1250, remaining: 31:35, took 2.2s, duration: 00:15)
test 0011...[simple HTTP Location: following]
--pd---emv- OK (11 out of 1250, remaining: 30:57, took 1.2s, duration: 00:16)
test 0012...[HTTP range support]
--pd---emv- OK (12 out of 1250, remaining: 30:25, took 1.2s, duration: 00:17)
test 0013...[HTTP custom request 'DELETE']
--pd---emv- OK (13 out of 1250, remaining: 29:56, took 1.2s, duration: 00:18)
test 0014...[HTTP HEAD with Connection: close]
--pd---emv- OK (14 out of 1250, remaining: 29:30, took 1.2s, duration: 00:20)
test 0015...[--write-out test]
s-p----emv- OK (15 out of 1250, remaining: 29:08, took 1.2s, duration: 00:21)
test 0016...[HTTP with proxy authorization]
--pd---emv- OK (16 out of 1250, remaining: 28:51, took 1.2s, duration: 00:22)
test 0017...[HTTP with config file on stdin]
--pd---emv- OK (17 out of 1250, remaining: 28:35, took 1.2s, duration: 00:23)
test 0018...[multiple requests using {} in URL]
s-p----emv- OK (18 out of 1250, remaining: 28:22, took 1.2s, duration: 00:24)
test 0019...[attempt connect to non-listening socket]
-------emv- OK (19 out of 1250, remaining: 28:07, took 1.2s, duration: 00:26)
test 0020...[attempt connect to non-existing host name]
-------emv- OK (20 out of 1250, remaining: 27:50, took 1.1s, duration: 00:27)
test 0021...[use curl with multiple request methods]
-------emv- OK (21 out of 1250, remaining: 27:21, took 0.9s, duration: 00:28)
test 0022...[get HTTP with URL > 10000 bytes]
--pd---emv- OK (22 out of 1250, remaining: 27:13, took 1.2s, duration: 00:29)
test 0023...[unsupported protocol:// URL]
-------emv- OK (23 out of 1250, remaining: 26:57, took 1.1s, duration: 00:30)
test 0024...[HTTP GET fail silently on HTTP error return]
--p---oemv- OK (24 out of 1250, remaining: 26:48, took 1.2s, duration: 00:31)
test 0025...[looping HTTP Location: following with --max-redirs]
--pd---emv- OK (25 out of 1250, remaining: 26:44, took 1.3s, duration: 00:32)
test 0026...[specify more -o than URLs]
--pd---emv- OK (26 out of 1250, remaining: 26:38, took 1.2s, duration: 00:33)
test 0027...[Get same cookie page several times]
--pd---emv- OK (27 out of 1250, remaining: 26:36, took 1.3s, duration: 00:35)
test 0028...[HTTP Location: following with extra spaces in header]
--pd---emv- OK (28 out of 1250, remaining: 26:31, took 1.2s, duration: 00:36)
test 0029...[HTTP with 2 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
--pd---emv- OK (29 out of 1250, remaining: 29:08, took 5.1s, duration: 00:41)
test 0030...[HTTP with no data in server reply]
--p----emv- OK (30 out of 1250, remaining: 32:21, took 6.2s, duration: 00:47)
test 0031...[HTTP with weirdly formatted cookies and cookiejar storage]
--pd--oemv- OK (31 out of 1250, remaining: 32:06, took 1.3s, duration: 00:48)
test 0032...[HTTP with -d and -G]
--pd---emv- OK (32 out of 1250, remaining: 31:49, took 1.2s, duration: 00:50)
test 0033...[HTTP PUT with resume]
--pd---emv- OK (33 out of 1250, remaining: 32:12, took 2.2s, duration: 00:52)
test 0034...[HTTP GET with chunked Transfer-Encoding]
--pd---emv- OK (34 out of 1250, remaining: 31:56, took 1.2s, duration: 00:53)
test 0035...[HTTP POST binary data with embedded NUL]
--pd---emv- OK (35 out of 1250, remaining: 31:42, took 1.2s, duration: 00:54)
test 0036...[HTTP GET with bad chunked Transfer-Encoding]
--pd---emv- OK (36 out of 1250, remaining: 31:28, took 1.2s, duration: 00:56)
test 0037...[HTTP GET with nothing returned from server]
--p----emv- OK (37 out of 1250, remaining: 31:15, took 1.2s, duration: 00:57)
test 0038...[HTTP resume request without server supporting it]
--p---oemv- OK (38 out of 1250, remaining: 31:02, took 1.2s, duration: 00:58)
test 0039...[HTTP RFC1867-type formposting with filename= and type=]
--pd---emv- OK (39 out of 1250, remaining: 31:23, took 2.3s, duration: 01:00)
test 0040...[HTTP redirect with whitespace after ? (and conversion)]
--pd---emv- OK (40 out of 1250, remaining: 31:14, took 1.3s, duration: 01:01)
test 0041...[HTTP formpost with missing file]
-------emv- OK (41 out of 1250, remaining: 30:55, took 1.0s, duration: 01:02)
test 0042...[HTTP redirect with whitespace in path (and conversion)]
--pd---emv- OK (42 out of 1250, remaining: 30:47, took 1.3s, duration: 01:04)
test 0043...[HTTP Location: following over HTTP proxy]
--pd---emv- OK (43 out of 1250, remaining: 30:37, took 1.2s, duration: 01:05)
test 0044...[HTTP RFC1867-type formposting without Expect: header]
--pd---emv- OK (44 out of 1250, remaining: 30:28, took 1.2s, duration: 01:06)
test 0045...[simple HTTP Location: without protocol in initial URL]
--pd---emv- OK (45 out of 1250, remaining: 30:18, took 1.2s, duration: 01:07)
test 0046...[HTTP with bad domain name, get cookies and store in cookie jar]
--pd--oemv- OK (46 out of 1250, remaining: 30:10, took 1.3s, duration: 01:09)
test 0047...[simple HTTP 1.0 GET]
--pd---emv- OK (47 out of 1250, remaining: 30:02, took 1.2s, duration: 01:10)
test 0048...[HTTP with -d and -G and -I]
--pd---emv- OK (48 out of 1250, remaining: 29:53, took 1.2s, duration: 01:11)
test 0049...[HTTP follow redirect with ../]
--pd---emv- OK (49 out of 1250, remaining: 29:46, took 1.3s, duration: 01:12)
test 0050...[HTTP follow redirect with ../../]
--pd---emv- OK (50 out of 1250, remaining: 29:40, took 1.3s, duration: 01:14)
test 0051...[HTTP follow redirect with excessive ../]
--pd---emv- OK (51 out of 1250, remaining: 29:34, took 1.3s, duration: 01:15)
test 0052...[HTTP follow redirect with ./-prefix]
--pd---emv- OK (52 out of 1250, remaining: 29:28, took 1.3s, duration: 01:16)
test 0053...[HTTP, junk session cookies]
--pd---emv- OK (53 out of 1250, remaining: 29:20, took 1.2s, duration: 01:17)
test 0054...[HTTP with blank Location:]
--pd---emv- OK (54 out of 1250, remaining: 29:12, took 1.2s, duration: 01:19)
test 0055...[HTTP follow redirect with single slash in path]
--pd---emv- OK (55 out of 1250, remaining: 29:07, took 1.3s, duration: 01:20)
test 0056...[HTTP POST with *HUGE* request and chunked transfer-encoding]
--pd---emv- OK (56 out of 1250, remaining: 29:10, took 1.7s, duration: 01:22)
test 0057...[HTTP content-type with spaces in]
s-p----emv- OK (57 out of 1250, remaining: 29:03, took 1.2s, duration: 01:23)
test 0058...[HTTP PUT from file with weird letters]
--pd---emv- OK (58 out of 1250, remaining: 29:18, took 2.2s, duration: 01:25)
test 0059...[HTTP URL with slash but with "parameter"]
--pd---emv- OK (59 out of 1250, remaining: 29:10, took 1.2s, duration: 01:26)
test 0060...[HTTP PUT from stdin with wrong content-length]
--pd---emv- OK (60 out of 1250, remaining: 29:24, took 2.2s, duration: 01:28)
test 0061...[HTTP with various cookies and custom Host:]
--pd--oemv- OK (61 out of 1250, remaining: 29:18, took 1.2s, duration: 01:30)
test 0062...[HTTP, send cookies when using custom Host:]
--pd---emv- OK (62 out of 1250, remaining: 29:12, took 1.3s, duration: 01:31)
test 0063...[HTTP with proxy authorization set in environment]
--pd---emv- OK (63 out of 1250, remaining: 29:05, took 1.2s, duration: 01:32)
test 0064...[HTTP with Digest authorization]
--pd---emv- OK (64 out of 1250, remaining: 29:00, took 1.3s, duration: 01:33)
test 0065...[HTTP with Digest authorization with bad password]
--pd---emv- OK (65 out of 1250, remaining: 28:55, took 1.3s, duration: 01:35)
test 0066...[HTTP GET without headers in the response]
--pd---emv- OK (66 out of 1250, remaining: 28:48, took 1.2s, duration: 01:36)
test 0067...[HTTP with NTLM authorization]
--pd---emv- OK (67 out of 1250, remaining: 28:43, took 1.3s, duration: 01:37)
test 0068...[HTTP with NTLM authorization and wrong password]
--pd---emv- OK (68 out of 1250, remaining: 28:39, took 1.3s, duration: 01:38)
test 0069...[HTTP with NTLM, Basic or Wild-and-crazy authorization]
--pd---emv- OK (69 out of 1250, remaining: 28:35, took 1.3s, duration: 01:40)
test 0070...[HTTP with Digest *OR* NTLM authorization]
--pd---emv- OK (70 out of 1250, remaining: 28:30, took 1.2s, duration: 01:41)
test 0071...[HTTP and -F upload in config file]
--pd---emv- OK (71 out of 1250, remaining: 28:25, took 1.2s, duration: 01:42)
test 0072...[HTTP with Digest *OR* Basic authorization]
--pd---emv- OK (72 out of 1250, remaining: 28:20, took 1.2s, duration: 01:43)
test 0073...[HTTP, receive cookies when using custom Host:, domain using only two dots]
--pd--oemv- OK (73 out of 1250, remaining: 28:14, took 1.2s, duration: 01:45)
test 0074...[HTTP, urlglob {}-retrieval and -o #[num] usage]
--p---oemv- OK (74 out of 1250, remaining: 28:10, took 1.3s, duration: 01:46)
test 0075...[HTTP, urlglob retrieval with bad range]
s------emv- OK (75 out of 1250, remaining: 28:01, took 0.9s, duration: 01:47)
test 0076...[HTTP, -O with no file name part in the URL]
-------emv- OK (76 out of 1250, remaining: 27:52, took 0.9s, duration: 01:48)
test 0077...[HTTP with -z "older date"]
--pd---emv- OK (77 out of 1250, remaining: 27:47, took 1.2s, duration: 01:49)
test 0078...[HTTP with -z "newer date"]
--pd---emv- OK (78 out of 1250, remaining: 27:42, took 1.2s, duration: 01:50)
test 0079...[FTP over HTTP proxy]
--pd---emv- OK (79 out of 1250, remaining: 27:38, took 1.2s, duration: 01:51)
test 0080...[HTTP 1.0 CONNECT with proxytunnel and proxy+host Basic authentication]
--pd-P-emv- OK (80 out of 1250, remaining: 28:10, took 3.7s, duration: 01:55)
test 0081...[HTTP with proxy using NTLM authorization]
--pd---emv- OK (81 out of 1250, remaining: 28:06, took 1.3s, duration: 01:56)
test 0082...[HTTP with proxy requiring NTLM, but we send Basic]
--pd---emv- OK (82 out of 1250, remaining: 28:02, took 1.2s, duration: 01:58)
test 0083...[HTTP over proxy-tunnel with site authentication]
--pd-P-emv- OK (83 out of 1250, remaining: 28:04, took 1.7s, duration: 01:59)
test 0084...[HTTP over proxy with site authentication]
--pd---emv- OK (84 out of 1250, remaining: 27:59, took 1.2s, duration: 02:01)
test 0085...[HTTP over proxy with site and proxy authentication]
--pd---emv- OK (85 out of 1250, remaining: 27:55, took 1.2s, duration: 02:02)
test 0086...[HTTP, urlglob []-retrieval and -o #[num] usage]
--p---oemv- OK (86 out of 1250, remaining: 27:52, took 1.4s, duration: 02:03)
test 0087...[urlglob with out of range -o #[num] usage]
------oemv- OK (87 out of 1250, remaining: 27:48, took 1.2s, duration: 02:04)
test 0088...[HTTP PUT with Digest authorization]
--pd---emv- OK (88 out of 1250, remaining: 27:58, took 2.3s, duration: 02:07)
test 0089...[HTTP with NTLM and follow-location]
--pd---emv- OK (89 out of 1250, remaining: 27:56, 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 1250, remaining: 27:55, 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 1250, remaining: 27:52, took 1.3s, duration: 02:11)
test 0092...[HTTP resume transfer with the whole file already downloaded]
--pd---emv- OK (92 out of 1250, remaining: 27:47, took 1.2s, duration: 02:12)
test 0093...[HTTP GET with failed proxy auth]
--pd---emv- OK (93 out of 1250, remaining: 27:42, took 1.2s, duration: 02:13)
test 0094...[HTTPS GET with failed proxy auth (CONNECT 1.0)]
--p----emv- OK (94 out of 1250, remaining: 27:38, took 1.2s, duration: 02:14)
test 0095...[HTTP over proxytunnel using POST]
--pd-P-emv- OK (95 out of 1250, remaining: 27:39, took 1.7s, duration: 02:16)
test 0096...[curl memory tracking operational]
------oemv- OK (96 out of 1250, remaining: 27:31, took 0.9s, duration: 02:17)
test 0097...[HTTP POST with custom content-type]
--pd---emv- OK (97 out of 1250, remaining: 27:27, 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 1250, remaining: 27:34, took 2.2s, duration: 02:20)
test 0099...[HTTP GET with large-file resume point and failed resume]
--pd---emv- OK (99 out of 1250, remaining: 27:30, took 1.2s, duration: 02:21)
test 0100...[FTP dir list PASV]
--pd---emv- OK (100 out of 1250, remaining: 27:50, took 3.3s, duration: 02:25)
test 0101...[FTP dir list, PORT with specified IP]
--pd---emv- OK (101 out of 1250, remaining: 27:46, took 1.2s, duration: 02:26)
test 0102...[FTP RETR PASV]
--pd---emv- OK (102 out of 1250, remaining: 27:42, took 1.2s, duration: 02:27)
test 0103...[FTP RETR PORT with CWD]
--pd---emv- OK (103 out of 1250, remaining: 27:38, took 1.2s, duration: 02:28)
test 0104...[FTP --head to get file size only]
--p----emv- OK (104 out of 1250, remaining: 27:34, took 1.2s, duration: 02:30)
test 0105...[FTP user+password in URL and ASCII transfer]
--pd---emv- OK (105 out of 1250, remaining: 27:30, took 1.2s, duration: 02:31)
test 0106...[FTP GET with type=A style ASCII URL using %20 codes]
--pd---emv- OK (106 out of 1250, remaining: 27:27, took 1.2s, duration: 02:32)
test 0107...[FTP PASV upload file]
--p-u--emv- OK (107 out of 1250, remaining: 27:23, took 1.2s, duration: 02:33)
test 0108...[FTP PORT upload with CWD]
--p-u--emv- OK (108 out of 1250, remaining: 27:20, took 1.2s, duration: 02:35)
test 0109...[FTP PASV upload append]
--p-u--emv- OK (109 out of 1250, remaining: 27:16, took 1.2s, duration: 02:36)
test 0110...[FTP download resume with set limit]
--pd---emv- OK (110 out of 1250, remaining: 27:13, took 1.2s, duration: 02:37)
test 0111...[FTP download resume beyond file size]
Killed
--p----emv- OK (111 out of 1250, remaining: 27:09, took 1.2s, duration: 02:38)
test 0112...[FTP PASV upload resume]
--p-u--emv- OK (112 out of 1250, remaining: 27:05, took 1.3s, duration: 02:40)
test 0113...[FTP download, failed login: USER not valid]
--p----emv- OK (113 out of 1250, remaining: 27:01, took 1.2s, duration: 02:41)
test 0114...[FTP download, failed login: PASS not valid]
--p----emv- OK (114 out of 1250, remaining: 26:57, took 1.2s, duration: 02:42)
test 0115...[FTP download, failed PASV]
--p----emv- OK (115 out of 1250, remaining: 26:53, took 1.2s, duration: 02:43)
test 0116...[FTP download, failed PORT]
--p----emv- OK (116 out of 1250, remaining: 26:50, took 1.2s, duration: 02:44)
test 0117...[FTP download, failed TYPE]
Killed
--p----emv- OK (117 out of 1250, remaining: 26:46, took 1.2s, duration: 02:45)
test 0118...[FTP download, failed RETR]
Killed
--p----emv- OK (118 out of 1250, remaining: 26:42, took 1.2s, duration: 02:47)
test 0119...[FTP download, failed RETR with PORT]
Killed
--p----emv- OK (119 out of 1250, remaining: 26:39, took 1.2s, duration: 02:48)
test 0120...[ftp download with post-quote delete operation]
--pd---emv- OK (120 out of 1250, remaining: 26:36, took 1.2s, duration: 02:49)
test 0121...[ftp download with post- and pre-transfer delete operations]
--pd---emv- OK (121 out of 1250, remaining: 26:33, took 1.2s, duration: 02:50)
test 0122...[FTP download resume with whole file already downloaded]
Killed
--p----emv- OK (122 out of 1250, remaining: 26:30, took 1.2s, duration: 02:51)
test 0123...[FTP upload resume with whole file already downloaded]
Killed
--p----emv- OK (123 out of 1250, remaining: 26:26, took 1.2s, duration: 02:53)
test 0124...[FTP download, failed PWD]
--pd---emv- OK (124 out of 1250, remaining: 26:23, took 1.3s, duration: 02:54)
test 0125...[FTP download, failed CWD]
--p----emv- OK (125 out of 1250, remaining: 26:20, took 1.2s, duration: 02:55)
test 0126...[FTP download with multiple replies at once in RETR]
--pd---emv- OK (126 out of 1250, remaining: 26:17, took 1.2s, duration: 02:56)
test 0127...[FTP --disable-epsv]
--pd---emv- OK (127 out of 1250, remaining: 26:14, took 1.2s, duration: 02:58)
test 0128...[FTP upload with --crlf]
--p-u--emv- OK (128 out of 1250, remaining: 26:12, took 1.2s, duration: 02:59)
test 0129...[FTP GET with type=A style ASCII URL and understated server SIZE]
--pd---emv- OK (129 out of 1250, remaining: 26:09, took 1.2s, duration: 03:00)
test 0130...[FTP (optional .netrc; no user/pass) dir list PASV]
--pd---emv- OK (130 out of 1250, remaining: 26:06, took 1.2s, duration: 03:01)
test 0131...[FTP (optional .netrc; user/no pass) dir list PASV]
--pd---emv- OK (131 out of 1250, remaining: 26:03, took 1.2s, duration: 03:03)
test 0132...[FTP (optional .netrc; user/passwd supplied) dir list PASV]
--pd---emv- OK (132 out of 1250, remaining: 26:00, took 1.2s, duration: 03:04)
test 0133...[FTP (compulsory .netrc; ignored user/passwd) dir list PASV]
--pd---emv- OK (133 out of 1250, remaining: 25:58, took 1.2s, duration: 03:05)
test 0134...[FTP (optional .netrc; programmatic user/passwd) dir list PASV]
--pd---emv- OK (134 out of 1250, remaining: 25:55, took 1.2s, duration: 03:06)
test 0135...[FTP retrieve a byte-range]
--pd---emv- OK (135 out of 1250, remaining: 25:52, took 1.2s, duration: 03:07)
test 0136...[FTP with user and no password]
--pd---emv- OK (136 out of 1250, remaining: 25:49, took 1.2s, duration: 03:09)
test 0137...[FTP download without size in RETR string]
--pd---emv- OK (137 out of 1250, remaining: 25:47, took 1.3s, duration: 03:10)
test 0138...[FTP download without size in RETR string and no SIZE command]
--pd---emv- OK (138 out of 1250, remaining: 25:44, took 1.2s, duration: 03:11)
test 0139...[FTP download a newer file with -z]
--pd---emv- OK (139 out of 1250, remaining: 25:42, took 1.3s, duration: 03:12)
test 0140...[FTP download file with -z, expected to not transfer]
--p----emv- OK (140 out of 1250, remaining: 25:39, took 1.2s, duration: 03:14)
test 0141...[FTP download info with -I]
s-p----emv- OK (141 out of 1250, remaining: 25:36, took 1.2s, duration: 03:15)
test 0142...[FTP URL with 150 dir levels]
--pd---emv- OK (142 out of 1250, remaining: 25:34, took 1.3s, duration: 03:16)
test 0143...[FTP URL with type=a]
--pd---emv- OK (143 out of 1250, remaining: 25:32, took 1.2s, duration: 03:17)
test 0144...[FTP NLST dir list without contents, using PORT]
Killed
--p----emv- OK (144 out of 1250, remaining: 25:29, took 1.2s, duration: 03:19)
test 0145...[FTP NLST dir list with weird reply code, using PORT]
Killed
--p----emv- OK (145 out of 1250, remaining: 25:26, took 1.2s, duration: 03:20)
test 0146...[persistent FTP with different paths]
--pd---emv- OK (146 out of 1250, remaining: 25:24, took 1.3s, duration: 03:21)
test 0147...[FTP with --ftp-create-dirs (failing CWD)]
--pd---emv- OK (147 out of 1250, remaining: 25:22, took 1.2s, duration: 03:22)
test 0148...[FTP with --ftp-create-dirs (failing MKD)]
--p----emv- OK (148 out of 1250, remaining: 25:19, took 1.2s, duration: 03:24)
test 0149...[FTP with multiple uploads]
--p---oemv- OK (149 out of 1250, remaining: 25:17, took 1.3s, duration: 03:25)
test 0150...[HTTP with NTLM authorization and --fail]
--pd---emv- OK (150 out of 1250, remaining: 25:15, took 1.3s, duration: 03:26)
test 0151...[HTTP GET with an error code that might trick authentication]
--pd---emv- OK (151 out of 1250, remaining: 25:13, took 1.2s, duration: 03:27)
test 0152...[HTTP GET with an error code that might trick authentication and --fail]
--p----emv- OK (152 out of 1250, remaining: 25:10, took 1.2s, duration: 03:29)
test 0153...[HTTP with Digest authorization with stale=true]
s-p----emv- OK (153 out of 1250, remaining: 25:08, took 1.4s, duration: 03:30)
test 0154...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (154 out of 1250, remaining: 25:13, took 2.2s, duration: 03:32)
test 0155...[HTTP PUT with --anyauth authorization (picking NTLM)]
--pd---emv- OK (155 out of 1250, remaining: 25:18, took 2.3s, duration: 03:34)
test 0156...[HTTP PUT with --anyauth (when the server requires none)]
--pd---emv- OK (156 out of 1250, remaining: 25:23, took 2.2s, duration: 03:37)
test 0157...[HTTP GET with --anyauth (when the server requires none)]
--pd---emv- OK (157 out of 1250, remaining: 25:20, took 1.2s, duration: 03:38)
test 0158...[HTTP multipart formpost with only a 100 reply]
--pd---emv- OK (158 out of 1250, remaining: 25:18, took 1.2s, duration: 03:39)
test 0159...[HTTP with NTLM authorization when talking HTTP/1.0 (known to fail)]
--pd---emv- OK (159 out of 1250, remaining: 25:15, took 1.2s, duration: 03:40)
test 0160...[HTTP with delayed close, conn reuse, connection reset and retry]
s-p----emv- OK (160 out of 1250, remaining: 25:27, took 3.3s, duration: 03:44)
test 0161...[FTP RETR PASV]
--pd---emv- OK (161 out of 1250, remaining: 25:24, took 1.2s, duration: 03:45)
test 0162...[HTTP GET asking for --proxy-ntlm when some other authentication is required]
--p----emv- OK (162 out of 1250, remaining: 25:21, took 1.2s, duration: 03:46)
test 0163...[HTTP multipart formpost with contents from a file]
--pd---emv- OK (163 out of 1250, remaining: 25:19, took 1.2s, duration: 03:47)
test 0164...[HTTP range with multiple ranges]
--pd---emv- OK (164 out of 1250, remaining: 25:16, took 1.2s, duration: 03:48)
test 0165...[HTTP over proxy with IDN host name]
--pd---emv- OK (165 out of 1250, remaining: 25:14, took 1.4s, duration: 03:50)
test 0166...[HTTP formpost a file with spaces in name]
--pd---emv- OK (166 out of 1250, remaining: 25:11, took 1.2s, duration: 03:51)
test 0167...[HTTP with proxy-requiring-Basic to site-requiring-Digest]
--pd---emv- OK (167 out of 1250, remaining: 25:09, took 1.3s, duration: 03:52)
test 0168...[HTTP with proxy-requiring-Digest to site-requiring-Digest]
--pd---emv- OK (168 out of 1250, remaining: 25:07, took 1.3s, duration: 03:54)
test 0169...[HTTP with proxy-requiring-NTLM to site-requiring-Digest]
--pd---emv- OK (169 out of 1250, remaining: 25:05, took 1.3s, duration: 03:55)
test 0170...[HTTP POST with --proxy-ntlm and no SSL with no response]
--p----emv- OK (170 out of 1250, remaining: 25:03, took 1.3s, duration: 03:56)
test 0171...[HTTP, get cookie with dot prefixed full domain]
--pd--oemv- OK (171 out of 1250, remaining: 25:01, took 1.2s, duration: 03:57)
test 0172...[HTTP with cookies file and custom added cookie]
--pd---emv- OK (172 out of 1250, remaining: 24:58, took 1.2s, duration: 03:59)
test 0173...[HTTP RFC1867-formpost a file from stdin with "faked" filename]
--pd---emv- OK (173 out of 1250, remaining: 24:56, took 1.2s, duration: 04:00)
test 0174...[HTTP POST --anyauth to server not requiring any auth at all]
--pd---emv- OK (174 out of 1250, remaining: 24:53, took 1.2s, duration: 04:01)
test 0175...[HTTP POST --digest to server not requiring any auth at all]
--pd---emv- OK (175 out of 1250, remaining: 24:50, took 1.2s, duration: 04:02)
test 0176...[HTTP POST --ntlm to server not requiring any auth at all]
--pd---emv- OK (176 out of 1250, remaining: 24:48, took 1.2s, duration: 04:03)
test 0177...[HTTP POST --digest to server doing a 302-location response]
--pd---emv- OK (177 out of 1250, remaining: 24:46, took 1.2s, duration: 04:05)
test 0178...[HTTP response with negative Content-Length]
--pd---emv- OK (178 out of 1250, remaining: 24:43, took 1.2s, duration: 04:06)
test 0179...[HTTP using proxy and cookies with path checks]
--pd---emv- OK (179 out of 1250, remaining: 24:41, took 1.2s, duration: 04:07)
test 0180...[HTTP 1.0 PUT]
--pd---emv- OK (180 out of 1250, remaining: 24:38, took 1.2s, duration: 04:08)
test 0181...[HTTP 1.0 POST]
--pd---emv- OK (181 out of 1250, remaining: 24:36, took 1.2s, duration: 04:09)
test 0182...[FTP download an empty file]
--pd---emv- OK (182 out of 1250, remaining: 24:34, took 1.2s, duration: 04:11)
test 0183...[HTTP GET two URLs over a single proxy with persistent connection]
--pd---emv- OK (183 out of 1250, remaining: 24:31, took 1.2s, duration: 04:12)
test 0184...[HTTP replace Host: when following Location: to new host]
--pd---emv- OK (184 out of 1250, remaining: 24:29, took 1.2s, duration: 04:13)
test 0185...[HTTP replace Host: when following Location: on the same host]
--pd---emv- OK (185 out of 1250, remaining: 24:27, took 1.2s, duration: 04:14)
test 0186...[HTTP RFC1867-type formposting with types on text fields]
--pd---emv- OK (186 out of 1250, remaining: 24:25, took 1.2s, duration: 04:16)
test 0187...[HTTP redirect with bad host name separation and slash in parameters]
--pd---emv- OK (187 out of 1250, remaining: 24:22, took 1.2s, duration: 04:17)
test 0188...[HTTP GET with resume and redirect]
--pd---emv- OK (188 out of 1250, remaining: 24:20, took 1.2s, duration: 04:18)
test 0189...[HTTP GET with resume and redirect (to a page that doesn't resume)]
--pd---emv- OK (189 out of 1250, remaining: 24:18, took 1.2s, duration: 04:19)
test 0190...[FTP download with strict timeout and slow CWD]
Killed
--p----emv- OK (190 out of 1250, remaining: 24:59, took 9.1s, duration: 04:28)
test 0191...[FTP URL with ?-letters in username and password ]
--pd---emv- OK (191 out of 1250, remaining: 25:09, took 3.3s, duration: 04:32)
test 0192...[HTTP GET -w num_connects with one simple connect]
s-p----emv- OK (192 out of 1250, remaining: 25:06, took 1.2s, duration: 04:33)
test 0193...[HTTP GET -w num_connects with redirected fetch (2 connects)]
s-p----emv- OK (193 out of 1250, remaining: 25:03, took 1.2s, duration: 04:34)
test 0194...[HTTP resume transfer with the whole file already downloaded and --fail]
--pd---emv- OK (194 out of 1250, remaining: 25:01, took 1.2s, duration: 04:35)
test 0195...[FTP response 530 after PASS, temporarily not allowed access]
--p----emv- OK (195 out of 1250, remaining: 24:58, took 1.2s, duration: 04:36)
test 0196...[FTP transient error, retry request once]
--p----emv- OK (196 out of 1250, remaining: 25:00, took 2.2s, duration: 04:39)
test 0197...[HTTP GET --retry on 503 error with output to stdout]
s-p----emv- OK (197 out of 1250, remaining: 25:03, took 2.2s, duration: 04:41)
test 0198...[HTTP GET --retry on 503 error with output to file]
--pd---emv- OK (198 out of 1250, remaining: 25:06, took 2.2s, duration: 04:43)
test 0199...[HTTP with -d, -G and {}]
--pd---emv- OK (199 out of 1250, remaining: 25:03, took 1.2s, duration: 04:44)
test 0200...[basic file:// file]
---d---emv- OK (200 out of 1250, remaining: 25:00, took 1.1s, duration: 04:45)
test 0201...[missing file:// file]
-------emv- OK (201 out of 1250, remaining: 24:57, took 1.1s, duration: 04:46)
test 0202...[two file:// URLs to stdout]
s------emv- OK (202 out of 1250, remaining: 24:54, took 1.1s, duration: 04:48)
test 0203...[file:/path URL with a single slash]
---d---emv- OK (203 out of 1250, remaining: 24:51, took 1.1s, duration: 04:49)
test 0204...["upload" with file://]
------oemv- OK (204 out of 1250, remaining: 24:48, took 1.1s, duration: 04:50)
test 0205...["upload" with file://]
-------emv- OK (205 out of 1250, remaining: 24:45, took 1.1s, duration: 04:51)
test 0206...[HTTP proxy CONNECT auth Digest]
--pd---emv- OK (206 out of 1250, remaining: 24:43, took 1.3s, duration: 04:52)
test 0207...[HTTP GET with chunked Transfer-Encoding closed prematurely]
--pd---emv- OK (207 out of 1250, remaining: 24:40, took 1.2s, duration: 04:53)
test 0208...[HTTP PUT to a FTP URL with username+password - over HTTP proxy]
--pd---emv- OK (208 out of 1250, remaining: 24:43, took 2.3s, duration: 04:56)
test 0209...[HTTP proxy CONNECT auth NTLM]
--pd---emv- OK (209 out of 1250, remaining: 24:41, took 1.3s, duration: 04:57)
test 0210...[Get two FTP files from the same remote dir: no second CWD]
--pd---emv- OK (210 out of 1250, remaining: 24:39, took 1.3s, duration: 04:58)
test 0211...[Get two FTP files with no remote EPSV support]
--pd---emv- OK (211 out of 1250, remaining: 24:37, took 1.3s, duration: 05:00)
test 0212...[Get two FTP files with no remote EPRT support]
--pd---emv- OK (212 out of 1250, remaining: 24:35, took 1.3s, duration: 05:01)
test 0213...[HTTP 1.0 proxy CONNECT auth NTLM and then POST]
--pd---emv- OK (213 out of 1250, remaining: 24:33, took 1.3s, duration: 05:02)
test 0214...[HTTP URL with escaped { and }]
--pd---emv- OK (214 out of 1250, remaining: 24:30, took 1.2s, duration: 05:03)
test 0215...[Get two FTP dir listings from the same remote dir: no second CWD]
--pd---emv- OK (215 out of 1250, remaining: 24:29, took 1.3s, duration: 05:05)
test 0216...[FTP upload two files to the same dir]
--p----emv- OK (216 out of 1250, remaining: 24:27, took 1.3s, duration: 05:06)
test 0217...[HTTP proxy CONNECT to proxy returning 405]
s-p----emv- OK (217 out of 1250, remaining: 24:24, took 1.2s, duration: 05:07)
test 0218...[HTTP PUT from a file but enforce chunked transfer-encoding]
--pd---emv- OK (218 out of 1250, remaining: 24:27, took 2.2s, duration: 05:09)
test 0219...[try using proxy with unsupported scheme]
-------emv- OK (219 out of 1250, remaining: 24:24, took 1.1s, duration: 05:11)
test 0220...[HTTP GET gzip compressed content]
--pd---emv- OK (220 out of 1250, remaining: 24:21, took 1.2s, duration: 05:12)
test 0221...[HTTP GET gzip compressed content with broken gzip header]
--pd---emv- OK (221 out of 1250, remaining: 24:19, took 1.2s, duration: 05:13)
test 0222...[HTTP GET deflate compressed content]
--pd---emv- OK (222 out of 1250, remaining: 24:17, took 1.2s, duration: 05:14)
test 0223...[HTTP GET deflate compressed content with broken deflate header]
--pd---emv- OK (223 out of 1250, remaining: 24:14, took 1.2s, duration: 05:15)
test 0224...[HTTP GET gzip compressed content with huge comment and extra field]
--pd---emv- OK (224 out of 1250, remaining: 24:12, took 1.2s, duration: 05:17)
test 0225...[FTP %0a-code in URL's name part]
-------emv- OK (225 out of 1250, remaining: 24:09, took 1.1s, duration: 05:18)
test 0226...[FTP %0d-code in URL's CWD part]
-------emv- OK (226 out of 1250, remaining: 24:06, took 1.2s, duration: 05:19)
test 0227...[FTP with quote ops]
--pd---emv- OK (227 out of 1250, remaining: 24:04, took 1.2s, duration: 05:20)
test 0228...[FTP RETR with ACCT]
--pd---emv- OK (228 out of 1250, remaining: 24:02, took 1.2s, duration: 05:21)
test 0229...[FTP RETR with bad ACCT]
--p----emv- OK (229 out of 1250, remaining: 23:59, took 1.2s, duration: 05:22)
test 0230...[HTTP GET multiply compressed content]
--pd---emv- OK (230 out of 1250, remaining: 23:57, took 1.2s, duration: 05:24)
test 0231...[file:// with resume]
---d---emv- OK (231 out of 1250, remaining: 23:55, took 1.1s, duration: 05:25)
test 0232...[HTTP GET deflate raw-compressed content]
--pd---emv- OK (232 out of 1250, remaining: 23:52, took 1.2s, duration: 05:26)
test 0233...[HTTP, proxy, site+proxy auth and Location: to new host]
--pd---emv- OK (233 out of 1250, remaining: 23:50, took 1.2s, duration: 05:27)
test 0234...[HTTP, proxy, site+proxy auth and Location: to new host using location-trusted]
--pd---emv- OK (234 out of 1250, remaining: 23:48, took 1.2s, duration: 05:29)
test 0235...[FTP resumed upload but no file present remotely]
--p-u--emv- OK (235 out of 1250, remaining: 23:46, took 1.2s, duration: 05:30)
test 0236...[FTP resume upload but denied access to remote file]
Killed
--p----emv- OK (236 out of 1250, remaining: 23:44, took 1.2s, duration: 05:31)
test 0237...[FTP getting bad host in 227-response to PASV]
--p----emv- OK (237 out of 1250, remaining: 23:41, took 1.2s, duration: 05:32)
test 0238...[FTP getting bad port in response to EPSV]
--p----emv- OK (238 out of 1250, remaining: 23:39, took 1.2s, duration: 05:33)
test 0239...[HTTP proxy-auth NTLM and then POST]
--pd---emv- OK (239 out of 1250, remaining: 23:37, took 1.3s, duration: 05:35)
test 0240...[HTTP-IPv6 GET]
--pd---emv- OK (240 out of 1250, remaining: 23:43, took 3.2s, duration: 05:38)
test 0241...[HTTP-IPv6 GET (using ip6-localhost)]
--pd---emv- OK (241 out of 1250, remaining: 23:41, took 1.2s, duration: 05:39)
test 0242...[HTTP-IPv6 GET with username+password in URL]
--pd---emv- OK (242 out of 1250, remaining: 23:39, took 1.2s, duration: 05:40)
test 0243...[HTTP POST with --proxy-anyauth, picking NTLM]
--pd---emv- OK (243 out of 1250, remaining: 23:37, took 1.3s, duration: 05:42)
test 0244...[FTP dir listing with nocwd and URL encoded path]
--pd---emv- OK (244 out of 1250, remaining: 23:35, took 1.2s, duration: 05:43)
test 0245...[HTTP POST --digest]
--pd---emv- OK (245 out of 1250, remaining: 23:33, took 1.3s, duration: 05:44)
test 0246...[HTTP POST --digest with server doing a 100 before 401 response]
--pd---emv- OK (246 out of 1250, remaining: 23:31, took 1.2s, duration: 05:45)
test 0247...[FTP upload time condition evaluates TRUE => skip upload]
--p----emv- OK (247 out of 1250, remaining: 23:29, took 1.2s, duration: 05:47)
test 0248...[FTP upload time condition evaluates FALSE => upload anyway]
--p-u--emv- OK (248 out of 1250, remaining: 23:27, took 1.3s, duration: 05:48)
test 0249...[HTTP 304 response with "illegal" Content-Length: header]
--pd---emv- OK (249 out of 1250, remaining: 23:24, took 1.2s, duration: 05:49)
test 0250...[FTP dir list PASV with slow response]
--pd---emv- OK (250 out of 1250, remaining: 24:03, took 11.5s, duration: 06:00)
test 0251...[FTP dir list, PORT with specified IP and slow response]
--pd---emv- OK (251 out of 1250, remaining: 24:42, took 11.6s, duration: 06:12)
test 0252...[FTP IPv6 dir list PASV]
--pd---emv- OK (252 out of 1250, remaining: 24:48, took 3.3s, duration: 06:15)
test 0253...[FTP IPv6 dir list with EPRT]
--pd---emv- OK (253 out of 1250, remaining: 24:45, took 1.2s, duration: 06:17)
test 0254...[FTP IPv6 dir list PASV and --disable-epsv]
--pd---emv- OK (254 out of 1250, remaining: 24:43, took 1.2s, duration: 06:18)
test 0255...[FTP IPv6 dir list with EPRT and --disable-eprt]
--pd---emv- OK (255 out of 1250, remaining: 24:40, took 1.2s, duration: 06:19)
test 0256...[HTTP resume request over proxy with auth without server supporting it]
--p---oemv- OK (256 out of 1250, remaining: 24:38, took 1.2s, duration: 06:20)
test 0257...[HTTP Location: following with --netrc-optional]
--pd---emv- OK (257 out of 1250, remaining: 24:35, took 1.3s, duration: 06:21)
test 0258...[HTTP POST multipart without Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (258 out of 1250, remaining: 24:33, took 1.3s, duration: 06:23)
test 0259...[HTTP POST multipart with Expect: header using proxy anyauth (Digest)]
--pd---emv- OK (259 out of 1250, remaining: 24:39, took 3.3s, duration: 06:26)
test 0260...[HTTP GET URL without slash but with questionmark]
--pd---emv- OK (260 out of 1250, remaining: 24:36, took 1.2s, duration: 06:27)
test 0261...[FTP RETR with 226 response code to TYPE]
--pd---emv- OK (261 out of 1250, remaining: 24:34, took 1.2s, duration: 06:28)
test 0262...[HTTP GET with binary zeroes in header]
--pd---emv- OK (262 out of 1250, remaining: 24:31, took 1.2s, duration: 06:30)
test 0263...[HTTP-IPv6 GET with proxy specified using IPv6-numerical address]
--pd---emv- OK (263 out of 1250, remaining: 24:28, took 1.2s, duration: 06:31)
test 0264...[HTTP with proxy string including http:// and user+password]
--pd---emv- OK (264 out of 1250, remaining: 24:26, took 1.2s, duration: 06:32)
test 0265...[HTTP proxy CONNECT auth NTLM and then POST, response-body in the 407]
--pd---emv- OK (265 out of 1250, remaining: 24:24, took 1.4s, duration: 06:33)
test 0266...[HTTP GET with chunked Transfer-Encoding and chunked trailer]
--pd--oemv- OK (266 out of 1250, remaining: 24:21, took 1.2s, duration: 06:35)
test 0267...[HTTP POST with NTLM authorization and added custom headers]
--pd---emv- OK (267 out of 1250, remaining: 24:19, took 1.3s, duration: 06:36)
test 0268...[HTTP POST a non-existing file]
--pd---emv- OK (268 out of 1250, remaining: 24:16, took 1.2s, duration: 06:37)
test 0269...[HTTP --ignore-content-length]
--pd---emv- OK (269 out of 1250, remaining: 24:14, took 1.2s, duration: 06:38)
test 0270...[FTP RETR PASV --ftp-skip-pasv-ip]
--pd---emv- OK (270 out of 1250, remaining: 24:11, took 1.3s, duration: 06:40)
test 0271...[TFTP retrieve]
--pd---emv- OK (271 out of 1250, remaining: 24:16, took 3.2s, duration: 06:43)
test 0272...[FTP timed conditioned get file with identical time stamp ]
--p----emv- OK (272 out of 1250, remaining: 24:13, took 1.2s, duration: 06:44)
test 0273...[HTTP with two Digest authorization headers]
--pd---emv- OK (273 out of 1250, remaining: 24:11, took 1.2s, duration: 06:45)
test 0274...[HTTP Location: following with --max-redirs 0]
--pd---emv- OK (274 out of 1250, remaining: 24:08, took 1.2s, duration: 06:46)
test 0275...[HTTP CONNECT with proxytunnel getting two URLs from the same host]
--pd-P-emv- OK (275 out of 1250, remaining: 24:08, took 1.7s, duration: 06:48)
test 0276...[HTTP Location: following with multiple question marks in URLs]
--pd---emv- OK (276 out of 1250, remaining: 24:05, took 1.2s, duration: 06:49)
test 0277...[HTTP RFC1867-type formposting with custom Content-Type]
--pd---emv- OK (277 out of 1250, remaining: 24:03, took 1.2s, duration: 06:50)
test 0278...[HTTP with proxy string including http:// and user+empty password]
--pd---emv- OK (278 out of 1250, remaining: 24:00, took 1.2s, duration: 06:52)
test 0279...[HTTP with proxy string including http:// and user only]
--pd---emv- OK (279 out of 1250, remaining: 23:58, took 1.2s, duration: 06:53)
test 0280...[FTP --ftp-alternative-to-user on USER failure]
--pd---emv- OK (280 out of 1250, remaining: 23:56, took 1.2s, duration: 06:54)
test 0281...[HTTP PUT from file with 100 + 401 responses and -f without auth given]
--pd---emv- OK (281 out of 1250, remaining: 23:57, took 2.2s, duration: 06:56)
test 0282...[HTTP GET with no response body or headers]
--pd---emv- OK (282 out of 1250, remaining: 23:54, took 1.2s, duration: 06:57)
test 0283...[TFTP retrieve on invalid file]
--p----emv- OK (283 out of 1250, remaining: 23:52, took 1.1s, duration: 06:59)
test 0284...[TFTP retrieve of boundary case 512 byte file]
--pd---emv- OK (284 out of 1250, remaining: 23:49, took 1.1s, duration: 07:00)
test 0285...[TFTP send]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (285 out of 1250, remaining: 23:53, took 3.2s, duration: 07:03)
test 0286...[TFTP send of boundary case 512 byte file]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (286 out of 1250, remaining: 24:04, took 5.0s, duration: 07:08)
test 0287...[HTTP proxy CONNECT with custom User-Agent header]
s-p----emv- OK (287 out of 1250, remaining: 24:01, took 1.2s, duration: 07:09)
test 0288...[file:// with (unsupported) proxy, authentication and range]
---d---emv- OK (288 out of 1250, remaining: 23:58, took 1.1s, duration: 07:10)
test 0289...[FTP resume upload but denied access to local file]
-------emv- OK (289 out of 1250, remaining: 23:55, took 1.0s, duration: 07:11)
test 0290...[FTP download maximum filesize exceeded]
Killed
--p----emv- OK (290 out of 1250, remaining: 23:53, took 1.2s, duration: 07:12)
test 0291...[FTP download maximum filesize not exceeded]
--pd---emv- OK (291 out of 1250, remaining: 23:50, took 1.2s, duration: 07:14)
test 0292...[HTTP GET with maximum filesize not exceeded]
--pd---emv- OK (292 out of 1250, remaining: 23:48, took 1.2s, duration: 07:15)
test 0293...[HTTP GET with maximum filesize exceeded]
--p----emv- OK (293 out of 1250, remaining: 23:45, took 1.2s, duration: 07:16)
test 0294...[FTP --ftp-account on ACCT request]
--pd---emv- OK (294 out of 1250, remaining: 23:43, took 1.2s, duration: 07:17)
test 0295...[FTP ACCT request without --ftp-account]
--p----emv- OK (295 out of 1250, remaining: 23:40, took 1.2s, duration: 07:18)
test 0296...[FTP CWD with --ftp-method multicwd]
--pd---emv- OK (296 out of 1250, remaining: 23:38, took 1.2s, duration: 07:20)
test 0297...[FTP CWD with --ftp-method singlecwd]
--pd---emv- OK (297 out of 1250, remaining: 23:36, took 1.2s, duration: 07:21)
test 0298...[FTP CWD with --ftp-method nocwd]
--pd---emv- OK (298 out of 1250, remaining: 23:33, took 1.2s, duration: 07:22)
test 0299...[FTP over HTTP proxy with user:pass not in url]
--pd---emv- OK (299 out of 1250, remaining: 23:31, took 1.2s, duration: 07:23)
test 0300...[simple HTTPS GET]
goto problem 10
valgrind ERROR ==19948== Invalid read of size 8
==19948== at 0x53315A5: check_free (dlerror.c:188)
==19948== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19948== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19948== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19948== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19948== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19948== by 0x4D60EB9: exit (exit.c:139)
==19948== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19948== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
==19948== Invalid free() / delete / delete[] / realloc()
==19948== at 0x48369AB: free (vg_replace_malloc.c:540)
==19948== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19948== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19948== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19948== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19948== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19948== by 0x4D60EB9: exit (exit.c:139)
==19948== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19948== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
==19948== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
== Contents of files in the log/ dir after test 300
=== Start of file curl300.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl300.out
=== Start of file http_server.log
02:58:57.101332 ====> Client connect
02:58:57.101369 accept_connection 3 returned 4
02:58:57.101388 accept_connection 3 returned 0
02:58:57.101535 Read 96 bytes
02:58:57.101563 Process 96 bytes request
02:58:57.101593 Got request: GET /verifiedserver HTTP/1.1
02:58:57.101619 Are-we-friendly question received
02:58:57.101643 Wrote request (96 bytes) input to log/server.input
02:58:57.101661 Identifying ourselves as friends
02:58:57.101747 Response sent (56 bytes) and written to log/server.response
02:58:57.101766 special request received, no persistency
02:58:57.101778 ====> Client disconnect 0
02:59:01.186160 ====> Client connect
02:59:01.186186 accept_connection 3 returned 4
02:59:01.186203 accept_connection 3 returned 0
02:59:01.270660 Read 85 bytes
02:59:01.270698 Process 85 bytes request
02:59:01.270715 Got request: GET /300 HTTP/1.1
02:59:01.270725 Requested test number 300 part 0
02:59:01.270748 - request found to be complete
02:59:01.270774 Wrote request (85 bytes) input to log/server.input
02:59:01.270798 Send response test300 section <data>
02:59:01.270859 Response sent (103 bytes) and written to log/server.response
02:59:01.270869 => persistent connection request ended, awaits new request
02:59:01.349437 Connection closed by client
02:59:01.349475 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.13 02:58:55 LOG5[19943]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 02:58:55 LOG5[19943]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 02:58:55 LOG5[19943]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 02:58:55 LOG5[19943]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 02:58:55 LOG5[19943]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 02:58:55 LOG5[19943]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 02:58:55 LOG5[19943]: FIPS mode disabled
2019.08.13 02:58:55 LOG5[19943]: Configuration successful
2019.08.13 02:58:56 LOG5[19946]: Service [curltest] accepted connection from 127.0.0.1:33266
2019.08.13 02:58:56 LOG5[19946]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:58:56 LOG5[19946]: Service [curltest] connected remote server from 127.0.0.1:37560
2019.08.13 02:58:56 LOG5[19946]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 02:58:59 LOG5[19949]: Service [curltest] accepted connection from 127.0.0.1:33270
2019.08.13 02:59:01 LOG5[19949]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:59:01 LOG5[19949]: Service [curltest] connected remote server from 127.0.0.1:37566
2019.08.13 02:59:01 LOG5[19949]: 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 0x561fe3a017c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x561fe3a017c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x561fe3a017c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x561fe3a017c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x561fe3a017c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x561fe3a017c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x561fe3a017c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x561fe3a017c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x561fe3a017c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 18632
=== 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: 18632
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:58.042448 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:58:58.097670 == Info: Added connection 0. The cache now contains 1 members
02:58:58.115561 == Info: Trying 127.0.0.1:8991...
02:58:58.116176 == Info: TCP_NODELAY set
02:58:58.121293 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:58:58.133005 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:58:58.133569 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:58:58.134665 == Info: Marked for [keep alive]: HTTP default
02:58:58.185344 == Info: ALPN, offering h2
02:58:58.185622 == Info: ALPN, offering http/1.1
02:58:59.658621 == Info: successfully set certificate verify locations:
02:58:59.658900 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:58:59.775695 => Send SSL data, 5 bytes (0x5)
0000: .....
02:58:59.780695 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:58:59.780753 => Send SSL data, 148 bytes (0x94)
0000: ..........E.R._.fY.P......`n.>j..4K..C....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:58:59.797830 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:58:59.803274 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:58:59.803339 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...Q.J...j{.uQv......#...}k.~sMip. ..YLM.F#G.....*....]..]CX
0040: ....#.../................
02:58:59.847271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:58:59.847722 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:58:59.847781 <= 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:59.948382 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:58:59.948664 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:58:59.948725 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=....C..........)c.I..>..e....A.....'..=.}=B.*.a.)t4TI,.
0080: .l1.......'x.c....8..qE.....q..z....._.....^.*.\.h}.......k..qIs
00c0: ..>/..>(.Y...*..nh..9..dk?..!...].9...8..6.y#/R...^....h.....y.w
0100: jOtH.Q.....j.V.W1.,...4gZh..Z....$...9...[#..a.?..b...F.....=o0E
0140: .......2K.;P,
02:59:00.018392 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:00.018742 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:00.018798 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:00.135344 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:00.135591 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:00.135647 => Send SSL data, 70 bytes (0x46)
0000: ...BA..[.V.......A...#.iv...ts.^..wz.........^..-..!y....j".~<..
0040: 8.\X.v
02:59:00.147585 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:00.148199 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:00.148261 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:00.172298 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:00.172401 => Send SSL data, 16 bytes (0x10)
0000: ....h@(QI.$B....
02:59:00.185285 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:00.187884 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:00.189025 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:00.189083 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:00.191632 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:00.197595 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:00.197651 <= Recv SSL data, 16 bytes (0x10)
0000: ...........Zof.<
02:59:00.227235 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:00.227924 == Info: ALPN, server did not agree to a protocol
02:59:00.230618 == Info: Server certificate:
02:59:00.238136 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:00.244298 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:00.245248 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:00.246176 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:00.247051 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:00.248555 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:00.268959 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:00.271902 => Send header, 85 bytes (0x55)
0000: GET /300 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:00.274816 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:00.275289 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:00.279705 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:00.288764 == Info: Mark bundle as not supporting multiuse
02:59:00.289358 == Info: HTTP 1.1 or later with persistent connection
02:59:00.292072 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:00.302907 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:00.303741 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:00.304013 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:00.304871 <= Recv SSL data, 5 bytes (0x5)
0000: ..../
02:59:00.306012 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:00.308490 <= Recv header, 1 bytes (0x1)
0000: .
02:59:00.309134 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:00.312744 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:00.313071 == Info: multi_done
02:59:00.322189 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace300
=== Start of file valgrind300
==19948== Invalid read of size 8
==19948== at 0x53315A5: check_free (dlerror.c:188)
==19948== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19948== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19948== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19948== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19948== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19948== by 0x4D60EB9: exit (exit.c:139)
==19948== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19948== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
==19948== Invalid free() / delete / delete[] / realloc()
==19948== at 0x48369AB: free (vg_replace_malloc.c:540)
==19948== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19948== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19948== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19948== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19948== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19948== by 0x4D60EB9: exit (exit.c:139)
==19948== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19948== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
==19948== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19948== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19948== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19948== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19948== by 0x24B104: err_get_state (err.c:210)
==19948== by 0x24BCDA: ERR_put_error (err.c:636)
==19948== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19948== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19948== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19948== by 0x270326: by_file_ctrl (by_file.c:111)
==19948== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19948== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19948== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19948== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19948== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19948== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19948== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19948==
=== End of file valgrind300
test 0301...[HTTPS GET with user and password]
goto problem 11
valgrind ERROR ==19952== Invalid read of size 8
==19952== at 0x53315A5: check_free (dlerror.c:188)
==19952== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19952== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19952== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19952== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19952== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19952== by 0x4D60EB9: exit (exit.c:139)
==19952== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19952== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
==19952== Invalid free() / delete / delete[] / realloc()
==19952== at 0x48369AB: free (vg_replace_malloc.c:540)
==19952== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19952== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19952== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19952== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19952== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19952== by 0x4D60EB9: exit (exit.c:139)
==19952== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19952== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
==19952== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
== Contents of files in the log/ dir after test 301
=== Start of file curl301.out
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file curl301.out
=== Start of file http_server.log
02:59:04.529107 ====> Client connect
02:59:04.529141 accept_connection 3 returned 4
02:59:04.529154 accept_connection 3 returned 0
02:59:04.616274 Read 120 bytes
02:59:04.616309 Process 120 bytes request
02:59:04.616323 Got request: GET /301 HTTP/1.1
02:59:04.616332 Requested test number 301 part 0
02:59:04.616359 - request found to be complete
02:59:04.616386 Wrote request (120 bytes) input to log/server.input
02:59:04.616406 Send response test301 section <data>
02:59:04.616427 connection close instruction "swsclose" found in response
02:59:04.616482 Response sent (130 bytes) and written to log/server.response
02:59:04.616493 instructed to close connection after server-reply
02:59:04.616500 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /301 HTTP/1.1
Host: 127.0.0.1:8991
Authorization: Basic ZmFrZTp1c2Vy
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
=== End of file server.response
=== Start of file stderr301
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
=== End of file stderr301
=== Start of file trace301
02:59:02.411822 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:02.468326 == Info: Added connection 0. The cache now contains 1 members
02:59:02.486228 == Info: Trying 127.0.0.1:8991...
02:59:02.486835 == Info: TCP_NODELAY set
02:59:02.491948 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:02.503791 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:02.504386 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:02.505476 == Info: Marked for [keep alive]: HTTP default
02:59:02.556107 == Info: ALPN, offering h2
02:59:02.556396 == Info: ALPN, offering http/1.1
02:59:04.005580 == Info: successfully set certificate verify locations:
02:59:04.005845 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:04.120433 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.125408 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:04.125466 => Send SSL data, 148 bytes (0x94)
0000: ..........W.\.}.M.y..F./5.J....k.c.)......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:04.143076 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:04.148513 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:04.148570 <= Recv SSL data, 89 bytes (0x59)
0000: ...U....S..c<..U.1.......uS.tp.l.. ..{ ".u.......r....q...\.$}..
0040: ..Z.F.,./................
02:59:04.192466 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.192949 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:04.193014 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:04.294290 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:04.294558 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:04.294612 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=....=@..%..s[..SCv........%Q.).\..kD..L...x.U"b ....o..
0080: ...&.....I...W......0.!*.e.>.....`..........T.....1E..b.....o5..
00c0: su_-U.W..#KZ..S:r.&....H.Z.3....V.]..S}n....>.~..p..9..9..._.Q[.
0100: .t.b../..!...#....U..`.....c.A......YM.G.U..s.%.j....c.0..-3a...
0140: ..V.....V..o"
02:59:04.365121 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.365462 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:04.365517 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:04.481226 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:04.481480 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:04.481535 => Send SSL data, 70 bytes (0x46)
0000: ...BA..G..Op....x2.n._*a)."......DB.......@.)J.6.._.N.Q..L_V.B>.
0040: ......
02:59:04.493414 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.493995 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:04.494053 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:04.515612 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:04.515689 => Send SSL data, 16 bytes (0x10)
0000: .....G.~..YVJQi.
02:59:04.528158 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:04.530826 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.531921 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:04.531976 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:04.534549 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:04.540242 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:04.540298 <= Recv SSL data, 16 bytes (0x10)
0000: .....5.V......({
02:59:04.568782 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:04.569460 == Info: ALPN, server did not agree to a protocol
02:59:04.572156 == Info: Server certificate:
02:59:04.579625 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:04.585756 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:04.586700 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:04.587619 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:04.588491 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:04.589985 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5768; line 1556 (connection #0)
02:59:04.597139 == Info: Server auth using Basic with user 'fake'
02:59:04.614626 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.617556 => Send header, 120 bytes (0x78)
0000: GET /301 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: Authorization: Basic ZmFrZTp1c2Vy
004c: User-Agent: curl/7.66.0-DEV
0069: Accept: */*
0076:
02:59:04.620607 == Info: STATE: DO => DO_DONE handle 0x56c5768; line 1627 (connection #0)
02:59:04.621075 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
02:59:04.625495 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.634529 == Info: Mark bundle as not supporting multiuse
02:59:04.635119 == Info: HTTP 1.1 or later with persistent connection
02:59:04.637846 <= Recv header, 25 bytes (0x19)
0000: HTTP/1.1 200 OK swsclose.
02:59:04.641578 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:04.641805 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:04.643509 <= Recv header, 24 bytes (0x18)
0000: Content-Type: text/html.
02:59:04.650854 <= Recv SSL data, 5 bytes (0x5)
0000: ...."
02:59:04.651084 <= Recv header, 19 bytes (0x13)
0000: Funny-head: yesyes.
02:59:04.651832 == Info: no chunk, no close, no size. Assume close to signal end
02:59:04.652105 == Info: Marked for [closure]: HTTP: No end-of-message indicator
02:59:04.654335 <= Recv header, 1 bytes (0x1)
0000: .
02:59:04.666841 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:04.667759 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:04.667850 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:04.670883 <= Recv data, 0 bytes (0x0)
02:59:04.674378 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
02:59:04.674868 == Info: multi_done
02:59:04.685407 == Info: Closing connection 0
02:59:04.687055 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:04.687663 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:04.687718 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:04.749145 == Info: The cache now contains 0 members
=== End of file trace301
=== Start of file valgrind301
==19952== Invalid read of size 8
==19952== at 0x53315A5: check_free (dlerror.c:188)
==19952== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19952== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19952== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19952== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19952== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19952== by 0x4D60EB9: exit (exit.c:139)
==19952== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19952== Address 0x5af83d0 is 0 bytes after a block of size 32 alloc'd
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
==19952== Invalid free() / delete / delete[] / realloc()
==19952== at 0x48369AB: free (vg_replace_malloc.c:540)
==19952== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19952== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19952== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19952== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19952== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19952== by 0x4D60EB9: exit (exit.c:139)
==19952== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19952== Address 0x5af83b8 is 8 bytes inside a block of size 32 alloc'd
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
==19952== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19952== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19952== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19952== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19952== by 0x24B104: err_get_state (err.c:210)
==19952== by 0x24BCDA: ERR_put_error (err.c:636)
==19952== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19952== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19952== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19952== by 0x270326: by_file_ctrl (by_file.c:111)
==19952== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19952== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19952== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19952== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19952== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19952== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19952== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19952==
=== End of file valgrind301
test 0302...[HTTPS GET over HTTP proxy fails]
-------emv- OK (302 out of 1250, remaining: 23:44, took 1.2s, duration: 07:33)
test 0303...[HTTPS with 8 secs timeout]
Warning: server logs lock timeout (2 seconds) expired
goto problem 12
valgrind ERROR ==19959== Invalid read of size 8
==19959== at 0x53315A5: check_free (dlerror.c:188)
==19959== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19959== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19959== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19959== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19959== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19959== by 0x4D60EB9: exit (exit.c:139)
==19959== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19959== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
==19959== Invalid free() / delete / delete[] / realloc()
==19959== at 0x48369AB: free (vg_replace_malloc.c:540)
==19959== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19959== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19959== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19959== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19959== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19959== by 0x4D60EB9: exit (exit.c:139)
==19959== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19959== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
==19959== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
== Contents of files in the log/ dir after test 303
=== Start of file curl303.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Connection: close
_data_result_data_
=== End of file curl303.out
=== Start of file http_server.log
02:59:09.007092 ====> Client connect
02:59:09.007130 accept_connection 3 returned 4
02:59:09.007145 accept_connection 3 returned 0
02:59:09.090330 Read 90 bytes
02:59:09.090367 Process 90 bytes request
02:59:09.090383 Got request: GET /want/303 HTTP/1.1
02:59:09.090393 Requested test number 303 part 0
02:59:09.090416 - request found to be complete
02:59:09.090441 Wrote request (90 bytes) input to log/server.input
02:59:09.090464 Send response test303 section <data>
02:59:09.090532 Response sent (94 bytes) and written to log/server.response
02:59:09.090543 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 --:--:-- 6
100 19 0 19 0 0 4 0 --:--:-- 0:00:04 --:--:-- 4
100 19 0 19 0 0 3 0 --:--:-- 0:00:05 --:--:-- 3
100 19 0 19 0 0 3 0 --:--:-- 0:00:06 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:07 --:--:-- 3
100 19 0 19 0 0 2 0 --:--:-- 0:00:08 --:--:-- 0
curl: (28) Operation timed out after 8000 milliseconds with 19 bytes received
=== End of file stderr303
=== Start of file trace303
02:59:06.954885 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:07.011990 == Info: Added connection 0. The cache now contains 1 members
02:59:07.030072 == Info: Trying 127.0.0.1:8991...
02:59:07.030697 == Info: TCP_NODELAY set
02:59:07.035220 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:07.047425 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:07.048030 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:07.049119 == Info: Marked for [keep alive]: HTTP default
02:59:07.100122 == Info: ALPN, offering h2
02:59:07.100413 == Info: ALPN, offering http/1.1
02:59:08.484953 == Info: successfully set certificate verify locations:
02:59:08.485209 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:08.600725 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:08.605920 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:08.605979 => Send SSL data, 148 bytes (0x94)
0000: ......F....e...@.jt..oU.....lM.93..Q......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:08.623223 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:08.628637 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:08.628694 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....wv.T..GH......)S..w..D.(..k|. ..S...d..hK>. ..;....[7F]..y
0040: ..]'..../................
02:59:08.672776 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:08.673226 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:08.673280 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:08.773488 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:08.773757 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:08.773812 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=.....a....e..Ax......59...=......[7F]\.y2...4Hs.A..{j.{Ao[
0080: m..S..H.."e.X-...$m.s.M..U........M.X........... .!2.2d../j..m{N
00c0: 5...co...(.^.......(.W..J.Ll..3L./3G...J.k.....;....@...U ....O=
0100: ;,.K.;q....vkJl.D.......u..(g..]@...Y...R..g~.7.l....~...2...&.X
0140: Q..X_..zH.l,.
02:59:08.842693 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:08.843028 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:08.843083 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:08.958496 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:08.958743 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:08.958799 => Send SSL data, 70 bytes (0x46)
0000: ...BA..0.{0.B.........}....3H.XST..EUh......P..|....@.N....?..gW
0040: .q....
02:59:08.970705 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:08.971288 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:08.971347 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:08.992751 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:08.992818 => Send SSL data, 16 bytes (0x10)
0000: ....[..g..N>...s
02:59:09.006181 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.008779 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:09.009879 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:09.009936 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:09.012404 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:09.018087 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:09.018142 <= Recv SSL data, 16 bytes (0x10)
0000: ....&..tC......o
02:59:09.047069 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:09.047756 == Info: ALPN, server did not agree to a protocol
02:59:09.050452 == Info: Server certificate:
02:59:09.057952 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.064153 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:09.065101 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:09.066024 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:09.066891 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:09.068432 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:09.088688 => Send SSL data, 5 bytes (0x5)
0000: ....r
02:59:09.091564 => Send header, 90 bytes (0x5a)
0000: GET /want/303 HTTP/1.1
0018: Host: 127.0.0.1:8991
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:09.094498 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:09.095101 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:09.099513 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:09.108569 == Info: Mark bundle as not supporting multiuse
02:59:09.109164 == Info: HTTP 1.1 or later with persistent connection
02:59:09.111876 <= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
02:59:09.122664 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
02:59:09.123491 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:09.124587 == Info: Marked for [closure]: Connection: close used
02:59:09.124707 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:09.127328 <= Recv header, 2 bytes (0x2)
0000:
02:59:09.127969 <= Recv data, 5 bytes (0x5)
0000: _data
02:59:09.130868 <= Recv SSL data, 5 bytes (0x5)
0000: ....&
02:59:09.131042 <= Recv data, 14 bytes (0xe)
0000: _result_data_.
02:59:14.974525 == Info: Operation timed out after 8000 milliseconds with 19 bytes received
02:59:14.975584 == Info: multi_done
02:59:14.989664 == Info: Closing connection 0
02:59:14.991359 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:14.992297 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:14.992357 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:15.054421 == Info: The cache now contains 0 members
02:59:15.062028 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace303
=== Start of file valgrind303
==19959== Invalid read of size 8
==19959== at 0x53315A5: check_free (dlerror.c:188)
==19959== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19959== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19959== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19959== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19959== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19959== by 0x4D60EB9: exit (exit.c:139)
==19959== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19959== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
==19959== Invalid free() / delete / delete[] / realloc()
==19959== at 0x48369AB: free (vg_replace_malloc.c:540)
==19959== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19959== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19959== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19959== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19959== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19959== by 0x4D60EB9: exit (exit.c:139)
==19959== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19959== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
==19959== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19959== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19959== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19959== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19959== by 0x24B104: err_get_state (err.c:210)
==19959== by 0x24BCDA: ERR_put_error (err.c:636)
==19959== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19959== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19959== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19959== by 0x270326: by_file_ctrl (by_file.c:111)
==19959== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19959== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19959== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19959== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19959== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19959== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19959== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19959==
=== End of file valgrind303
test 0304...[HTTPS multipart formpost]
goto problem 13
valgrind ERROR ==19967== Invalid read of size 8
==19967== at 0x53315A5: check_free (dlerror.c:188)
==19967== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19967== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19967== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19967== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19967== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19967== by 0x4D60EB9: exit (exit.c:139)
==19967== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19967== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
==19967== Invalid free() / delete / delete[] / realloc()
==19967== at 0x48369AB: free (vg_replace_malloc.c:540)
==19967== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19967== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19967== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19967== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19967== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19967== by 0x4D60EB9: exit (exit.c:139)
==19967== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19967== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
==19967== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
== Contents of files in the log/ dir after test 304
=== Start of file curl304.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 10
blablabla
=== End of file curl304.out
=== Start of file http_server.log
02:59:29.110434 Continuing after sleeping 20 seconds
02:59:29.110583 => persistent connection request ended, awaits new request
02:59:29.110617 Connection closed by client
02:59:29.110637 ====> Client disconnect 0
02:59:29.110728 Error removing lock file log/serverlogs.lock error: 2 No such file or directory
02:59:29.110790 ====> Client connect
02:59:29.110812 accept_connection 3 returned 4
02:59:29.110837 accept_connection 3 returned 0
02:59:29.110864 Read 1610 bytes
02:59:29.110884 Process 1610 bytes request
02:59:29.110911 Got request: POST /we/want/304 HTTP/1.1
02:59:29.110932 Requested test number 304 part 0
02:59:29.110992 - request found to be complete
02:59:29.111014 Found Content-Length: 1386 in the request
02:59:29.111051 Wrote request (1610 bytes) input to log/server.input
02:59:29.111088 Send response test304 section <data>
02:59:29.111249 Response sent (108 bytes) and written to log/server.response
02:59:29.111275 => persistent connection request ended, awaits new request
02:59:29.184427 Connection closed by client
02:59:29.184462 ====> 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 326 0:00:04 0:00:04 --:--:-- 333
100 1386 0 0 100 1386 0 264 0:00:05 0:00:05 --:--:-- 268
100 1386 0 0 100 1386 0 221 0:00:06 0:00:06 --:--:-- 224
100 1386 0 0 100 1386 0 191 0:00:07 0:00:07 --:--:-- 272
100 1386 0 0 100 1386 0 167 0:00:08 0:00:08 --:--:-- 275
100 1386 0 0 100 1386 0 149 0:00:09 0:00:09 --:--:-- 0
100 1386 0 0 100 1386 0 135 0:00:10 0:00:10 --:--:-- 0
100 1386 0 0 100 1386 0 125 0:00:11 0:00:11 --:--:-- 0
100 1396 0 10 100 1386 0 125 0:00:11 0:00:11 --:--:-- 2
=== End of file stderr304
=== Start of file test304.txt
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
=== End of file test304.txt
=== Start of file trace304
02:59:18.106721 == Info: STATE: INIT => CONNECT handle 0x56c9d68; line 1362 (connection #-5000)
02:59:18.161621 == Info: Added connection 0. The cache now contains 1 members
02:59:18.179376 == Info: Trying 127.0.0.1:8991...
02:59:18.179987 == Info: TCP_NODELAY set
02:59:18.185095 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c9d68; line 1418 (connection #0)
02:59:18.196720 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:18.197281 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c9d68; line 1538 (connection #0)
02:59:18.198356 == Info: Marked for [keep alive]: HTTP default
02:59:18.251009 == Info: ALPN, offering h2
02:59:18.251329 == Info: ALPN, offering http/1.1
02:59:19.685613 == Info: successfully set certificate verify locations:
02:59:19.685873 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:19.800057 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:19.805985 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:19.806067 => Send SSL data, 148 bytes (0x94)
0000: ......W.OV(Y%.H.77`+.M<..o........I,U.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:19.823059 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:19.828479 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:19.828534 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..*.m...<{...).8F...U]R..;.+...... .....b.... .:v7/\.....`.V
0040: ..m`..%./................
02:59:19.872421 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:19.872879 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:19.872933 <= 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:19.972392 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:19.972653 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:19.972707 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=.....9..k..k..d.}#......Op.J.....T..8..Ye.t.T..r...sr..
0080: ./.*.0...c..)....`..7.G.~..8.9.%mr...Qr9.Kz..w.L._~.y1..zt...{y.
00c0: i.Hq.G"...\..N..1.9...6.5.).<d.a..a........N..A.f6f.eD..I.F.SN>^
0100: T2......N...D.XS.OX..G&.tY...~.v..[7F]...i.%..l.......X^...3...Z...
0140: .^.#..L[.i`F7
02:59:20.044764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:20.045113 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:20.045167 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:20.161491 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:20.161737 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:20.161793 => Send SSL data, 70 bytes (0x46)
0000: ...BA....iEiw..g\sc...E.nz.Z....+B..9....k=.%....~.Q..Z..x...C..
0040: .....o
02:59:20.173605 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:20.174188 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:20.174243 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:20.195561 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:20.195618 => Send SSL data, 16 bytes (0x10)
0000: .....n..m-..O.O.
02:59:20.208364 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:20.211093 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:20.212204 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:20.212260 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:20.214711 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:20.220390 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:20.220443 <= Recv SSL data, 16 bytes (0x10)
0000: ....G..u.M.[7F]...|
02:59:20.249186 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:20.249882 == Info: ALPN, server did not agree to a protocol
02:59:20.252662 == Info: Server certificate:
02:59:20.260328 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:20.266433 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:20.267370 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:20.268304 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:20.269165 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:20.270654 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c9d68; line 1556 (connection #0)
02:59:20.306355 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:20.309351 => 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:20.313263 == Info: STATE: DO => DO_DONE handle 0x56c9d68; line 1627 (connection #0)
02:59:20.313733 == Info: STATE: DO_DONE => PERFORM handle 0x56c9d68; line 1749 (connection #0)
02:59:21.315303 == Info: Done waiting for 100-continue
02:59:21.337688 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:21.338059 => 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:21.343561 == Info: We are completely uploaded and fine
02:59:29.120272 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
02:59:29.130373 == Info: Mark bundle as not supporting multiuse
02:59:29.131076 == Info: HTTP 1.1 or later with persistent connection
02:59:29.133955 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:29.137799 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:29.138026 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:29.140453 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
02:59:29.141955 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 10
02:59:29.144405 <= Recv header, 1 bytes (0x1)
0000: .
02:59:29.145043 <= Recv data, 10 bytes (0xa)
0000: blablabla.
02:59:29.148634 == Info: STATE: PERFORM => DONE handle 0x56c9d68; line 1939 (connection #0)
02:59:29.148955 == Info: multi_done
02:59:29.157097 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace304
=== Start of file valgrind304
==19967== Invalid read of size 8
==19967== at 0x53315A5: check_free (dlerror.c:188)
==19967== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19967== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19967== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19967== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19967== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19967== by 0x4D60EB9: exit (exit.c:139)
==19967== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19967== Address 0x5b005d0 is 0 bytes after a block of size 32 alloc'd
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
==19967== Invalid free() / delete / delete[] / realloc()
==19967== at 0x48369AB: free (vg_replace_malloc.c:540)
==19967== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19967== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19967== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19967== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19967== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19967== by 0x4D60EB9: exit (exit.c:139)
==19967== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19967== Address 0x5b005b8 is 8 bytes inside a block of size 32 alloc'd
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
==19967== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19967== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19967== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19967== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19967== by 0x24B104: err_get_state (err.c:210)
==19967== by 0x24BCDA: ERR_put_error (err.c:636)
==19967== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19967== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19967== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19967== by 0x270326: by_file_ctrl (by_file.c:111)
==19967== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19967== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19967== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19967== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19967== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19967== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19967== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19967==
=== End of file valgrind304
test 0305...[insecure HTTPS without permission]
goto problem 14
valgrind ERROR ==19972== Invalid read of size 8
==19972== at 0x53315A5: check_free (dlerror.c:188)
==19972== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19972== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19972== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19972== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19972== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19972== by 0x4D60EB9: exit (exit.c:139)
==19972== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19972== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
==19972== Invalid free() / delete / delete[] / realloc()
==19972== at 0x48369AB: free (vg_replace_malloc.c:540)
==19972== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19972== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19972== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19972== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19972== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19972== by 0x4D60EB9: exit (exit.c:139)
==19972== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19972== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
==19972== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
== Contents of files in the log/ dir after test 305
=== Start of file stderr305
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (77) error setting certificate verify locations:
CAfile: moooo
CApath: none
=== End of file stderr305
=== Start of file trace305
02:59:30.244551 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
02:59:30.301524 == Info: Added connection 0. The cache now contains 1 members
02:59:30.319790 == Info: Trying 127.0.0.1:8991...
02:59:30.320465 == Info: TCP_NODELAY set
02:59:30.325952 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
02:59:30.337966 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:30.338549 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
02:59:30.339675 == Info: Marked for [keep alive]: HTTP default
02:59:30.391093 == Info: ALPN, offering h2
02:59:30.391387 == Info: ALPN, offering http/1.1
02:59:30.402181 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
02:59:30.402688 == Info: Marked for [closure]: Failed HTTPS connection
02:59:30.403338 == Info: multi_done
02:59:30.412793 == Info: Closing connection 0
02:59:30.432552 == Info: The cache now contains 0 members
02:59:30.440343 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace305
=== Start of file valgrind305
==19972== Invalid read of size 8
==19972== at 0x53315A5: check_free (dlerror.c:188)
==19972== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19972== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19972== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19972== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19972== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19972== by 0x4D60EB9: exit (exit.c:139)
==19972== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19972== Address 0x57560a0 is 0 bytes after a block of size 32 alloc'd
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
==19972== Invalid free() / delete / delete[] / realloc()
==19972== at 0x48369AB: free (vg_replace_malloc.c:540)
==19972== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19972== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19972== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19972== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19972== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19972== by 0x4D60EB9: exit (exit.c:139)
==19972== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19972== Address 0x5756088 is 8 bytes inside a block of size 32 alloc'd
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
==19972== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==19972== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19972== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19972== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19972== by 0x24B104: err_get_state (err.c:210)
==19972== by 0x24BCDA: ERR_put_error (err.c:636)
==19972== by 0x23B5AB: BIO_new_file (file.c:99)
==19972== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==19972== by 0x270326: by_file_ctrl (by_file.c:111)
==19972== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19972== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19972== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19972== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19972== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19972== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19972== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19972== by 0x18A933: https_connecting (http.c:1576)
==19972==
=== End of file valgrind305
test 0306...[HTTPS GET, receive no headers only data!]
goto problem 15
valgrind ERROR ==19976== Invalid read of size 8
==19976== at 0x53315A5: check_free (dlerror.c:188)
==19976== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19976== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19976== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19976== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19976== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19976== by 0x4D60EB9: exit (exit.c:139)
==19976== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19976== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
==19976== Invalid free() / delete / delete[] / realloc()
==19976== at 0x48369AB: free (vg_replace_malloc.c:540)
==19976== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19976== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19976== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19976== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19976== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19976== by 0x4D60EB9: exit (exit.c:139)
==19976== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19976== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
==19976== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
== Contents of files in the log/ dir after test 306
=== Start of file curl306.out
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file curl306.out
=== Start of file http_server.log
02:59:33.551153 ====> Client connect
02:59:33.551193 accept_connection 3 returned 4
02:59:33.551207 accept_connection 3 returned 0
02:59:33.633414 Read 85 bytes
02:59:33.633452 Process 85 bytes request
02:59:33.633465 Got request: GET /306 HTTP/1.1
02:59:33.633473 Requested test number 306 part 0
02:59:33.633497 - request found to be complete
02:59:33.633522 Wrote request (85 bytes) input to log/server.input
02:59:33.633543 Send response test306 section <data>
02:59:33.633566 connection close instruction "swsclose" found in response
02:59:33.633624 Response sent (107 bytes) and written to log/server.response
02:59:33.633635 instructed to close connection after server-reply
02:59:33.633642 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file server.input
GET /306 HTTP/1.1
Host: 127.0.0.1:8991
User-Agent: curl/7.66.0-DEV
Accept: */*
=== End of file server.input
=== Start of file server.response
No headers at all, just data swsclose
Let's get
a little
so that
we
have
some
test
data to
verify
=== End of file server.response
=== Start of file stderr306
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 107 0 107 0 0 47 0 --:--:-- 0:00:02 --:--:-- 49
=== End of file stderr306
=== Start of file trace306
02:59:31.453465 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:31.508766 == Info: Added connection 0. The cache now contains 1 members
02:59:31.526746 == Info: Trying 127.0.0.1:8991...
02:59:31.527384 == Info: TCP_NODELAY set
02:59:31.532606 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:31.544269 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
02:59:31.544852 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:31.545924 == Info: Marked for [keep alive]: HTTP default
02:59:31.596270 == Info: ALPN, offering h2
02:59:31.596549 == Info: ALPN, offering http/1.1
02:59:33.031079 == Info: successfully set certificate verify locations:
02:59:33.031347 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:33.145684 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.150626 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:33.150682 => Send SSL data, 148 bytes (0x94)
0000: ............../.].q,-....*.G.O....}./.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:33.167653 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:33.173087 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:33.173141 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..B.b.qnAo.o.M:...P. ..2.h.....G. ...OCZv .5R..Rw....~v....
0040: .;. .A../................
02:59:33.219173 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.219642 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:33.219696 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:33.318413 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:33.318670 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:33.318725 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=....j6&..-...].t.RU..x......!.y....X g..@......M{~.%..0
0080: ..b..|_N@..\.....e..qu..........\.P+.G.p...Qk...../.S.\.s...DX..
00c0: .....L.[*....r..`N.7.U..C..h9l.1oz..ba...z..j....U.m..p/....5.q.
0100: F.O...../..t6...."...dZL.'....d..m.....:..v......-..j..c'.i..C..
0140: .......C.....
02:59:33.387415 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.387792 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:33.387846 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:33.503457 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:33.503717 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:33.503782 => Send SSL data, 70 bytes (0x46)
0000: ...BA.......^..Li..V.ZQ[K...;.u.6...6..b(|..ul.......],.\.M*'..'
0040: s.A.u.
02:59:33.515673 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.516255 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:33.516314 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:33.537562 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:33.537619 => Send SSL data, 16 bytes (0x10)
0000: ....s....4..\.p.
02:59:33.550242 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:33.552825 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.553917 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:33.553974 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:33.556434 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:33.562068 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:33.562123 <= Recv SSL data, 16 bytes (0x10)
0000: .....eb#ni(.].2*
02:59:33.590370 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:33.591036 == Info: ALPN, server did not agree to a protocol
02:59:33.593706 == Info: Server certificate:
02:59:33.601138 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:33.607374 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:33.608332 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:33.609252 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:33.610117 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:33.611603 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:33.631727 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:33.634641 => Send header, 85 bytes (0x55)
0000: GET /306 HTTP/1.1
0013: Host: 127.0.0.1:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:33.637537 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:33.637999 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:33.642404 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
02:59:33.646956 == Info: Marked for [closure]: bad HTTP: No end-of-message indicator
02:59:33.647810 <= Recv data, 20 bytes (0x14)
0000: No headers at all, j
02:59:33.657888 <= Recv SSL data, 5 bytes (0x5)
0000: ....o
02:59:33.658152 <= Recv data, 87 bytes (0x57)
0000: ust data swsclose..Let's get..a little..so that..we..have..some.
0040: .test..data to..verify.
02:59:33.684050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:33.685449 == Info: TLSv1.2 (IN), TLS alert, close notify (256):
02:59:33.685529 <= Recv SSL data, 2 bytes (0x2)
0000: ..
02:59:33.687992 == Info: nread <= 0, server closed connection, bailing
02:59:33.690415 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
02:59:33.691080 == Info: multi_done
02:59:33.704821 == Info: Closing connection 0
02:59:33.706676 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:33.707257 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:33.707312 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:33.769914 == Info: The cache now contains 0 members
=== End of file trace306
=== Start of file valgrind306
==19976== Invalid read of size 8
==19976== at 0x53315A5: check_free (dlerror.c:188)
==19976== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19976== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19976== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19976== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19976== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19976== by 0x4D60EB9: exit (exit.c:139)
==19976== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19976== Address 0x5af5320 is 0 bytes after a block of size 32 alloc'd
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
==19976== Invalid free() / delete / delete[] / realloc()
==19976== at 0x48369AB: free (vg_replace_malloc.c:540)
==19976== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19976== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19976== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19976== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19976== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19976== by 0x4D60EB9: exit (exit.c:139)
==19976== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19976== Address 0x5af5308 is 8 bytes inside a block of size 32 alloc'd
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
==19976== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19976== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19976== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19976== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19976== by 0x24B104: err_get_state (err.c:210)
==19976== by 0x24BCDA: ERR_put_error (err.c:636)
==19976== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19976== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19976== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19976== by 0x270326: by_file_ctrl (by_file.c:111)
==19976== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19976== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19976== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19976== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19976== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19976== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19976== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19976==
=== End of file valgrind306
test 0307 SKIPPED: curl lacks OpenSSL support
test 0308 SKIPPED: curl lacks OpenSSL support
test 0309...[HTTP Location: redirect to HTTPS URL]
goto problem 16
valgrind ERROR ==19982== Invalid read of size 8
==19982== at 0x53315A5: check_free (dlerror.c:188)
==19982== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19982== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19982== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19982== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19982== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19982== by 0x4D60EB9: exit (exit.c:139)
==19982== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19982== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
==19982== Invalid free() / delete / delete[] / realloc()
==19982== at 0x48369AB: free (vg_replace_malloc.c:540)
==19982== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19982== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19982== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19982== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19982== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19982== by 0x4D60EB9: exit (exit.c:139)
==19982== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19982== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
==19982== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
== Contents of files in the log/ dir after test 309
=== Start of file curl309.out
HTTP/1.1 301 This is a weirdo text message swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
Connection: close
HTTP/1.1 200 Followed here fine swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 52
If this is received, the location following worked
=== End of file curl309.out
=== Start of file http_server.log
02:59:34.862239 ====> Client connect
02:59:34.862285 accept_connection 3 returned 4
02:59:34.862306 accept_connection 3 returned 0
02:59:34.891063 Read 90 bytes
02:59:34.891089 Process 90 bytes request
02:59:34.891109 Got request: GET /want/309 HTTP/1.1
02:59:34.891124 Requested test number 309 part 0
02:59:34.891162 - request found to be complete
02:59:34.891190 Wrote request (90 bytes) input to log/server.input
02:59:34.891213 Send response test309 section <data>
02:59:34.891252 connection close instruction "swsclose" found in response
02:59:34.891365 Response sent (277 bytes) and written to log/server.response
02:59:34.891381 instructed to close connection after server-reply
02:59:34.891392 ====> Client disconnect 0
02:59:36.923522 ====> Client connect
02:59:36.923548 accept_connection 3 returned 4
02:59:36.923565 accept_connection 3 returned 0
02:59:36.996254 Read 111 bytes
02:59:36.996291 Process 111 bytes request
02:59:36.996308 Got request: GET /data/3090002.txt?coolsite=yes HTTP/1.1
02:59:36.996319 Requested test number 309 part 2
02:59:36.996345 - request found to be complete
02:59:36.996357 Wrote request (111 bytes) input to log/server.input
02:59:36.996375 Send response test309 section <data2>
02:59:36.996404 connection close instruction "swsclose" found in response
02:59:36.996454 Response sent (179 bytes) and written to log/server.response
02:59:36.996464 instructed to close connection after server-reply
02:59:36.996471 ====> 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 --:--:-- 1733
100 52 100 52 0 0 23 0 0:00:02 0:00:02 --:--:-- 1575
=== End of file stderr309
=== Start of file trace309
02:59:34.786985 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
02:59:34.841130 == Info: Added connection 0. The cache now contains 1 members
02:59:34.859054 == Info: Trying 127.0.0.1:8990...
02:59:34.859675 == Info: TCP_NODELAY set
02:59:34.864977 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
02:59:34.876608 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
02:59:34.877169 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
02:59:34.878249 == Info: Marked for [keep alive]: HTTP default
02:59:34.879138 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #0)
02:59:34.891871 => Send header, 90 bytes (0x5a)
0000: GET /want/309 HTTP/1.1
0018: Host: 127.0.0.1:8990
002e: User-Agent: curl/7.66.0-DEV
004b: Accept: */*
0058:
02:59:34.896917 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #0)
02:59:34.897381 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
02:59:34.906948 == Info: Mark bundle as not supporting multiuse
02:59:34.907536 == Info: HTTP 1.1 or later with persistent connection
02:59:34.910390 <= Recv header, 53 bytes (0x35)
0000: HTTP/1.1 301 This is a weirdo text message swsclose
02:59:34.914192 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:34.914414 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:34.916386 <= Recv header, 64 bytes (0x40)
0000: Location: https://127.0.0.1:8991/data/3090002.txt?coolsite=yes
02:59:34.917455 == Info: Marked for [closure]: Connection: close used
02:59:34.917573 <= Recv header, 19 bytes (0x13)
0000: Connection: close
02:59:34.920266 <= Recv header, 2 bytes (0x2)
0000:
02:59:34.921974 == Info: multi_done
02:59:34.931395 == Info: Closing connection 0
02:59:34.935972 == Info: The cache now contains 0 members
02:59:34.946181 == Info: Issue another request to this URL: 'https://127.0.0.1:8991/data/3090002.txt?coolsite=yes'
02:59:34.946980 == Info: STATE: PERFORM => CONNECT handle 0x56c52c8; line 1916 (connection #-5000)
02:59:34.950627 == Info: Added connection 1. The cache now contains 1 members
02:59:34.951241 == Info: Trying 127.0.0.1:8991...
02:59:34.951299 == Info: TCP_NODELAY set
02:59:34.951780 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #1)
02:59:34.951910 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#1)
02:59:34.951993 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #1)
02:59:34.952065 == Info: Marked for [keep alive]: HTTP default
02:59:35.002407 == Info: ALPN, offering h2
02:59:35.002696 == Info: ALPN, offering http/1.1
02:59:36.408165 == Info: successfully set certificate verify locations:
02:59:36.408424 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
02:59:36.522119 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:36.525171 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:36.525228 => Send SSL data, 148 bytes (0x94)
0000: ............[.5B....$..:..k..Y.;...E......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
02:59:36.542074 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
02:59:36.547832 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:36.547896 <= Recv SSL data, 89 bytes (0x59)
0000: ...U........:.e.K....u.p..c..W..0f.>_r ...P...:w."...R..r.~..D..
0040: ......G./................
02:59:36.591560 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.592024 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:36.592079 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
02:59:36.690232 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:36.690497 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:36.690551 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....=.M..B..............A...K;.qj..,...f.f..W..}.-.Z...$
0040: v......%=....&,EB.^[7F]=...;..%.......4.N.+n.q.}..u.[7F].mX.?5......&.
0080: ...'{....[........G...0.S.............~m)..?..x......%.B...F...\
00c0: ..%.....].....p.A..0.>..g...z.....+...EXSB....z.V.`....?...Z..).
0100: ...l..Q.tJ.../"..........f.Fc..0.?.S&..@..\..8...k...m.v3.......
0140: >^@......K...
02:59:36.760194 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.760538 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:36.760592 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:36.876136 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:36.876382 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:36.876436 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....Q,....|>9..q.0..L........M.2 [7F].d)*..y.....M.r....v...r
0040: ......
02:59:36.888314 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:36.888912 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:36.888968 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:36.910244 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:36.910304 => Send SSL data, 16 bytes (0x10)
0000: ......$(Q......0
02:59:36.922661 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:36.925173 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:36.926260 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:36.926315 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:36.928743 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:36.934360 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:36.934414 <= Recv SSL data, 16 bytes (0x10)
0000: ....i....]..q..+
02:59:36.962911 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:36.963597 == Info: ALPN, server did not agree to a protocol
02:59:36.966249 == Info: Server certificate:
02:59:36.973794 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:36.979925 == Info: start date: Aug 31 23:39:18 2018 GMT
02:59:36.980869 == Info: expire date: Aug 28 23:39:18 2028 GMT
02:59:36.981790 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
02:59:36.982653 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
02:59:36.983810 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c52c8; line 1556 (connection #1)
02:59:36.994558 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:36.997120 => 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:36.997684 == Info: STATE: DO => DO_DONE handle 0x56c52c8; line 1627 (connection #1)
02:59:36.997772 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #1)
02:59:37.000494 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:37.006911 == Info: Mark bundle as not supporting multiuse
02:59:37.007086 == Info: HTTP 1.1 or later with persistent connection
02:59:37.007156 <= Recv header, 42 bytes (0x2a)
0000: HTTP/1.1 200 Followed here fine swsclose
02:59:37.007414 <= Recv header, 37 bytes (0x25)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT
02:59:37.007627 <= Recv header, 26 bytes (0x1a)
0000: Server: test-server/fake
02:59:37.008699 <= Recv header, 20 bytes (0x14)
0000: Content-Length: 52
02:59:37.009048 <= Recv header, 2 bytes (0x2)
0000:
02:59:37.009426 <= Recv data, 52 bytes (0x34)
0000: If this is received, the location following worked..
02:59:37.015555 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #1)
02:59:37.015890 == Info: multi_done
02:59:37.017910 == Info: Connection #1 to host 127.0.0.1 left intact
02:59:37.019711 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace309
=== Start of file valgrind309
==19982== Invalid read of size 8
==19982== at 0x53315A5: check_free (dlerror.c:188)
==19982== by 0x5331AB1: free_key_mem (dlerror.c:221)
==19982== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==19982== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19982== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19982== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19982== by 0x4D60EB9: exit (exit.c:139)
==19982== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19982== Address 0x5b2ee70 is 0 bytes after a block of size 32 alloc'd
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
==19982== Invalid free() / delete / delete[] / realloc()
==19982== at 0x48369AB: free (vg_replace_malloc.c:540)
==19982== by 0x5331AB9: free_key_mem (dlerror.c:223)
==19982== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==19982== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==19982== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==19982== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==19982== by 0x4D60EB9: exit (exit.c:139)
==19982== by 0x4D4B0A1: (below main) (libc-start.c:342)
==19982== Address 0x5b2ee58 is 8 bytes inside a block of size 32 alloc'd
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
==19982== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==19982== at 0x483577F: malloc (vg_replace_malloc.c:309)
==19982== by 0x25C282: OPENSSL_malloc (mem.c:106)
==19982== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==19982== by 0x24B104: err_get_state (err.c:210)
==19982== by 0x24BCDA: ERR_put_error (err.c:636)
==19982== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==19982== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==19982== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==19982== by 0x270326: by_file_ctrl (by_file.c:111)
==19982== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==19982== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==19982== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==19982== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==19982== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==19982== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==19982== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==19982==
=== End of file valgrind309
test 0310...[simple HTTPS GET]
goto problem 17
valgrind ERROR ==20006== Invalid read of size 8
==20006== at 0x53315A5: check_free (dlerror.c:188)
==20006== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20006== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4D60EB9: exit (exit.c:139)
==20006== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20006== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== Invalid free() / delete / delete[] / realloc()
==20006== at 0x48369AB: free (vg_replace_malloc.c:540)
==20006== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20006== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4D60EB9: exit (exit.c:139)
==20006== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20006== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
== Contents of files in the log/ dir after test 310
=== Start of file curl310.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file curl310.out
=== Start of file http_server.log
02:59:37.165027 signalled to die
02:59:37.165155 ========> IPv4 sws (port 8990 pid: 18632) exits with signal (15)
02:59:42.186830 Running HTTP IPv4 version on port 8990
02:59:42.187026 Wrote pid 19990 to .http_server.pid
02:59:43.185372 ====> Client connect
02:59:43.185420 accept_connection 3 returned 4
02:59:43.185450 accept_connection 3 returned 0
02:59:43.185482 Read 96 bytes
02:59:43.185505 Process 96 bytes request
02:59:43.185542 Got request: GET /verifiedserver HTTP/1.1
02:59:43.185567 Are-we-friendly question received
02:59:43.185603 Wrote request (96 bytes) input to log/server.input
02:59:43.185648 Identifying ourselves as friends
02:59:43.185767 Response sent (56 bytes) and written to log/server.response
02:59:43.185793 special request received, no persistency
02:59:43.185811 ====> Client disconnect 0
02:59:45.230907 ====> Client connect
02:59:45.230933 accept_connection 3 returned 4
02:59:45.230947 accept_connection 3 returned 0
02:59:45.231076 Read 96 bytes
02:59:45.231100 Process 96 bytes request
02:59:45.231123 Got request: GET /verifiedserver HTTP/1.1
02:59:45.231139 Are-we-friendly question received
02:59:45.231157 Wrote request (96 bytes) input to log/server.input
02:59:45.231173 Identifying ourselves as friends
02:59:45.231237 Response sent (56 bytes) and written to log/server.response
02:59:45.231251 special request received, no persistency
02:59:45.231262 ====> Client disconnect 0
02:59:48.006550 ====> Client connect
02:59:48.006579 accept_connection 3 returned 4
02:59:48.006601 accept_connection 3 returned 0
02:59:48.095153 Read 85 bytes
02:59:48.095193 Process 85 bytes request
02:59:48.095210 Got request: GET /310 HTTP/1.1
02:59:48.095221 Requested test number 310 part 0
02:59:48.095250 - request found to be complete
02:59:48.095277 Wrote request (85 bytes) input to log/server.input
02:59:48.095297 Send response test310 section <data>
02:59:48.095360 Response sent (103 bytes) and written to log/server.response
02:59:48.095370 => persistent connection request ended, awaits new request
02:59:48.169049 Connection closed by client
02:59:48.169089 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x557062a2f7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x557062a2f7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x557062a2f7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x557062a2f7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x557062a2f7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x557062a2f7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x557062a2f7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x557062a2f7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 19990
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 02:59:44 LOG5[19998]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 02:59:44 LOG5[19998]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 02:59:44 LOG5[19998]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 02:59:44 LOG5[19998]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 02:59:44 LOG5[19998]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 02:59:44 LOG5[19998]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 02:59:44 LOG5[19998]: FIPS mode disabled
2019.08.13 02:59:44 LOG5[19998]: Configuration successful
2019.08.13 02:59:45 LOG5[20001]: Service [curltest] accepted connection from 127.0.0.1:33306
2019.08.13 02:59:45 LOG5[20001]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:59:45 LOG5[20001]: Service [curltest] connected remote server from 127.0.0.1:37600
2019.08.13 02:59:45 LOG5[20001]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 02:59:47 LOG5[20009]: Service [curltest] accepted connection from 127.0.0.1:33314
2019.08.13 02:59:47 LOG5[20009]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:59:47 LOG5[20009]: Service [curltest] connected remote server from 127.0.0.1:37608
2019.08.13 02:59:48 LOG5[20009]: 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 0x564d8e1ee7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x564d8e1ee7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x564d8e1ee7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x564d8e1ee7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x564d8e1ee7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x564d8e1ee7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x564d8e1ee7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x564d8e1ee7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x564d8e1ee7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 19990
=== 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: 19990
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 19990
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 8
=== End of file stderr310
=== Start of file trace310
02:59:47.171306 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:47.228481 == Info: Added connection 0. The cache now contains 1 members
02:59:47.268089 == Info: STATE: CONNECT => WAITRESOLVE handle 0x56c5798; line 1403 (connection #0)
02:59:47.299169 == Info: Trying ::1:8991...
02:59:47.299826 == Info: TCP_NODELAY set
02:59:47.304875 == Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x56c5798; line 1482 (connection #0)
02:59:47.312750 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:47.314887 == Info: Trying 127.0.0.1:8991...
02:59:47.314949 == Info: TCP_NODELAY set
02:59:47.319729 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:47.320262 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:47.321302 == Info: Marked for [keep alive]: HTTP default
02:59:47.373078 == Info: ALPN, offering h2
02:59:47.373373 == Info: ALPN, offering http/1.1
02:59:47.462842 == Info: successfully set certificate verify locations:
02:59:47.463102 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:47.580719 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:47.585677 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:47.585734 => Send SSL data, 166 bytes (0xa6)
0000: ........H....|.u....Q;./...<+._G.s..a.....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:47.602827 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:47.608280 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:47.608336 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...g..........=.c!$|..:........v6. .....7...).Dx.zF..(..7...
0040: 4.'...3./....................
02:59:47.653125 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:47.653566 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:47.653624 <= 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:47.827174 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:47.827440 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:47.827495 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...d.M!..?.57_R.........Sy.....F.R.U....[.R.'..f...SE..m
0040: .`..m..z.....P..[.c|\.TG..(.%.Q..WN.....O=....t,(.......e.i....B
0080: .B.t....W....#.jAm2.).U..]w......c.&.oe..p.P...p.5M.....'.......
00c0: x.]..d.K.Ef|)... .....Z..[.P...0.c.q4 .j.#.....R.....JZ..n.U!...
0100: ...N..d...l11..?8w....V....Sy.U:S.?.u[...H..A-.^..j..(.......{.w
0140: ..bZ..`......
02:59:47.842118 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:47.842428 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:47.842482 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:47.958501 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:47.958747 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:47.958801 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....;.P.t.j?..N.>Q...bv.V..)..dj.........`..*..!...4......
0040: ..a..6
02:59:47.970762 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:47.971344 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:47.971402 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:47.992640 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:47.992699 => Send SSL data, 16 bytes (0x10)
0000: .....\......)6ST
02:59:48.005631 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:48.008470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:48.009571 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:48.009628 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:48.012088 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:48.017790 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:48.017853 <= Recv SSL data, 16 bytes (0x10)
0000: ....GA(.f.......
02:59:48.046410 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:48.047092 == Info: ALPN, server did not agree to a protocol
02:59:48.049726 == Info: Server certificate:
02:59:48.057837 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:48.062594 == Info: start date: Sep 19 07:13:14 2018 GMT
02:59:48.063945 == Info: expire date: Dec 6 07:13:14 2026 GMT
02:59:48.066968 == Info: subjectAltName: host "localhost" matched cert's "localhost"
02:59:48.069321 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
02:59:48.069965 == Info: SSL certificate verify ok.
02:59:48.071612 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5798; line 1556 (connection #0)
02:59:48.093338 => Send SSL data, 5 bytes (0x5)
0000: ....m
02:59:48.096399 => Send header, 85 bytes (0x55)
0000: GET /310 HTTP/1.1
0013: Host: localhost:8991
0029: User-Agent: curl/7.66.0-DEV
0046: Accept: */*
0053:
02:59:48.099428 == Info: STATE: DO => DO_DONE handle 0x56c5798; line 1627 (connection #0)
02:59:48.099919 == Info: STATE: DO_DONE => PERFORM handle 0x56c5798; line 1749 (connection #0)
02:59:48.104442 <= Recv SSL data, 5 bytes (0x5)
0000: ....[7F]
02:59:48.114210 == Info: Mark bundle as not supporting multiuse
02:59:48.114818 == Info: HTTP 1.1 or later with persistent connection
02:59:48.117630 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
02:59:48.121448 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
02:59:48.121688 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
02:59:48.122873 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
02:59:48.125433 <= Recv header, 1 bytes (0x1)
0000: .
02:59:48.126283 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
02:59:48.131841 == Info: STATE: PERFORM => DONE handle 0x56c5798; line 1939 (connection #0)
02:59:48.132165 == Info: multi_done
02:59:48.141294 == Info: Connection #0 to host localhost left intact
02:59:48.142557 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace310
=== Start of file valgrind310
==20006== Invalid read of size 8
==20006== at 0x53315A5: check_free (dlerror.c:188)
==20006== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20006== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4D60EB9: exit (exit.c:139)
==20006== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20006== Address 0x5763290 is 0 bytes after a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== Invalid free() / delete / delete[] / realloc()
==20006== at 0x48369AB: free (vg_replace_malloc.c:540)
==20006== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20006== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20006== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20006== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20006== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20006== by 0x4D60EB9: exit (exit.c:139)
==20006== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20006== Address 0x5763278 is 8 bytes inside a block of size 32 alloc'd
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
==20006== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20006== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20006== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20006== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20006== by 0x24B104: err_get_state (err.c:210)
==20006== by 0x24BCDA: ERR_put_error (err.c:636)
==20006== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20006== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20006== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20006== by 0x270326: by_file_ctrl (by_file.c:111)
==20006== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20006== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20006== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20006== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20006== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20006== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20006== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20006==
=== End of file valgrind310
test 0311...[HTTPS wrong subjectAltName but right CN]
goto problem 18
valgrind ERROR ==20031== Invalid read of size 8
==20031== at 0x53315A5: check_free (dlerror.c:188)
==20031== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20031== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20031== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20031== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20031== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20031== by 0x4D60EB9: exit (exit.c:139)
==20031== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20031== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
==20031== Invalid free() / delete / delete[] / realloc()
==20031== at 0x48369AB: free (vg_replace_malloc.c:540)
==20031== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20031== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20031== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20031== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20031== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20031== by 0x4D60EB9: exit (exit.c:139)
==20031== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20031== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
==20031== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
== Contents of files in the log/ dir after test 311
=== Start of file http_server.log
02:59:48.258213 signalled to die
02:59:48.258292 ========> IPv4 sws (port 8990 pid: 19990) exits with signal (15)
02:59:53.283342 Running HTTP IPv4 version on port 8990
02:59:53.283579 Wrote pid 20014 to .http_server.pid
02:59:54.278152 ====> Client connect
02:59:54.278185 accept_connection 3 returned 4
02:59:54.278206 accept_connection 3 returned 0
02:59:54.278249 Read 96 bytes
02:59:54.278267 Process 96 bytes request
02:59:54.278294 Got request: GET /verifiedserver HTTP/1.1
02:59:54.278313 Are-we-friendly question received
02:59:54.278353 Wrote request (96 bytes) input to log/server.input
02:59:54.278397 Identifying ourselves as friends
02:59:54.278519 Response sent (56 bytes) and written to log/server.response
02:59:54.278538 special request received, no persistency
02:59:54.278551 ====> Client disconnect 0
02:59:56.325004 ====> Client connect
02:59:56.325047 accept_connection 3 returned 4
02:59:56.325072 accept_connection 3 returned 0
02:59:56.325181 Read 96 bytes
02:59:56.325203 Process 96 bytes request
02:59:56.325224 Got request: GET /verifiedserver HTTP/1.1
02:59:56.325240 Are-we-friendly question received
02:59:56.325259 Wrote request (96 bytes) input to log/server.input
02:59:56.325279 Identifying ourselves as friends
02:59:56.325349 Response sent (56 bytes) and written to log/server.response
02:59:56.325367 special request received, no persistency
02:59:56.325382 ====> Client disconnect 0
02:59:59.114927 ====> Client connect
02:59:59.114952 accept_connection 3 returned 4
02:59:59.114970 accept_connection 3 returned 0
02:59:59.191675 Connection closed by client
02:59:59.191709 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55b94766a7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b94766a7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b94766a7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55b94766a7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55b94766a7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b94766a7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55b94766a7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b94766a7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20014
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 02:59:55 LOG5[20022]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 02:59:55 LOG5[20022]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 02:59:55 LOG5[20022]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 02:59:55 LOG5[20022]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 02:59:55 LOG5[20022]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 02:59:55 LOG5[20022]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 02:59:55 LOG5[20022]: FIPS mode disabled
2019.08.13 02:59:55 LOG5[20022]: Configuration successful
2019.08.13 02:59:56 LOG5[20027]: Service [curltest] accepted connection from 127.0.0.1:33320
2019.08.13 02:59:56 LOG5[20027]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:59:56 LOG5[20027]: Service [curltest] connected remote server from 127.0.0.1:37614
2019.08.13 02:59:56 LOG5[20027]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 02:59:58 LOG5[20033]: Service [curltest] accepted connection from 127.0.0.1:33326
2019.08.13 02:59:59 LOG5[20033]: s_connect: connected 127.0.0.1:8990
2019.08.13 02:59:59 LOG5[20033]: Service [curltest] connected remote server from 127.0.0.1:37620
2019.08.13 02:59:59 LOG5[20033]: 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 0x55620d8e47c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55620d8e47c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55620d8e47c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55620d8e47c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [979 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:14:23 2018 GMT
* expire date: Dec 6 07:14:23 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55620d8e47c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55620d8e47c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55620d8e47c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55620d8e47c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55620d8e47c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20014
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20014
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20014
=== End of file server.response
=== Start of file stderr311
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr311
=== Start of file trace311
02:59:58.283286 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
02:59:58.338736 == Info: Added connection 0. The cache now contains 1 members
02:59:58.394472 == Info: Trying ::1:8991...
02:59:58.395124 == Info: TCP_NODELAY set
02:59:58.400005 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
02:59:58.414540 == Info: connect to ::1 port 8991 failed: Connection refused
02:59:58.416706 == Info: Trying 127.0.0.1:8991...
02:59:58.416772 == Info: TCP_NODELAY set
02:59:58.425097 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
02:59:58.425623 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
02:59:58.426668 == Info: Marked for [keep alive]: HTTP default
02:59:58.477652 == Info: ALPN, offering h2
02:59:58.477935 == Info: ALPN, offering http/1.1
02:59:58.568568 == Info: successfully set certificate verify locations:
02:59:58.568833 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
02:59:58.687662 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:58.692652 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
02:59:58.692709 => Send SSL data, 166 bytes (0xa6)
0000: .......pv.....,....(6.......ox|..W.f......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
02:59:58.709764 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
02:59:58.715307 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
02:59:58.715384 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y.......&+...f~v..S}.,....$........ .h.sN....f...~...l...O(].
0040: CL...bQ./....................
02:59:58.761004 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:58.761476 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
02:59:58.761531 <= Recv SSL data, 979 bytes (0x3d3)
0000: ..........0...0............f..n0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071423Z..261206071423Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........j....4..H...&2g
0140: .N..L..o...].C..Ob.M|..6.W.a...5 ..}....D...1......RKx.WWk.%)..P
0180: o..<............x.........+.UEJP......)......:.b!<0.Z.qgS.x.~.@
01c0: 2e.|..........9...x....+..?..H/&$4..p.F.........f.N=~...d.....T.
0200: ...e...qCi.P...... 6......0lf" ...Y...qUJf.v...........0..0...U.
0240: ...0...localhost.h0...U........0...U.%..0...+.......0...U.......
0280: .]...h..be .......&0...U.#..0......KF..u.,..T...e.{.0...U....0.0
02c0: ...*.H.............M\...5H...E..\6.7.^3.*.[..p=..f.I...[K..Qu-..
0300: .^a...5q6....&.c..,5t.|.....e....-.3U.......-..\M..uh.f...k.....
0340: Y.jZz.]U.. wI...~.=`#...j.+...W....-Od.....+.4..X.m.16B;.n..wMI)
0380: ..B'.........9.|..'`u..<.b.h..|.......?.q.`.sP....oo;........B.j
03c0: v..Y. ..P........e.
02:59:58.935570 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
02:59:58.935841 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
02:59:58.935897 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.34..y".....#...#.....0H!3k:.? .d.P...A.6g..L1..H.Y....W
0040: .j..V............8.'.E1....?.......M.)..(..)^.B.Y..b......c.....
0080: ..6.-..........9..e..i0.&.R3.'.)+.g.`.j...t.....~...3.}M.).zfo.s
00c0: ...A\...q...Q.....=.t...:....N..y0y]..Te|l....A.N..[7F].r$o.<....m.
0100: ..S.....?...../.t..n.A-J..l.....b.....w.......t....%O...../.Ll..
0140: ,sB.E.:..T..?
02:59:58.950679 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:58.951005 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
02:59:58.951060 <= Recv SSL data, 4 bytes (0x4)
0000: ....
02:59:59.067076 => Send SSL data, 5 bytes (0x5)
0000: ....F
02:59:59.067318 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
02:59:59.067372 => Send SSL data, 70 bytes (0x46)
0000: ...BA...W..)8...`..D.!........f.8t..s....J.."5.&..!.r..b.$+1....
0040: ......
02:59:59.079366 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:59.079976 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
02:59:59.080033 => Send SSL data, 1 bytes (0x1)
0000: .
02:59:59.101483 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
02:59:59.101553 => Send SSL data, 16 bytes (0x10)
0000: .....];u...p..3.
02:59:59.114082 => Send SSL data, 5 bytes (0x5)
0000: ....(
02:59:59.116857 <= Recv SSL data, 5 bytes (0x5)
0000: .....
02:59:59.117946 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
02:59:59.118002 <= Recv SSL data, 1 bytes (0x1)
0000: .
02:59:59.120463 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
02:59:59.126163 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
02:59:59.126224 <= Recv SSL data, 16 bytes (0x10)
0000: ........C....X..
02:59:59.154018 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
02:59:59.154685 == Info: ALPN, server did not agree to a protocol
02:59:59.157341 == Info: Server certificate:
02:59:59.165260 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
02:59:59.170109 == Info: start date: Sep 19 07:14:23 2018 GMT
02:59:59.171458 == Info: expire date: Dec 6 07:14:23 2026 GMT
02:59:59.174706 == Info: subjectAltName does not match localhost
02:59:59.175448 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
02:59:59.176223 == Info: Marked for [closure]: Failed HTTPS connection
02:59:59.176773 == Info: multi_done
02:59:59.185569 == Info: Closing connection 0
02:59:59.190098 => Send SSL data, 5 bytes (0x5)
0000: .....
02:59:59.192989 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
02:59:59.193044 => Send SSL data, 2 bytes (0x2)
0000: ..
02:59:59.218124 == Info: The cache now contains 0 members
02:59:59.225937 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace311
=== Start of file valgrind311
==20031== Invalid read of size 8
==20031== at 0x53315A5: check_free (dlerror.c:188)
==20031== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20031== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20031== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20031== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20031== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20031== by 0x4D60EB9: exit (exit.c:139)
==20031== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20031== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
==20031== Invalid free() / delete / delete[] / realloc()
==20031== at 0x48369AB: free (vg_replace_malloc.c:540)
==20031== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20031== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20031== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20031== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20031== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20031== by 0x4D60EB9: exit (exit.c:139)
==20031== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20031== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
==20031== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20031== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20031== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20031== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20031== by 0x24B104: err_get_state (err.c:210)
==20031== by 0x24BCDA: ERR_put_error (err.c:636)
==20031== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20031== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20031== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20031== by 0x270326: by_file_ctrl (by_file.c:111)
==20031== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20031== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20031== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20031== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20031== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20031== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20031== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20031==
=== End of file valgrind311
test 0312...[HTTPS GET to localhost and null-prefixed CN cert]
goto problem 19
valgrind ERROR ==20059== Invalid read of size 8
==20059== at 0x53315A5: check_free (dlerror.c:188)
==20059== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20059== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20059== by 0x4D60EB9: exit (exit.c:139)
==20059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20059== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
==20059== Invalid free() / delete / delete[] / realloc()
==20059== at 0x48369AB: free (vg_replace_malloc.c:540)
==20059== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20059== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20059== by 0x4D60EB9: exit (exit.c:139)
==20059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20059== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
==20059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
== Contents of files in the log/ dir after test 312
=== Start of file http_server.log
02:59:59.306801 signalled to die
02:59:59.306880 ========> IPv4 sws (port 8990 pid: 20014) exits with signal (15)
03:00:04.331967 Running HTTP IPv4 version on port 8990
03:00:04.332184 Wrote pid 20046 to .http_server.pid
03:00:05.327239 ====> Client connect
03:00:05.327284 accept_connection 3 returned 4
03:00:05.327314 accept_connection 3 returned 0
03:00:05.327370 Read 96 bytes
03:00:05.327406 Process 96 bytes request
03:00:05.327454 Got request: GET /verifiedserver HTTP/1.1
03:00:05.327477 Are-we-friendly question received
03:00:05.327514 Wrote request (96 bytes) input to log/server.input
03:00:05.327564 Identifying ourselves as friends
03:00:05.327684 Response sent (56 bytes) and written to log/server.response
03:00:05.327710 special request received, no persistency
03:00:05.327728 ====> Client disconnect 0
03:00:07.372216 ====> Client connect
03:00:07.372245 accept_connection 3 returned 4
03:00:07.372264 accept_connection 3 returned 0
03:00:07.372452 Read 96 bytes
03:00:07.372481 Process 96 bytes request
03:00:07.372504 Got request: GET /verifiedserver HTTP/1.1
03:00:07.372520 Are-we-friendly question received
03:00:07.372536 Wrote request (96 bytes) input to log/server.input
03:00:07.372551 Identifying ourselves as friends
03:00:07.372604 Response sent (56 bytes) and written to log/server.response
03:00:07.372618 special request received, no persistency
03:00:07.372635 ====> Client disconnect 0
03:00:10.149198 ====> Client connect
03:00:10.149224 accept_connection 3 returned 4
03:00:10.149242 accept_connection 3 returned 0
03:00:10.227307 Connection closed by client
03:00:10.227339 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x5624be3f97c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5624be3f97c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5624be3f97c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x5624be3f97c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5624be3f97c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5624be3f97c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x5624be3f97c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5624be3f97c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20046
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 03:00:06 LOG5[20052]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:00:06 LOG5[20052]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:00:06 LOG5[20052]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:00:06 LOG5[20052]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:00:06 LOG5[20052]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:00:06 LOG5[20052]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 03:00:06 LOG5[20052]: FIPS mode disabled
2019.08.13 03:00:06 LOG5[20052]: Configuration successful
2019.08.13 03:00:07 LOG5[20055]: Service [curltest] accepted connection from 127.0.0.1:33338
2019.08.13 03:00:07 LOG5[20055]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:00:07 LOG5[20055]: Service [curltest] connected remote server from 127.0.0.1:37632
2019.08.13 03:00:07 LOG5[20055]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 03:00:09 LOG5[20061]: Service [curltest] accepted connection from 127.0.0.1:33344
2019.08.13 03:00:10 LOG5[20061]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:00:10 LOG5[20061]: Service [curltest] connected remote server from 127.0.0.1:37638
2019.08.13 03:00:10 LOG5[20061]: 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 0x556fcbd067c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x556fcbd067c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x556fcbd067c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x556fcbd067c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [983 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
* start date: Sep 19 07:14:12 2018 GMT
* expire date: Dec 6 07:14:12 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x556fcbd067c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x556fcbd067c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x556fcbd067c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x556fcbd067c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x556fcbd067c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20046
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20046
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20046
=== End of file server.response
=== Start of file stderr312
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL: no alternative certificate subject name matches target host name 'localhost'
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
=== End of file stderr312
=== Start of file trace312
03:00:09.313248 == Info: STATE: INIT => CONNECT handle 0x56c5798; line 1362 (connection #-5000)
03:00:09.368742 == Info: Added connection 0. The cache now contains 1 members
03:00:09.425890 == Info: Trying ::1:8991...
03:00:09.426549 == Info: TCP_NODELAY set
03:00:09.431448 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5798; line 1418 (connection #0)
03:00:09.446059 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:09.448238 == Info: Trying 127.0.0.1:8991...
03:00:09.448302 == Info: TCP_NODELAY set
03:00:09.456780 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:09.457305 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5798; line 1538 (connection #0)
03:00:09.458350 == Info: Marked for [keep alive]: HTTP default
03:00:09.509684 == Info: ALPN, offering h2
03:00:09.509980 == Info: ALPN, offering http/1.1
03:00:09.600145 == Info: successfully set certificate verify locations:
03:00:09.600407 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:09.718503 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:09.723520 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:09.723577 => Send SSL data, 166 bytes (0xa6)
0000: ........S}.........^|....v.8,.>...4.......+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:09.741274 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:09.747043 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:09.747106 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..8...7 ...."...[q&........$.(.'}. 4.0...3W..}....*...'....W
0040: .[7F].8.u../....................
03:00:09.792618 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:09.793080 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:09.793135 <= Recv SSL data, 983 bytes (0x3d7)
0000: ..........0...0............f...0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071412Z..261206071412Z0W1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost.nn0.."0...*.H.............0..........^L......b=8.
0140: ^.b[.................$..A[7F]vV=.r!*I.TB...........`..a...51...'...
0180: ..jr..Du;.>v..`.1.Ob.~m...0a.7...e...a..u..R.[9E5c....vJ.x..,...
01c0: .'....9..#..e.x.|.U...p...Y....\qx............%P....w{......C...
0200: n..&.....O.f.);nz...t....F...B..u...[...veY9..]...........0..0..
0240: .U....0...localhost.nn0...U........0...U.%..0...+.......0...U...
0280: ...........~.K.#..*.nI.0...U.#..0......KF..u.,..T...e.{.0...U...
02c0: .0.0...*.H..............'z..9....h.J.../.R.G_0..,.,b;$.=7X..{..-
0300: <..I.c:..4......{.lf.h.'.a`.e..f...C.<W...)....TWB|.o....>..bIa.
0340: ...!.I..B.....j%.yB.u.A...B...7..R. .....ZG.....5..i..)..0.-..3.
0380: 8.5.....;..P}..^....YvtB..)IL......$>......s_~...tSF...m..b.....
03c0: .....R.D...I!..{.xU[...
03:00:09.968440 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:09.968718 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:09.968773 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A..i..WkCf..j..3B...i...Q9....]vP..............\....+gV\.
0040: &e^z.5U.0...........A.J.h~...U...4.d.j...J..a....b.3wf(}..MO.Em.
0080: ..>:)..C|.J.......a.pg.G.......g3#...1...".&.y.f...6|.h.nCb..P.l
00c0: .|e3.kf..|A......>...i..Y.{$...S.M..n[7F]Q..G.4..-...P....?8.....].
0100: ......n...RH...e...IDX yD....5V....N..'.[#......S..r....6...G.p.
0140: .G...j.\v....
03:00:09.983671 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:09.984001 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:09.984056 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:10.099755 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:10.100008 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:10.100062 => Send SSL data, 70 bytes (0x46)
0000: ...BA.m.L[(V.iADE<=.n.....+g(N8.5.....0...+..Qq...]..."&.E...n..
0040: %.[7F]S=.
03:00:10.112337 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:10.112943 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:10.112999 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:10.135170 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:10.135227 => Send SSL data, 16 bytes (0x10)
0000: ....*T/..\.V..;[
03:00:10.148268 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:10.150871 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:10.151978 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:10.152035 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:10.154515 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:10.160297 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:10.160354 <= Recv SSL data, 16 bytes (0x10)
0000: .......,X2> ....
03:00:10.188266 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:10.188932 == Info: ALPN, server did not agree to a protocol
03:00:10.191551 == Info: Server certificate:
03:00:10.199501 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost.nn
03:00:10.204341 == Info: start date: Sep 19 07:14:12 2018 GMT
03:00:10.205697 == Info: expire date: Dec 6 07:14:12 2026 GMT
03:00:10.210308 == Info: subjectAltName does not match localhost
03:00:10.211053 == Info: SSL: no alternative certificate subject name matches target host name 'localhost'
03:00:10.211837 == Info: Marked for [closure]: Failed HTTPS connection
03:00:10.212372 == Info: multi_done
03:00:10.221175 == Info: Closing connection 0
03:00:10.225719 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:10.228574 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:00:10.228630 => Send SSL data, 2 bytes (0x2)
0000: ..
03:00:10.254517 == Info: The cache now contains 0 members
03:00:10.262172 == Info: Expire cleared (transfer 0x56c5798)
=== End of file trace312
=== Start of file valgrind312
==20059== Invalid read of size 8
==20059== at 0x53315A5: check_free (dlerror.c:188)
==20059== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20059== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20059== by 0x4D60EB9: exit (exit.c:139)
==20059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20059== Address 0x5763240 is 0 bytes after a block of size 32 alloc'd
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
==20059== Invalid free() / delete / delete[] / realloc()
==20059== at 0x48369AB: free (vg_replace_malloc.c:540)
==20059== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20059== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20059== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20059== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20059== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20059== by 0x4D60EB9: exit (exit.c:139)
==20059== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20059== Address 0x5763228 is 8 bytes inside a block of size 32 alloc'd
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
==20059== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20059== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20059== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20059== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20059== by 0x24B104: err_get_state (err.c:210)
==20059== by 0x24BCDA: ERR_put_error (err.c:636)
==20059== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20059== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20059== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20059== by 0x270326: by_file_ctrl (by_file.c:111)
==20059== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20059== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20059== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20059== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20059== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20059== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20059== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20059==
=== End of file valgrind312
test 0313...[CRL test]
goto problem 20
valgrind ERROR ==20082== Invalid read of size 8
==20082== at 0x53315A5: check_free (dlerror.c:188)
==20082== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20082== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4D60EB9: exit (exit.c:139)
==20082== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20082== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== Invalid free() / delete / delete[] / realloc()
==20082== at 0x48369AB: free (vg_replace_malloc.c:540)
==20082== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20082== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4D60EB9: exit (exit.c:139)
==20082== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20082== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
== Contents of files in the log/ dir after test 313
=== Start of file http_server.log
03:00:10.344564 signalled to die
03:00:10.344679 ========> IPv4 sws (port 8990 pid: 20046) exits with signal (15)
03:00:15.368423 Running HTTP IPv4 version on port 8990
03:00:15.368628 Wrote pid 20069 to .http_server.pid
03:00:16.364726 ====> Client connect
03:00:16.364774 accept_connection 3 returned 4
03:00:16.364804 accept_connection 3 returned 0
03:00:16.364835 Read 96 bytes
03:00:16.364858 Process 96 bytes request
03:00:16.364895 Got request: GET /verifiedserver HTTP/1.1
03:00:16.364921 Are-we-friendly question received
03:00:16.364956 Wrote request (96 bytes) input to log/server.input
03:00:16.365002 Identifying ourselves as friends
03:00:16.365125 Response sent (56 bytes) and written to log/server.response
03:00:16.365151 special request received, no persistency
03:00:16.365169 ====> Client disconnect 0
03:00:18.409674 ====> Client connect
03:00:18.409698 accept_connection 3 returned 4
03:00:18.409712 accept_connection 3 returned 0
03:00:18.409851 Read 96 bytes
03:00:18.409877 Process 96 bytes request
03:00:18.409899 Got request: GET /verifiedserver HTTP/1.1
03:00:18.409911 Are-we-friendly question received
03:00:18.409933 Wrote request (96 bytes) input to log/server.input
03:00:18.409948 Identifying ourselves as friends
03:00:18.410011 Response sent (56 bytes) and written to log/server.response
03:00:18.410031 special request received, no persistency
03:00:18.410043 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55910e1317c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55910e1317c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55910e1317c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55910e1317c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55910e1317c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55910e1317c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55910e1317c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55910e1317c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20069
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 03:00:17 LOG5[20075]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:00:17 LOG5[20075]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:00:17 LOG5[20075]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:00:17 LOG5[20075]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:00:17 LOG5[20075]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:00:17 LOG5[20075]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 03:00:17 LOG5[20075]: FIPS mode disabled
2019.08.13 03:00:17 LOG5[20075]: Configuration successful
2019.08.13 03:00:18 LOG5[20078]: Service [curltest] accepted connection from 127.0.0.1:33350
2019.08.13 03:00:18 LOG5[20078]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:00:18 LOG5[20078]: Service [curltest] connected remote server from 127.0.0.1:37644
2019.08.13 03:00:18 LOG5[20078]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 03:00:20 LOG5[20084]: Service [curltest] accepted connection from 127.0.0.1:33356
2019.08.13 03:00:20 LOG3[20084]: SSL_accept: 14094415: error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired
2019.08.13 03:00:20 LOG5[20084]: 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 0x5569408a87c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x5569408a87c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5569408a87c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x5569408a87c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x5569408a87c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x5569408a87c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x5569408a87c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
{ [5 bytes data]
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x5569408a87c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x5569408a87c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20069
=== End of file https_verify.out
=== Start of file server.response
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20069
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20069
=== 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:20.346104 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:00:20.401285 == Info: Added connection 0. The cache now contains 1 members
03:00:20.456990 == Info: Trying ::1:8991...
03:00:20.457649 == Info: TCP_NODELAY set
03:00:20.462548 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:00:20.477095 == Info: connect to ::1 port 8991 failed: Connection refused
03:00:20.479270 == Info: Trying 127.0.0.1:8991...
03:00:20.479334 == Info: TCP_NODELAY set
03:00:20.487651 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:00:20.488177 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:00:20.489218 == Info: Marked for [keep alive]: HTTP default
03:00:20.540731 == Info: ALPN, offering h2
03:00:20.541024 == Info: ALPN, offering http/1.1
03:00:20.631062 == Info: successfully set certificate verify locations:
03:00:20.631325 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:00:20.680253 == Info: successfully load CRL file:
03:00:20.680751 == Info: CRLfile: /tests/certs/Server-localhost-sv.crl
03:00:20.798639 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:20.803651 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:20.803709 => Send SSL data, 166 bytes (0xa6)
0000: ......%S......U................[..........+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:00:20.820769 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:00:20.826204 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:20.826260 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y..U.Q.}W..VE...S_.68.v.UW7.!...=.. ..N...@.(=...............
0040: XS...B../....................
03:00:20.871953 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:20.872424 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:20.872480 <= 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:20.964423 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:20.967492 == Info: TLSv1.2 (OUT), TLS alert, certificate expired (557):
03:00:20.967548 => Send SSL data, 2 bytes (0x2)
0000: .-
03:00:20.974306 == Info: SSL certificate problem: CRL has expired
03:00:20.974798 == Info: Marked for [closure]: Failed HTTPS connection
03:00:20.975337 == Info: multi_done
03:00:20.984311 == Info: Closing connection 0
03:00:21.021234 == Info: The cache now contains 0 members
03:00:21.028987 == Info: Expire cleared (transfer 0x56c5c78)
=== End of file trace313
=== Start of file valgrind313
==20082== Invalid read of size 8
==20082== at 0x53315A5: check_free (dlerror.c:188)
==20082== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20082== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4D60EB9: exit (exit.c:139)
==20082== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20082== Address 0x57651e0 is 0 bytes after a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== Invalid free() / delete / delete[] / realloc()
==20082== at 0x48369AB: free (vg_replace_malloc.c:540)
==20082== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20082== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20082== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20082== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20082== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20082== by 0x4D60EB9: exit (exit.c:139)
==20082== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20082== Address 0x57651c8 is 8 bytes inside a block of size 32 alloc'd
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
==20082== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20082== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20082== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20082== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20082== by 0x24B104: err_get_state (err.c:210)
==20082== by 0x24BCDA: ERR_put_error (err.c:636)
==20082== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20082== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20082== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20082== by 0x270326: by_file_ctrl (by_file.c:111)
==20082== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20082== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20082== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20082== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20082== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20082== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20082== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20082==
=== End of file valgrind313
test 0314...[HTTP GET brotli compressed content]
--pd---emv- OK (314 out of 1250, remaining: 26:20, took 1.2s, duration: 08:50)
test 0315...[HTTP GET brotli compressed content with broken header]
--pd---emv- OK (315 out of 1250, remaining: 26:17, took 1.2s, duration: 08:51)
test 0316...[HTTP GET brotli compressed content of size more than CURL_MAX_WRITE_SIZE]
--pd---emv- OK (316 out of 1250, remaining: 26:13, took 1.2s, duration: 08:52)
test 0317...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (317 out of 1250, remaining: 26:10, took 1.2s, duration: 08:53)
test 0318...[HTTP with custom Authorization: and redirect to new host]
--pd---emv- OK (318 out of 1250, remaining: 26:07, took 1.2s, duration: 08:54)
test 0319...[HTTP GET gzip transfer-encoded data in raw mode]
--pd---emv- OK (319 out of 1250, remaining: 26:04, took 1.2s, duration: 08:56)
test 0320 SKIPPED: curl lacks TLS-SRP support
test 0321 SKIPPED: curl lacks TLS-SRP support
test 0322 SKIPPED: curl lacks TLS-SRP support
test 0325...[HTTPS with attempted redirect to denied HTTP]
goto problem 21
valgrind ERROR ==20137== Invalid read of size 8
==20137== at 0x53315A5: check_free (dlerror.c:188)
==20137== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20137== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20137== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20137== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20137== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20137== by 0x4D60EB9: exit (exit.c:139)
==20137== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20137== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
==20137== Invalid free() / delete / delete[] / realloc()
==20137== at 0x48369AB: free (vg_replace_malloc.c:540)
==20137== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20137== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20137== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20137== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20137== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20137== by 0x4D60EB9: exit (exit.c:139)
==20137== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20137== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
==20137== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
== 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:28.434690 signalled to die
03:00:28.434786 ========> IPv4 sws (port 8990 pid: 20069) exits with signal (15)
03:00:33.457672 Running HTTP IPv4 version on port 8990
03:00:33.457914 Wrote pid 20123 to .http_server.pid
03:00:34.455115 ====> Client connect
03:00:34.455164 accept_connection 3 returned 4
03:00:34.455194 accept_connection 3 returned 0
03:00:34.455240 Read 96 bytes
03:00:34.455267 Process 96 bytes request
03:00:34.455302 Got request: GET /verifiedserver HTTP/1.1
03:00:34.455327 Are-we-friendly question received
03:00:34.455365 Wrote request (96 bytes) input to log/server.input
03:00:34.455409 Identifying ourselves as friends
03:00:34.455526 Response sent (56 bytes) and written to log/server.response
03:00:34.455552 special request received, no persistency
03:00:34.455571 ====> Client disconnect 0
03:00:36.501549 ====> Client connect
03:00:36.501583 accept_connection 3 returned 4
03:00:36.501602 accept_connection 3 returned 0
03:00:36.501772 Read 96 bytes
03:00:36.501791 Process 96 bytes request
03:00:36.501817 Got request: GET /verifiedserver HTTP/1.1
03:00:36.501829 Are-we-friendly question received
03:00:36.501843 Wrote request (96 bytes) input to log/server.input
03:00:36.501859 Identifying ourselves as friends
03:00:36.501910 Response sent (56 bytes) and written to log/server.response
03:00:36.501928 special request received, no persistency
03:00:36.501946 ====> Client disconnect 0
03:00:40.527892 ====> Client connect
03:00:40.527917 accept_connection 3 returned 4
03:00:40.527935 accept_connection 3 returned 0
03:00:40.610453 Read 85 bytes
03:00:40.610492 Process 85 bytes request
03:00:40.610508 Got request: GET /325 HTTP/1.1
03:00:40.610519 Requested test number 325 part 0
03:00:40.610548 - request found to be complete
03:00:40.610575 Wrote request (85 bytes) input to log/server.input
03:00:40.610598 Send response test325 section <data>
03:00:40.610664 Response sent (134 bytes) and written to log/server.response
03:00:40.610674 => persistent connection request ended, awaits new request
03:00:40.704020 Connection closed by client
03:00:40.704059 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55a0b7e1e7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55a0b7e1e7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55a0b7e1e7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55a0b7e1e7c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55a0b7e1e7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55a0b7e1e7c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55a0b7e1e7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55a0b7e1e7c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 20123
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 03:00:35 LOG5[20129]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:00:35 LOG5[20129]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:00:35 LOG5[20129]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:00:35 LOG5[20129]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:00:35 LOG5[20129]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:00:35 LOG5[20129]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 03:00:35 LOG5[20129]: FIPS mode disabled
2019.08.13 03:00:35 LOG5[20129]: Configuration successful
2019.08.13 03:00:36 LOG5[20135]: Service [curltest] accepted connection from 127.0.0.1:33384
2019.08.13 03:00:36 LOG5[20135]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:00:36 LOG5[20135]: Service [curltest] connected remote server from 127.0.0.1:37678
2019.08.13 03:00:36 LOG5[20135]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 03:00:38 LOG5[20138]: Service [curltest] accepted connection from 127.0.0.1:33388
2019.08.13 03:00:40 LOG5[20138]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:00:40 LOG5[20138]: Service [curltest] connected remote server from 127.0.0.1:37682
2019.08.13 03:00:40 LOG5[20138]: 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 0x55577576c7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55577576c7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55577576c7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55577576c7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55577576c7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55577576c7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55577576c7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55577576c7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55577576c7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 20123
=== 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: 20123
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 20123
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:38.449315 == Info: STATE: INIT => CONNECT handle 0x56c5ba8; line 1362 (connection #-5000)
03:00:38.503884 == Info: Added connection 0. The cache now contains 1 members
03:00:38.521682 == Info: Trying 127.0.0.1:8991...
03:00:38.522286 == Info: TCP_NODELAY set
03:00:38.527359 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5ba8; line 1418 (connection #0)
03:00:38.538883 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:00:38.539445 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5ba8; line 1538 (connection #0)
03:00:38.540560 == Info: Marked for [keep alive]: HTTP default
03:00:38.591564 == Info: ALPN, offering h2
03:00:38.591859 == Info: ALPN, offering http/1.1
03:00:40.008497 == Info: successfully set certificate verify locations:
03:00:40.008755 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:00:40.122016 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:40.126947 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:00:40.127004 => Send SSL data, 148 bytes (0x94)
0000: ......`..T...........Mb....F5g..@W.rR.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:00:40.143858 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:00:40.149248 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:00:40.149304 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.....V..D.CQ<...8...s.'....y...... X.m.I.old...Lof....5.O...
0040: ..bE.ye./................
03:00:40.192764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:40.193204 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:00:40.193258 <= 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:40.292703 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:00:40.292971 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:00:40.293026 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A../N..K.eu...F..Q.."......P...:(U..ST...|..{q.n1....5E..
0040: .gd7...O.....9.."p...Z..8Z.Q)..n..../...#.>.t!....T..$._U......X
0080: ..N...[7F]...UfB...........m...Y........\.~...{3.D..57B4..Xy.....`.
00c0: ....9...u.1i0......i.#G.>..D>P9.9.@).w.U.....a.U.C.T0....{.]..0.
0100: U,....6..Omv.zV...S3.h!t..R....l..&......f.. ......V........s...
0140: ......6......
03:00:40.363050 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:40.363397 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:00:40.363452 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:00:40.478887 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:00:40.479125 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:00:40.479179 => Send SSL data, 70 bytes (0x46)
0000: ...BA....S'..-.h..o.}.k.K.........(+..w./...Z.^....m../.........
0040: K.!.,:
03:00:40.491042 => Send SSL data, 5 bytes (0x5)
0000: .....
03:00:40.491628 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:00:40.491683 => Send SSL data, 1 bytes (0x1)
0000: .
03:00:40.514350 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:00:40.514424 => Send SSL data, 16 bytes (0x10)
0000: .......y........
03:00:40.527051 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:00:40.529553 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:00:40.530644 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:00:40.530700 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:00:40.533151 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:00:40.538951 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:00:40.539007 <= Recv SSL data, 16 bytes (0x10)
0000: .......?.&......
03:00:40.567297 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:00:40.567970 == Info: ALPN, server did not agree to a protocol
03:00:40.570655 == Info: Server certificate:
03:00:40.578144 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:40.584292 == Info: start date: Aug 31 23:39:18 2018 GMT
03:00:40.585234 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:00:40.586158 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:00:40.587022 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:00:40.588519 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5ba8; line 1556 (connection #0)
03:00:40.608801 => Send SSL data, 5 bytes (0x5)
0000: ....m
03:00:40.611673 => 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:40.614590 == Info: STATE: DO => DO_DONE handle 0x56c5ba8; line 1627 (connection #0)
03:00:40.615053 == Info: STATE: DO_DONE => PERFORM handle 0x56c5ba8; line 1749 (connection #0)
03:00:40.619461 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:00:40.628485 == Info: Mark bundle as not supporting multiuse
03:00:40.629072 == Info: HTTP 1.1 or later with persistent connection
03:00:40.631930 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 301 OK.
03:00:40.642689 <= Recv SSL data, 5 bytes (0x5)
0000: ....T
03:00:40.643517 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:00:40.643754 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:00:40.644606 <= Recv SSL data, 5 bytes (0x5)
0000: ....N
03:00:40.645743 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:00:40.647633 <= Recv header, 31 bytes (0x1f)
0000: Location: http://somewhere/325.
03:00:40.650323 <= Recv header, 1 bytes (0x1)
0000: .
03:00:40.650864 == Info: Ignoring the response-body
03:00:40.651217 <= Recv data, 7 bytes (0x7)
0000: MooMoo.
03:00:40.653414 == Info: multi_done
03:00:40.662492 == Info: Connection #0 to host 127.0.0.1 left intact
03:00:40.666386 == Info: Issue another request to this URL: 'http://somewhere/325'
03:00:40.667179 == Info: STATE: PERFORM => CONNECT handle 0x56c5ba8; line 1916 (connection #-5000)
03:00:40.669906 == Info: Protocol "http" not supported or disabled in libcurl
03:00:40.671917 == Info: Closing connection -1
=== End of file trace325
=== Start of file valgrind325
==20137== Invalid read of size 8
==20137== at 0x53315A5: check_free (dlerror.c:188)
==20137== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20137== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20137== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20137== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20137== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20137== by 0x4D60EB9: exit (exit.c:139)
==20137== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20137== Address 0x5af5c30 is 0 bytes after a block of size 32 alloc'd
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
==20137== Invalid free() / delete / delete[] / realloc()
==20137== at 0x48369AB: free (vg_replace_malloc.c:540)
==20137== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20137== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20137== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20137== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20137== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20137== by 0x4D60EB9: exit (exit.c:139)
==20137== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20137== Address 0x5af5c18 is 8 bytes inside a block of size 32 alloc'd
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
==20137== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20137== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20137== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20137== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20137== by 0x24B104: err_get_state (err.c:210)
==20137== by 0x24BCDA: ERR_put_error (err.c:636)
==20137== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20137== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20137== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20137== by 0x270326: by_file_ctrl (by_file.c:111)
==20137== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20137== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20137== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20137== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20137== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20137== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20137== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==20137==
=== End of file valgrind325
test 0326...[HTTP GET chunked data in raw mode]
--pd---emv- OK (326 out of 1250, remaining: 25:58, took 1.2s, duration: 09:09)
test 0327...[HTTP with cookiejar without cookies left]
--pd--oemv- OK (327 out of 1250, remaining: 25:55, took 1.3s, duration: 09:11)
test 0328...[HTTP with "Content-Encoding: none]
--pd---emv- OK (328 out of 1250, remaining: 25:52, took 1.2s, duration: 09:12)
test 0329...[HTTP cookie with Max-Age=0]
--pd---emv- OK (329 out of 1250, remaining: 25:49, took 1.2s, duration: 09:13)
test 0330...[HTTP with custom Cookie: and redirect to new host]
--pd---emv- OK (330 out of 1250, remaining: 25:46, took 1.2s, duration: 09:14)
test 0331...[HTTP with cookie using host name 'moo']
--pd---emv- OK (331 out of 1250, remaining: 25:43, took 1.2s, duration: 09:16)
test 0332...[TFTP retrieve with blksize 400]
--pd---emv- OK (332 out of 1250, remaining: 25:40, took 1.1s, duration: 09:17)
test 0333...[Try a non-boolean command line option with --no-]
-------emv- OK (333 out of 1250, remaining: 25:36, took 0.9s, duration: 09:18)
test 0334...[HTTP 204 No content with chunked header]
--pd---emv- OK (334 out of 1250, remaining: 25:33, took 1.2s, duration: 09:19)
test 0340...[FTP using %00 in path with singlecwd]
--p----emv- OK (335 out of 1250, remaining: 25:30, took 1.2s, duration: 09:20)
test 0350...[FTP root dir list multicwd]
--pd---emv- OK (336 out of 1250, remaining: 25:27, took 1.2s, duration: 09:21)
test 0351...[FTP root dir list nocwd]
--pd---emv- OK (337 out of 1250, remaining: 25:24, took 1.2s, duration: 09:22)
test 0352...[FTP root dir list singlecwd]
--pd---emv- OK (338 out of 1250, remaining: 25:21, took 1.2s, duration: 09:24)
test 0353...[FTP home dir list singlecwd]
--pd---emv- OK (339 out of 1250, remaining: 25:19, took 1.2s, duration: 09:25)
test 0354...[FTP without password]
--pd---emv- OK (340 out of 1250, remaining: 25:16, took 1.3s, duration: 09:26)
test 0355 SKIPPED: curl lacks alt-svc support
test 0356 SKIPPED: curl lacks alt-svc support
test 0393...[HTTP max-filesize and out-of-range Content-Length]
--p----emv- OK (343 out of 1250, remaining: 25:01, took 1.2s, duration: 09:27)
test 0394...[HTTP with rubbish in Content-Length]
--p----emv- OK (344 out of 1250, remaining: 24:58, took 1.2s, duration: 09:28)
test 0395...[HTTP and out-of-range Content-Length]
--p----emv- OK (345 out of 1250, remaining: 24:55, took 1.2s, duration: 09:30)
test 0400...[FTPS dir list PASV unencrypted data]
goto problem 22
valgrind ERROR ==20225== Invalid read of size 8
==20225== at 0x53315A5: check_free (dlerror.c:188)
==20225== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20225== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20225== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20225== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20225== by 0x4D60EB9: exit (exit.c:139)
==20225== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20225== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
==20225== Invalid free() / delete / delete[] / realloc()
==20225== at 0x48369AB: free (vg_replace_malloc.c:540)
==20225== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20225== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20225== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20225== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20225== by 0x4D60EB9: exit (exit.c:139)
==20225== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20225== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
==20225== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
== Contents of files in the log/ dir after test 400
=== Start of file curl400.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl400.out
=== Start of file ftp_server.log
03:01:03.273147 ====> Client connect
03:01:03.273278 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:03.273713 < "USER anonymous"
03:01:03.273758 > "331 We are happy you popped in![CR][LF]"
03:01:03.274140 < "PASS ftp@example.com"
03:01:03.274182 > "230 Welcome you silly person[CR][LF]"
03:01:03.274560 < "PBSZ 0"
03:01:03.274602 > "500 PBSZ not implemented[CR][LF]"
03:01:03.274928 < "PROT C"
03:01:03.274974 > "500 PROT not implemented[CR][LF]"
03:01:03.275275 < "PWD"
03:01:03.275315 > "257 "/" is current directory[CR][LF]"
03:01:03.275663 < "EPSV"
03:01:03.275715 ====> Passive DATA channel requested by client
03:01:03.275738 DATA sockfilt for passive data channel starting...
03:01:03.277579 DATA sockfilt for passive data channel started (pid 20220)
03:01:03.277659 DATA sockfilt for passive data channel listens on port 32971
03:01:03.277698 > "229 Entering Passive Mode (|||32971|)[LF]"
03:01:03.277719 Client has been notified that DATA conn will be accepted on port 32971
03:01:03.277954 Client connects to port 32971
03:01:03.277993 ====> Client established passive DATA connection on port 32971
03:01:03.278078 < "TYPE I"
03:01:03.278106 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:03.278277 < "SIZE verifiedserver"
03:01:03.278310 > "213 17[CR][LF]"
03:01:03.278522 < "RETR verifiedserver"
03:01:03.278572 > "150 Binary junk (17 bytes).[CR][LF]"
03:01:03.278657 =====> Closing passive DATA connection...
03:01:03.278692 Server disconnects passive DATA connection
03:01:03.278810 DATA sockfilt for passive data channel quits (pid 20221)
03:01:03.278833 =====> Closed passive DATA connection
03:01:03.278863 > "226 File transfer complete[CR][LF]"
03:01:03.320269 < "QUIT"
03:01:03.320364 > "221 bye bye baby[CR][LF]"
03:01:03.320910 MAIN sockfilt said DISC
03:01:03.320994 ====> Client disconnected
03:01:03.321112 Awaiting input
03:01:07.360417 ====> Client connect
03:01:07.360520 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:07.448195 < "USER anonymous"
03:01:07.448250 > "331 We are happy you popped in![CR][LF]"
03:01:07.459484 < "PASS ftp@example.com"
03:01:07.459540 > "230 Welcome you silly person[CR][LF]"
03:01:07.461827 < "PBSZ 0"
03:01:07.461857 > "500 PBSZ not implemented[CR][LF]"
03:01:07.463273 < "PROT C"
03:01:07.463303 > "500 PROT not implemented[CR][LF]"
03:01:07.464745 < "PWD"
03:01:07.464774 > "257 "/" is current directory[CR][LF]"
03:01:07.471296 < "EPSV"
03:01:07.471321 ====> Passive DATA channel requested by client
03:01:07.471332 DATA sockfilt for passive data channel starting...
03:01:07.472825 DATA sockfilt for passive data channel started (pid 20228)
03:01:07.472944 DATA sockfilt for passive data channel listens on port 38731
03:01:07.472978 > "229 Entering Passive Mode (|||38731|)[LF]"
03:01:07.472996 Client has been notified that DATA conn will be accepted on port 38731
03:01:07.480152 Client connects to port 38731
03:01:07.480175 ====> Client established passive DATA connection on port 38731
03:01:07.485935 < "TYPE A"
03:01:07.485972 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:07.488176 < "LIST"
03:01:07.488210 > "150 here comes a directory[CR][LF]"
03:01:07.488236 pass LIST data on data connection
03:01:07.488314 =====> Closing passive DATA connection...
03:01:07.488329 Server disconnects passive DATA connection
03:01:07.488804 DATA sockfilt for passive data channel quits (pid 20229)
03:01:07.488822 =====> Closed passive DATA connection
03:01:07.488845 > "226 ASCII transfer complete[CR][LF]"
03:01:07.572593 < "QUIT"
03:01:07.572637 > "221 bye bye baby[CR][LF]"
03:01:07.576840 MAIN sockfilt said DISC
03:01:07.576872 ====> Client disconnected
03:01:07.576923 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:03.373847 ====> Client connect
03:01:03.374077 Received DATA (on stdin)
03:01:03.374099 > 160 bytes data, server => client
03:01:03.374119 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:03.374135 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:03.374150 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:03.374408 < 16 bytes data, client => server
03:01:03.374421 'USER anonymous\r\n'
03:01:03.374565 Received DATA (on stdin)
03:01:03.374582 > 33 bytes data, server => client
03:01:03.374597 '331 We are happy you popped in!\r\n'
03:01:03.374873 < 22 bytes data, client => server
03:01:03.374891 'PASS ftp@example.com\r\n'
03:01:03.374988 Received DATA (on stdin)
03:01:03.375004 > 30 bytes data, server => client
03:01:03.375019 '230 Welcome you silly person\r\n'
03:01:03.375294 < 8 bytes data, client => server
03:01:03.375311 'PBSZ 0\r\n'
03:01:03.375408 Received DATA (on stdin)
03:01:03.375422 > 26 bytes data, server => client
03:01:03.375439 '500 PBSZ not implemented\r\n'
03:01:03.375680 < 8 bytes data, client => server
03:01:03.375696 'PROT C\r\n'
03:01:03.375778 Received DATA (on stdin)
03:01:03.375795 > 26 bytes data, server => client
03:01:03.375810 '500 PROT not implemented\r\n'
03:01:03.376024 < 5 bytes data, client => server
03:01:03.376041 'PWD\r\n'
03:01:03.376123 Received DATA (on stdin)
03:01:03.376141 > 30 bytes data, server => client
03:01:03.376155 '257 "/" is current directory\r\n'
03:01:03.376395 < 6 bytes data, client => server
03:01:03.376407 'EPSV\r\n'
03:01:03.378503 Received DATA (on stdin)
03:01:03.378523 > 38 bytes data, server => client
03:01:03.378536 '229 Entering Passive Mode (|||32971|)\n'
03:01:03.378839 < 8 bytes data, client => server
03:01:03.378854 'TYPE I\r\n'
03:01:03.378913 Received DATA (on stdin)
03:01:03.378923 > 33 bytes data, server => client
03:01:03.378934 '200 I modify TYPE as you wanted\r\n'
03:01:03.379050 < 21 bytes data, client => server
03:01:03.379063 'SIZE verifiedserver\r\n'
03:01:03.379117 Received DATA (on stdin)
03:01:03.379126 > 8 bytes data, server => client
03:01:03.379135 '213 17\r\n'
03:01:03.379272 < 21 bytes data, client => server
03:01:03.379311 'RETR verifiedserver\r\n'
03:01:03.379383 Received DATA (on stdin)
03:01:03.379413 > 29 bytes data, server => client
03:01:03.379438 '150 Binary junk (17 bytes).\r\n'
03:01:03.379670 Received DATA (on stdin)
03:01:03.379690 > 28 bytes data, server => client
03:01:03.379708 '226 File transfer complete\r\n'
03:01:03.420861 < 6 bytes data, client => server
03:01:03.420944 'QUIT\r\n'
03:01:03.421194 Received DATA (on stdin)
03:01:03.421253 > 18 bytes data, server => client
03:01:03.421282 '221 bye bye baby\r\n'
03:01:03.421628 ====> Client disconnect
03:01:07.461144 ====> Client connect
03:01:07.461322 Received DATA (on stdin)
03:01:07.461335 > 160 bytes data, server => client
03:01:07.461347 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:07.461359 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:07.461369 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:07.548872 < 16 bytes data, client => server
03:01:07.548911 'USER anonymous\r\n'
03:01:07.549053 Received DATA (on stdin)
03:01:07.549073 > 33 bytes data, server => client
03:01:07.549090 '331 We are happy you popped in!\r\n'
03:01:07.560165 < 22 bytes data, client => server
03:01:07.560204 'PASS ftp@example.com\r\n'
03:01:07.560346 Received DATA (on stdin)
03:01:07.560364 > 30 bytes data, server => client
03:01:07.560380 '230 Welcome you silly person\r\n'
03:01:07.562583 < 8 bytes data, client => server
03:01:07.562609 'PBSZ 0\r\n'
03:01:07.562683 Received DATA (on stdin)
03:01:07.562706 > 26 bytes data, server => client
03:01:07.562721 '500 PBSZ not implemented\r\n'
03:01:07.564042 < 8 bytes data, client => server
03:01:07.564065 'PROT C\r\n'
03:01:07.564130 Received DATA (on stdin)
03:01:07.564153 > 26 bytes data, server => client
03:01:07.564168 '500 PROT not implemented\r\n'
03:01:07.565519 < 5 bytes data, client => server
03:01:07.565541 'PWD\r\n'
03:01:07.565602 Received DATA (on stdin)
03:01:07.565635 > 30 bytes data, server => client
03:01:07.565651 '257 "/" is current directory\r\n'
03:01:07.572060 < 6 bytes data, client => server
03:01:07.572083 'EPSV\r\n'
03:01:07.573805 Received DATA (on stdin)
03:01:07.573829 > 38 bytes data, server => client
03:01:07.573845 '229 Entering Passive Mode (|||38731|)\n'
03:01:07.586670 < 8 bytes data, client => server
03:01:07.586700 'TYPE A\r\n'
03:01:07.586800 Received DATA (on stdin)
03:01:07.586823 > 33 bytes data, server => client
03:01:07.586839 '200 I modify TYPE as you wanted\r\n'
03:01:07.588903 < 6 bytes data, client => server
03:01:07.588926 'LIST\r\n'
03:01:07.589039 Received DATA (on stdin)
03:01:07.589062 > 28 bytes data, server => client
03:01:07.589081 '150 here comes a directory\r\n'
03:01:07.589655 Received DATA (on stdin)
03:01:07.589673 > 29 bytes data, server => client
03:01:07.589687 '226 ASCII transfer complete\r\n'
03:01:07.673276 < 6 bytes data, client => server
03:01:07.673309 'QUIT\r\n'
03:01:07.673465 Received DATA (on stdin)
03:01:07.673488 > 18 bytes data, server => client
03:01:07.673503 '221 bye bye baby\r\n'
03:01:07.677596 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:03.378250 Running IPv4 version
03:01:03.378322 Listening on port 32971
03:01:03.378349 Wrote pid 20221 to ./.ftp_sockdata.pid
03:01:03.378364 Received PING (on stdin)
03:01:03.378417 Received PORT (on stdin)
03:01:03.378720 ====> Client connect
03:01:03.379419 Received DATA (on stdin)
03:01:03.379445 > 17 bytes data, server => client
03:01:03.379462 'WE ROOLZ: 19436\r\n'
03:01:03.379549 Received DISC (on stdin)
03:01:03.379579 ====> Client forcibly disconnected
03:01:03.379621 Received QUIT (on stdin)
03:01:03.379645 quits
03:01:03.379676 ============> sockfilt quits
03:01:07.573491 Running IPv4 version
03:01:07.573552 Listening on port 38731
03:01:07.573593 Wrote pid 20229 to ./.ftp_sockdata.pid
03:01:07.573608 Received PING (on stdin)
03:01:07.573688 Received PORT (on stdin)
03:01:07.580928 ====> Client connect
03:01:07.589077 Received DATA (on stdin)
03:01:07.589101 > 10 bytes data, server => client
03:01:07.589117 'total 20\r\n'
03:01:07.589143 Received DATA (on stdin)
03:01:07.589153 > 57 bytes data, server => client
03:01:07.589166 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:07.589182 Received DATA (on stdin)
03:01:07.589192 > 58 bytes data, server => client
03:01:07.589204 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:07.589219 Received DATA (on stdin)
03:01:07.589228 > 61 bytes data, server => client
03:01:07.589241 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:07.589248 '\n'
03:01:07.589262 Received DATA (on stdin)
03:01:07.589272 > 62 bytes data, server => client
03:01:07.589284 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:07.589291 '\n'
03:01:07.589305 Received DATA (on stdin)
03:01:07.589314 > 70 bytes data, server => client
03:01:07.589326 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:07.589335 'usr/bin\r\n'
03:01:07.589350 Received DATA (on stdin)
03:01:07.589359 > 59 bytes data, server => client
03:01:07.589371 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:07.589386 Received DATA (on stdin)
03:01:07.589395 > 69 bytes data, server => client
03:01:07.589407 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:07.589415 'd.html\r\n'
03:01:07.589429 Received DATA (on stdin)
03:01:07.589439 > 59 bytes data, server => client
03:01:07.589451 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:07.589465 Received DATA (on stdin)
03:01:07.589474 > 59 bytes data, server => client
03:01:07.589486 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:07.589501 Received DATA (on stdin)
03:01:07.589510 > 59 bytes data, server => client
03:01:07.589522 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:07.589537 Received DISC (on stdin)
03:01:07.589548 ====> Client forcibly disconnected
03:01:07.589572 Received QUIT (on stdin)
03:01:07.589583 quits
03:01:07.589598 ============> sockfilt quits
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.13 03:01:02 LOG5[20216]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:01:02 LOG5[20216]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:01:02 LOG5[20216]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:01:02 LOG5[20216]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:01:02 LOG5[20216]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:01:02 LOG5[20216]: Reading configuration from file /build-17378/tests/ftps_stunnel.conf
2019.08.13 03:01:02 LOG5[20216]: FIPS mode disabled
2019.08.13 03:01:02 LOG5[20216]: Configuration successful
2019.08.13 03:01:03 LOG5[20219]: Service [curltest] accepted connection from 127.0.0.1:41168
2019.08.13 03:01:03 LOG5[20219]: s_connect: connected 127.0.0.1:8992
2019.08.13 03:01:03 LOG5[20219]: Service [curltest] connected remote server from 127.0.0.1:58362
2019.08.13 03:01:03 LOG5[20219]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.13 03:01:05 LOG5[20226]: Service [curltest] accepted connection from 127.0.0.1:41174
2019.08.13 03:01:07 LOG5[20226]: s_connect: connected 127.0.0.1:8992
2019.08.13 03:01:07 LOG5[20226]: Service [curltest] connected remote server from 127.0.0.1:58368
2019.08.13 03:01:07 LOG5[20226]: 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 0x563b58252798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x563b58252798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x563b58252798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x563b58268370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x563b58252798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x563b58268370 (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 0x563b58268370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x563b58268370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x563b58268370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x563b58268370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x563b58268370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x563b58252798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x563b58268370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x563b58252798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||32971|)
* Trying 127.0.0.1:32971...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 32971
* FTP 0x563b58268370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x563b58252798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x563b58268370 (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 0x563b58268370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x563b58268370 (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 0x563b58268370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x563b58252798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x563b58252798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x563b58252798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x563b58252798)
=== 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 273 0 --:--:-- 0:00:02 --:--:-- 283
=== End of file stderr400
=== Start of file trace400
03:01:05.357131 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:05.413094 == Info: Added connection 0. The cache now contains 1 members
03:01:05.431524 == Info: Trying 127.0.0.1:8993...
03:01:05.432160 == Info: TCP_NODELAY set
03:01:05.437432 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:05.449457 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:05.450044 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:05.451142 == Info: Marked for [keep alive]: FTP default
03:01:06.936675 == Info: successfully set certificate verify locations:
03:01:06.936930 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:07.050122 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:07.055165 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:07.055222 => Send SSL data, 126 bytes (0x7e)
0000: ...z...9...)Z^s..Y.i.l..a\...P....tK......+./.,.0...............
0040: ../.5.....3...................................................
03:01:07.071932 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:07.077498 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:07.077553 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...3....-..x&.....-\%E@.Hp.D..J... v..0I,... 1.....cZ#..L...
0040: .....'_./................
03:01:07.123483 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.123965 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:07.124020 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:07.222503 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:07.222764 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:07.222817 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P......X~.x@.S).}O....6..e.Ku.SL1_......<.u.....S.<#!..,\.
0080: ..[7F].1.{p.G...qu.l.....B..N..L.l.v(m.atn.........r.../....^f!c. .
00c0: .&...6..[7F].../...).%......Hg..*Y...l..t....q..m..X....D..wPrLB7.8
0100: ..-......u.....!o.........U..].....*g..Q...p.M...3Q......}..U..k
0140: ..2..m.oA....
03:01:07.296708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.297053 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:07.297110 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:07.413367 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:07.413611 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:07.413665 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Y.l|....C...=.&!...`........9.<j.L........*3*W.M_....U.uI.
0040: m...F.
03:01:07.425639 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.426220 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:07.426275 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:07.447468 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:07.447528 => Send SSL data, 16 bytes (0x10)
0000: .....k......#...
03:01:07.460278 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.462874 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.464006 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:07.464066 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:07.466572 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.472390 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:07.472443 <= Recv SSL data, 16 bytes (0x10)
0000: ....>S..>.?..W.k
03:01:07.500781 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:07.503173 == Info: Server certificate:
03:01:07.510680 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:07.516802 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:07.517741 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:07.518675 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:07.519563 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:07.521051 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:07.527295 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:07.534952 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:07.538588 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:07.538786 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:07.538975 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:07.539163 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:07.547150 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:07.550366 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:07.551142 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:07.551901 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:07.558006 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:07.558704 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:07.559984 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.560124 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:07.560531 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:07.561562 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:07.561712 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:07.562411 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:07.562532 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:07.562911 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:07.563212 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:07.563351 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:07.563888 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:07.564004 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:07.564333 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:07.564583 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:07.564718 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:07.565374 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.565487 => Send header, 5 bytes (0x5)
0000: PWD
03:01:07.565801 == Info: FTP 0x57410b0 (line 804) state change from PROT to PWD
03:01:07.566116 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:07.566251 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:07.567363 == Info: Entry path is '/'
03:01:07.567586 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:07.567750 == Info: protocol connect phase DONE
03:01:07.568003 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:07.569885 == Info: DO phase starts
03:01:07.571872 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.571994 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:07.572336 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:07.572507 == Info: Connect data stream passively
03:01:07.573296 == Info: ftp_perform ends with SECONDARY: 0
03:01:07.574078 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:07.574978 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:07.575134 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||38731|).
03:01:07.580747 == Info: Trying 127.0.0.1:38731...
03:01:07.580809 == Info: TCP_NODELAY set
03:01:07.581586 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 38731
03:01:07.583078 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:07.583748 == Info: DO phase is complete2
03:01:07.584197 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:07.584913 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:07.585126 == Info: DO-MORE connected phase starts
03:01:07.586494 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:07.586627 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:07.586970 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:07.587350 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:07.587494 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:07.588716 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:07.588839 => Send header, 6 bytes (0x6)
0000: LIST
03:01:07.589412 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:07.591049 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:07.591196 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:07.591796 == Info: Maxdownload = -1
03:01:07.593126 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:07.593831 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:07.594219 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:07.597645 <= 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:07.606383 == Info: nread <= 0, server closed connection, bailing
03:01:07.607552 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:07.607882 == Info: multi_done
03:01:07.611165 == Info: Remembering we are in dir ""
03:01:07.632879 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:07.633249 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:07.643531 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:07.645924 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace400
=== Start of file valgrind400
==20225== Invalid read of size 8
==20225== at 0x53315A5: check_free (dlerror.c:188)
==20225== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20225== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20225== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20225== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20225== by 0x4D60EB9: exit (exit.c:139)
==20225== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20225== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
==20225== Invalid free() / delete / delete[] / realloc()
==20225== at 0x48369AB: free (vg_replace_malloc.c:540)
==20225== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20225== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20225== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20225== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20225== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20225== by 0x4D60EB9: exit (exit.c:139)
==20225== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20225== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
==20225== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20225== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20225== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20225== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20225== by 0x24B104: err_get_state (err.c:210)
==20225== by 0x24BCDA: ERR_put_error (err.c:636)
==20225== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20225== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20225== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20225== by 0x270326: by_file_ctrl (by_file.c:111)
==20225== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20225== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20225== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20225== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20225== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20225== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20225== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20225==
=== End of file valgrind400
test 0401...[FTPS PASV upload file]
goto problem 23
valgrind ERROR ==20232== Invalid read of size 8
==20232== at 0x53315A5: check_free (dlerror.c:188)
==20232== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20232== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4D60EB9: exit (exit.c:139)
==20232== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20232== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== Invalid free() / delete / delete[] / realloc()
==20232== at 0x48369AB: free (vg_replace_malloc.c:540)
==20232== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20232== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4D60EB9: exit (exit.c:139)
==20232== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20232== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
== Contents of files in the log/ dir after test 401
=== Start of file ftp_server.log
03:01:10.761495 ====> Client connect
03:01:10.761622 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:10.849742 < "USER anonymous"
03:01:10.849799 > "331 We are happy you popped in![CR][LF]"
03:01:10.860711 < "PASS ftp@example.com"
03:01:10.860752 > "230 Welcome you silly person[CR][LF]"
03:01:10.863102 < "PBSZ 0"
03:01:10.863140 > "500 PBSZ not implemented[CR][LF]"
03:01:10.864537 < "PROT C"
03:01:10.864575 > "500 PROT not implemented[CR][LF]"
03:01:10.866091 < "PWD"
03:01:10.866136 > "257 "/" is current directory[CR][LF]"
03:01:10.873373 < "EPSV"
03:01:10.873410 ====> Passive DATA channel requested by client
03:01:10.873431 DATA sockfilt for passive data channel starting...
03:01:10.874951 DATA sockfilt for passive data channel started (pid 20235)
03:01:10.875094 DATA sockfilt for passive data channel listens on port 36521
03:01:10.875143 > "229 Entering Passive Mode (|||36521|)[LF]"
03:01:10.875167 Client has been notified that DATA conn will be accepted on port 36521
03:01:10.882460 Client connects to port 36521
03:01:10.882497 ====> Client established passive DATA connection on port 36521
03:01:10.887372 < "TYPE I"
03:01:10.887417 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:10.889677 < "STOR 401"
03:01:10.889707 STOR test number 401 in log/upload.401
03:01:10.889739 > "125 Gimme gimme gimme![CR][LF]"
03:01:10.898561 > Appending 52 bytes to file
03:01:10.908939 =====> Closing passive DATA connection...
03:01:10.908977 Server knows passive DATA connection is already disconnected
03:01:10.909041 DATA sockfilt for passive data channel quits (pid 20236)
03:01:10.909065 =====> Closed passive DATA connection
03:01:10.909089 received 52 bytes upload
03:01:10.909132 > "226 File transfer complete[CR][LF]"
03:01:10.963247 < "QUIT"
03:01:10.963304 > "221 bye bye baby[CR][LF]"
03:01:10.969812 MAIN sockfilt said DISC
03:01:10.969873 ====> Client disconnected
03:01:10.969934 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:10.862215 ====> Client connect
03:01:10.862423 Received DATA (on stdin)
03:01:10.862437 > 160 bytes data, server => client
03:01:10.862451 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:10.862463 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:10.862473 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:10.950407 < 16 bytes data, client => server
03:01:10.950444 'USER anonymous\r\n'
03:01:10.950603 Received DATA (on stdin)
03:01:10.950614 > 33 bytes data, server => client
03:01:10.950625 '331 We are happy you popped in!\r\n'
03:01:10.961460 < 22 bytes data, client => server
03:01:10.961476 'PASS ftp@example.com\r\n'
03:01:10.961557 Received DATA (on stdin)
03:01:10.961568 > 30 bytes data, server => client
03:01:10.961579 '230 Welcome you silly person\r\n'
03:01:10.963854 < 8 bytes data, client => server
03:01:10.963868 'PBSZ 0\r\n'
03:01:10.963945 Received DATA (on stdin)
03:01:10.963954 > 26 bytes data, server => client
03:01:10.963964 '500 PBSZ not implemented\r\n'
03:01:10.965291 < 8 bytes data, client => server
03:01:10.965303 'PROT C\r\n'
03:01:10.965401 Received DATA (on stdin)
03:01:10.965425 > 26 bytes data, server => client
03:01:10.965440 '500 PROT not implemented\r\n'
03:01:10.966845 < 5 bytes data, client => server
03:01:10.966868 'PWD\r\n'
03:01:10.966961 Received DATA (on stdin)
03:01:10.966985 > 30 bytes data, server => client
03:01:10.967000 '257 "/" is current directory\r\n'
03:01:10.974126 < 6 bytes data, client => server
03:01:10.974149 'EPSV\r\n'
03:01:10.975966 Received DATA (on stdin)
03:01:10.975991 > 38 bytes data, server => client
03:01:10.976007 '229 Entering Passive Mode (|||36521|)\n'
03:01:10.988109 < 8 bytes data, client => server
03:01:10.988133 'TYPE I\r\n'
03:01:10.988242 Received DATA (on stdin)
03:01:10.988266 > 33 bytes data, server => client
03:01:10.988282 '200 I modify TYPE as you wanted\r\n'
03:01:10.990432 < 10 bytes data, client => server
03:01:10.990455 'STOR 401\r\n'
03:01:10.990566 Received DATA (on stdin)
03:01:10.990595 > 24 bytes data, server => client
03:01:10.990610 '125 Gimme gimme gimme!\r\n'
03:01:11.009938 Received DATA (on stdin)
03:01:11.009964 > 28 bytes data, server => client
03:01:11.009975 '226 File transfer complete\r\n'
03:01:11.063938 < 6 bytes data, client => server
03:01:11.063981 'QUIT\r\n'
03:01:11.064130 Received DATA (on stdin)
03:01:11.064153 > 18 bytes data, server => client
03:01:11.064168 '221 bye bye baby\r\n'
03:01:11.070548 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:10.975615 Running IPv4 version
03:01:10.975689 Listening on port 36521
03:01:10.975718 Wrote pid 20236 to ./.ftp_sockdata.pid
03:01:10.975733 Received PING (on stdin)
03:01:10.975823 Received PORT (on stdin)
03:01:10.983235 ====> Client connect
03:01:10.999317 < 52 bytes data, client => server
03:01:10.999353 'data\n to\n see\nthat FTPS\nworks\n so does it?\n'
03:01:11.009598 ====> Client disconnect
03:01:11.009837 Received QUIT (on stdin)
03:01:11.009860 quits
03:01:11.009881 ============> 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
100 52 0 0 100 52 0 22 0:00:02 0:00:02 --:--:-- 23
=== End of file stderr401
=== Start of file test401.txt
data
to
see
that FTPS
works
so does it?
=== End of file test401.txt
=== Start of file trace401
03:01:08.752978 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:08.806887 == Info: Added connection 0. The cache now contains 1 members
03:01:08.825055 == Info: Trying 127.0.0.1:8993...
03:01:08.825671 == Info: TCP_NODELAY set
03:01:08.830934 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:08.842715 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:08.843298 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:08.844480 == Info: Marked for [keep alive]: FTP default
03:01:10.341171 == Info: successfully set certificate verify locations:
03:01:10.341434 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:10.457508 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:10.462556 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:10.462614 => Send SSL data, 126 bytes (0x7e)
0000: ...z..jX..1 .%...x.}..0.......!..8G[......+./.,.0...............
0040: ../.5.....3...................................................
03:01:10.479792 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:10.485463 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:10.485527 <= Recv SSL data, 89 bytes (0x59)
0000: ...U.......0.@:..v..H..<"..#.i]......F %.~....R0....-[7F].P...RI7.d
0040: ....Z`../................
03:01:10.530341 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:10.530811 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:10.530865 <= 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:10.629742 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:10.630012 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:10.630066 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P.........b...>...?8...a.V.....N.7h..".C......... }...y.V<
0080: .v..{I].._.%...m....;.pq........G.g9.#..6.1..>A.........I.....4o
00c0: W..K+...J.LB?4.@`.z:jw.....v..g.F...(J.l7xo[7F]<d,B.Kw...\.....\..P
0100: .....[.M.N.5.b....ok.....&..bf.N..}5:j.[z.3v.(.-.Y.....+.......?
0140: .C...q.=.DO.+
03:01:10.699325 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:10.699658 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:10.699716 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:10.814803 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:10.815047 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:10.815103 => Send SSL data, 70 bytes (0x46)
0000: ...BA..[7F].....dT.F.....2......J.....wYz*j.zC.....p..|.6.5.,.a.}..
0040: ..s.^.
03:01:10.827003 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:10.827580 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:10.827636 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:10.848893 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:10.848950 => Send SSL data, 16 bytes (0x10)
0000: .....@M.g2j..o..
03:01:10.861410 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:10.863969 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:10.865059 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:10.865119 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:10.867554 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:10.873245 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:10.873316 <= Recv SSL data, 16 bytes (0x10)
0000: .....u.....H....
03:01:10.903201 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:10.905478 == Info: Server certificate:
03:01:10.912925 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:10.919099 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:10.920050 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:10.921045 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:10.921909 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:10.923389 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:10.929347 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:10.937037 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:10.940568 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:10.940758 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:10.940939 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:10.941118 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:10.948759 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:10.951755 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:10.952538 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:10.953316 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:10.959417 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:10.960082 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:10.961326 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:10.961443 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:10.961869 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:10.962876 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:10.963018 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:10.963718 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:10.963843 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:10.964215 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:10.964502 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:10.964639 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:10.965168 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:10.965282 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:10.965657 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:10.965895 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:10.966032 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:10.966683 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:10.966799 => Send header, 5 bytes (0x5)
0000: PWD
03:01:10.967157 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:10.967475 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:10.967613 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:10.968733 == Info: Entry path is '/'
03:01:10.968954 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:10.969120 == Info: protocol connect phase DONE
03:01:10.969366 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:10.971968 == Info: DO phase starts
03:01:10.973962 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:10.974080 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:10.974524 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:10.974733 == Info: Connect data stream passively
03:01:10.975540 == Info: ftp_perform ends with SECONDARY: 0
03:01:10.976340 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:10.977240 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:10.977394 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||36521|).
03:01:10.983049 == Info: Trying 127.0.0.1:36521...
03:01:10.983114 == Info: TCP_NODELAY set
03:01:10.983845 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 36521
03:01:10.984954 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:10.985584 == Info: DO phase is complete2
03:01:10.986010 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:10.986720 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:10.986934 == Info: DO-MORE connected phase starts
03:01:10.987943 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:10.988063 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:10.988462 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:10.988839 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:10.988980 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:10.990270 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:10.990389 => Send header, 10 bytes (0xa)
0000: STOR 401
03:01:10.990782 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:10.992492 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:10.992633 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:10.994418 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:10.995127 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:10.995560 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:10.999991 => Send data, 52 bytes (0x34)
0000: data. to. see.that FTPS.works. so does it?.
03:01:11.000790 == Info: We are completely uploaded and fine
03:01:11.004709 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:11.005069 == Info: multi_done
03:01:11.007985 == Info: Remembering we are in dir ""
03:01:11.036293 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:11.036494 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:11.041931 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:11.043802 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace401
=== Start of file upload.401
data
to
see
that FTPS
works
so does it?
=== End of file upload.401
=== Start of file valgrind401
==20232== Invalid read of size 8
==20232== at 0x53315A5: check_free (dlerror.c:188)
==20232== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20232== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4D60EB9: exit (exit.c:139)
==20232== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20232== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== Invalid free() / delete / delete[] / realloc()
==20232== at 0x48369AB: free (vg_replace_malloc.c:540)
==20232== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20232== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20232== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20232== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20232== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20232== by 0x4D60EB9: exit (exit.c:139)
==20232== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20232== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
==20232== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20232== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20232== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20232== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20232== by 0x24B104: err_get_state (err.c:210)
==20232== by 0x24BCDA: ERR_put_error (err.c:636)
==20232== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20232== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20232== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20232== by 0x270326: by_file_ctrl (by_file.c:111)
==20232== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20232== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20232== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20232== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20232== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20232== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20232== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20232==
=== End of file valgrind401
test 0402...[FTP SSL required on non-SSL server]
--p----emv- OK (348 out of 1250, remaining: 25:03, took 1.2s, duration: 09:40)
test 0403...[FTPS with CCC not supported by server]
goto problem 24
valgrind ERROR ==20242== Invalid read of size 8
==20242== at 0x53315A5: check_free (dlerror.c:188)
==20242== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20242== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20242== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20242== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20242== by 0x4D60EB9: exit (exit.c:139)
==20242== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20242== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
==20242== Invalid free() / delete / delete[] / realloc()
==20242== at 0x48369AB: free (vg_replace_malloc.c:540)
==20242== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20242== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20242== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20242== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20242== by 0x4D60EB9: exit (exit.c:139)
==20242== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20242== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
==20242== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
== Contents of files in the log/ dir after test 403
=== Start of file curl403.out
total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
=== End of file curl403.out
=== Start of file ftp_server.log
03:01:15.282232 ====> Client connect
03:01:15.282349 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:15.368925 < "USER anonymous"
03:01:15.368971 > "331 We are happy you popped in![CR][LF]"
03:01:15.379742 < "PASS ftp@example.com"
03:01:15.379773 > "230 Welcome you silly person[CR][LF]"
03:01:15.382045 < "PBSZ 0"
03:01:15.382076 > "500 PBSZ not implemented[CR][LF]"
03:01:15.383437 < "PROT C"
03:01:15.383468 > "500 PROT not implemented[CR][LF]"
03:01:15.384867 < "CCC"
03:01:15.384886 CCC wasn't handled
03:01:15.384908 > "500 CCC is not dealt with![CR][LF]"
03:01:15.386207 < "PWD"
03:01:15.386240 > "257 "/" is current directory[CR][LF]"
03:01:15.392856 < "EPSV"
03:01:15.392885 ====> Passive DATA channel requested by client
03:01:15.392898 DATA sockfilt for passive data channel starting...
03:01:15.394469 DATA sockfilt for passive data channel started (pid 20244)
03:01:15.394564 DATA sockfilt for passive data channel listens on port 34539
03:01:15.394604 > "229 Entering Passive Mode (|||34539|)[LF]"
03:01:15.394626 Client has been notified that DATA conn will be accepted on port 34539
03:01:15.401952 Client connects to port 34539
03:01:15.402033 ====> Client established passive DATA connection on port 34539
03:01:15.407230 < "TYPE A"
03:01:15.407273 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:15.409377 < "LIST"
03:01:15.409408 > "150 here comes a directory[CR][LF]"
03:01:15.409442 pass LIST data on data connection
03:01:15.409554 =====> Closing passive DATA connection...
03:01:15.409578 Server disconnects passive DATA connection
03:01:15.410020 DATA sockfilt for passive data channel quits (pid 20245)
03:01:15.410043 =====> Closed passive DATA connection
03:01:15.410076 > "226 ASCII transfer complete[CR][LF]"
03:01:15.491005 < "QUIT"
03:01:15.491051 > "221 bye bye baby[CR][LF]"
03:01:15.495209 MAIN sockfilt said DISC
03:01:15.495236 ====> Client disconnected
03:01:15.495283 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:15.382957 ====> Client connect
03:01:15.383146 Received DATA (on stdin)
03:01:15.383169 > 160 bytes data, server => client
03:01:15.383190 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:15.383205 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:15.383216 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:15.469597 < 16 bytes data, client => server
03:01:15.469640 'USER anonymous\r\n'
03:01:15.469775 Received DATA (on stdin)
03:01:15.469795 > 33 bytes data, server => client
03:01:15.469812 '331 We are happy you popped in!\r\n'
03:01:15.480489 < 22 bytes data, client => server
03:01:15.480519 'PASS ftp@example.com\r\n'
03:01:15.480581 Received DATA (on stdin)
03:01:15.480599 > 30 bytes data, server => client
03:01:15.480615 '230 Welcome you silly person\r\n'
03:01:15.482795 < 8 bytes data, client => server
03:01:15.482822 'PBSZ 0\r\n'
03:01:15.482884 Received DATA (on stdin)
03:01:15.482902 > 26 bytes data, server => client
03:01:15.482918 '500 PBSZ not implemented\r\n'
03:01:15.484187 < 8 bytes data, client => server
03:01:15.484215 'PROT C\r\n'
03:01:15.484276 Received DATA (on stdin)
03:01:15.484295 > 26 bytes data, server => client
03:01:15.484310 '500 PROT not implemented\r\n'
03:01:15.485630 < 5 bytes data, client => server
03:01:15.485648 'CCC\r\n'
03:01:15.485716 Received DATA (on stdin)
03:01:15.485734 > 28 bytes data, server => client
03:01:15.485751 '500 CCC is not dealt with!\r\n'
03:01:15.486972 < 5 bytes data, client => server
03:01:15.486987 'PWD\r\n'
03:01:15.487047 Received DATA (on stdin)
03:01:15.487065 > 30 bytes data, server => client
03:01:15.487081 '257 "/" is current directory\r\n'
03:01:15.493605 < 6 bytes data, client => server
03:01:15.493634 'EPSV\r\n'
03:01:15.495407 Received DATA (on stdin)
03:01:15.495428 > 38 bytes data, server => client
03:01:15.495448 '229 Entering Passive Mode (|||34539|)\n'
03:01:15.507946 < 8 bytes data, client => server
03:01:15.507982 'TYPE A\r\n'
03:01:15.508077 Received DATA (on stdin)
03:01:15.508096 > 33 bytes data, server => client
03:01:15.508113 '200 I modify TYPE as you wanted\r\n'
03:01:15.510122 < 6 bytes data, client => server
03:01:15.510149 'LIST\r\n'
03:01:15.510215 Received DATA (on stdin)
03:01:15.510234 > 28 bytes data, server => client
03:01:15.510251 '150 here comes a directory\r\n'
03:01:15.510883 Received DATA (on stdin)
03:01:15.510904 > 29 bytes data, server => client
03:01:15.510916 '226 ASCII transfer complete\r\n'
03:01:15.591700 < 6 bytes data, client => server
03:01:15.591742 'QUIT\r\n'
03:01:15.591856 Received DATA (on stdin)
03:01:15.591875 > 18 bytes data, server => client
03:01:15.591891 '221 bye bye baby\r\n'
03:01:15.595997 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:15.495129 Running IPv4 version
03:01:15.495207 Listening on port 34539
03:01:15.495233 Wrote pid 20245 to ./.ftp_sockdata.pid
03:01:15.495248 Received PING (on stdin)
03:01:15.495313 Received PORT (on stdin)
03:01:15.502652 ====> Client connect
03:01:15.510289 Received DATA (on stdin)
03:01:15.510314 > 10 bytes data, server => client
03:01:15.510329 'total 20\r\n'
03:01:15.510359 Received DATA (on stdin)
03:01:15.510376 > 57 bytes data, server => client
03:01:15.510396 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:15.510421 Received DATA (on stdin)
03:01:15.510433 > 58 bytes data, server => client
03:01:15.510445 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:15.510460 Received DATA (on stdin)
03:01:15.510469 > 61 bytes data, server => client
03:01:15.510481 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:15.510488 '\n'
03:01:15.510502 Received DATA (on stdin)
03:01:15.510511 > 62 bytes data, server => client
03:01:15.510523 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:15.510530 '\n'
03:01:15.510544 Received DATA (on stdin)
03:01:15.510553 > 70 bytes data, server => client
03:01:15.510565 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:15.510573 'usr/bin\r\n'
03:01:15.510586 Received DATA (on stdin)
03:01:15.510595 > 59 bytes data, server => client
03:01:15.510607 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:15.510621 Received DATA (on stdin)
03:01:15.510630 > 69 bytes data, server => client
03:01:15.510642 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:15.510649 'd.html\r\n'
03:01:15.510663 Received DATA (on stdin)
03:01:15.510672 > 59 bytes data, server => client
03:01:15.510683 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:15.510697 Received DATA (on stdin)
03:01:15.510707 > 59 bytes data, server => client
03:01:15.510718 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:15.510733 Received DATA (on stdin)
03:01:15.510742 > 59 bytes data, server => client
03:01:15.510753 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:15.510767 Received DISC (on stdin)
03:01:15.510778 ====> Client forcibly disconnected
03:01:15.510805 Received QUIT (on stdin)
03:01:15.510818 quits
03:01:15.510840 ============> 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 276 0 --:--:-- 0:00:02 --:--:-- 286
=== End of file stderr403
=== Start of file trace403
03:01:13.303183 == Info: STATE: INIT => CONNECT handle 0x56c52c8; line 1362 (connection #-5000)
03:01:13.358144 == Info: Added connection 0. The cache now contains 1 members
03:01:13.376472 == Info: Trying 127.0.0.1:8993...
03:01:13.377119 == Info: TCP_NODELAY set
03:01:13.382595 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52c8; line 1418 (connection #0)
03:01:13.394560 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:13.395141 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52c8; line 1538 (connection #0)
03:01:13.396211 == Info: Marked for [keep alive]: FTP default
03:01:14.865949 == Info: successfully set certificate verify locations:
03:01:14.866206 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:14.979540 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:14.984592 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:14.984650 => Send SSL data, 126 bytes (0x7e)
0000: ...z..V6....y'[7F],.u/.wD..D...8.L-h...`.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:15.001435 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:15.007074 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:15.007133 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...*...l..N.?.4...S..&K...p..Do... 4.9b,3>....L...c...bI.V@.
0040: .6.L..../................
03:01:15.050678 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.051132 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:15.051186 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:01:15.149712 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:15.149976 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:15.150030 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P.......SQ.K.V..ZX0..\qR..H.....h.D.........X..\.u...s.P..
0080: H.d........:..>+.<p.[7F]...R(.T.x.B.=5...sz...(O.q...S..u..@.^<..i.
00c0: dX.........nn....A.+8.e.`..T.u.r...}..q.u..#Q...1.`.|g..<O..^...
0100: ?yi.0...._.._A.........L#<..0......1.k.' ....N.V...M...8c....d..
0140: ..5........=0
03:01:15.219301 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.219638 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:15.219695 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:15.335085 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:15.335330 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:15.335384 => Send SSL data, 70 bytes (0x46)
0000: ...BA......[....Pr.._...]3.Y.'...R.9.......9..+..R....H/..Y...x5
0040: \.,u_P
03:01:15.347380 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.347971 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:15.348027 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:15.369327 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:15.369383 => Send SSL data, 16 bytes (0x10)
0000: ..... E......vYs
03:01:15.381897 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.384903 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.386110 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:15.386169 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:15.388717 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.394357 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:15.394412 <= Recv SSL data, 16 bytes (0x10)
0000: .......e.0+.....
03:01:15.422600 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:15.424869 == Info: Server certificate:
03:01:15.432321 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:15.438428 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:15.439368 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:15.440295 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:15.441157 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:15.442634 == Info: FTP 0x57410b0 (line 3092) state change from STOP to WAIT220
03:01:15.448593 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:15.456275 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:15.459796 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:15.459984 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:15.460162 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:15.460338 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:15.467956 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:15.470856 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:15.471627 == Info: FTP 0x57410b0 (line 792) state change from WAIT220 to USER
03:01:15.472385 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52c8; line 1553 (connection #0)
03:01:15.478433 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:15.479088 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:15.480336 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.480453 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:15.480824 == Info: FTP 0x57410b0 (line 2520) state change from USER to PASS
03:01:15.481825 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:15.481965 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:15.482646 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.482762 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:15.483087 == Info: FTP 0x57410b0 (line 2496) state change from PASS to PBSZ
03:01:15.483371 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:15.483506 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:15.484038 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.484153 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:15.484508 == Info: FTP 0x57410b0 (line 2709) state change from PBSZ to PROT
03:01:15.484747 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:15.484883 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:15.485477 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.485590 => Send header, 5 bytes (0x5)
0000: CCC
03:01:15.485902 == Info: FTP 0x57410b0 (line 2728) state change from PROT to CCC
03:01:15.486139 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:15.486273 <= Recv header, 28 bytes (0x1c)
0000: 500 CCC is not dealt with
03:01:15.486848 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.486961 => Send header, 5 bytes (0x5)
0000: PWD
03:01:15.487272 == Info: FTP 0x57410b0 (line 804) state change from CCC to PWD
03:01:15.487587 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:15.487722 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:15.488840 == Info: Entry path is '/'
03:01:15.489061 == Info: FTP 0x57410b0 (line 2844) state change from PWD to STOP
03:01:15.489224 == Info: protocol connect phase DONE
03:01:15.489467 == Info: STATE: PROTOCONNECT => DO handle 0x56c52c8; line 1572 (connection #0)
03:01:15.491368 == Info: DO phase starts
03:01:15.493449 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.493569 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:15.493912 == Info: FTP 0x57410b0 (line 1330) state change from STOP to PASV
03:01:15.494083 == Info: Connect data stream passively
03:01:15.494850 == Info: ftp_perform ends with SECONDARY: 0
03:01:15.495559 == Info: STATE: DO => DOING handle 0x56c52c8; line 1614 (connection #0)
03:01:15.496468 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:15.496615 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||34539|).
03:01:15.502370 == Info: Trying 127.0.0.1:34539...
03:01:15.502475 == Info: TCP_NODELAY set
03:01:15.503285 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 34539
03:01:15.504428 == Info: FTP 0x57410b0 (line 1977) state change from PASV to STOP
03:01:15.505057 == Info: DO phase is complete2
03:01:15.505486 == Info: STATE: DOING => DO_MORE handle 0x56c52c8; line 1699 (connection #0)
03:01:15.506201 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:15.506415 == Info: DO-MORE connected phase starts
03:01:15.507744 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:15.507887 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:15.508226 == Info: FTP 0x57410b0 (line 3418) state change from STOP to LIST_TYPE
03:01:15.508609 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:15.508757 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:15.509972 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:15.510089 => Send header, 6 bytes (0x6)
0000: LIST
03:01:15.510626 == Info: FTP 0x57410b0 (line 1486) state change from LIST_TYPE to LIST
03:01:15.512222 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:15.512363 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:15.512952 == Info: Maxdownload = -1
03:01:15.514276 == Info: FTP 0x57410b0 (line 477) state change from LIST to STOP
03:01:15.514979 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52c8; line 1724 (connection #0)
03:01:15.515367 == Info: STATE: DO_DONE => PERFORM handle 0x56c52c8; line 1749 (connection #0)
03:01:15.518829 <= Recv data, 623 bytes (0x26f)
0000: total 20
000a: drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
0043: drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
007d: drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
00ba: -r--r--r-- 1 0 1 35 Jul 16 1996 README
00f8: lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr
0138: /bin
013e: dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
0179: drwxrwxrwx 2 98 98 512 May 29 16:04 download.h
01b9: tml
01be: dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
01f9: drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
0234: dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
03:01:15.527350 == Info: nread <= 0, server closed connection, bailing
03:01:15.528518 == Info: STATE: PERFORM => DONE handle 0x56c52c8; line 1939 (connection #0)
03:01:15.528838 == Info: multi_done
03:01:15.532235 == Info: Remembering we are in dir ""
03:01:15.552493 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:15.552742 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:15.561793 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:15.564087 == Info: Expire cleared (transfer 0x56c52c8)
=== End of file trace403
=== Start of file valgrind403
==20242== Invalid read of size 8
==20242== at 0x53315A5: check_free (dlerror.c:188)
==20242== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20242== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20242== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20242== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20242== by 0x4D60EB9: exit (exit.c:139)
==20242== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20242== Address 0x5af4fe0 is 0 bytes after a block of size 32 alloc'd
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
==20242== Invalid free() / delete / delete[] / realloc()
==20242== at 0x48369AB: free (vg_replace_malloc.c:540)
==20242== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20242== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20242== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20242== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20242== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20242== by 0x4D60EB9: exit (exit.c:139)
==20242== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20242== Address 0x5af4fc8 is 8 bytes inside a block of size 32 alloc'd
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
==20242== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20242== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20242== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20242== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20242== by 0x24B104: err_get_state (err.c:210)
==20242== by 0x24BCDA: ERR_put_error (err.c:636)
==20242== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20242== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20242== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20242== by 0x270326: by_file_ctrl (by_file.c:111)
==20242== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20242== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20242== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20242== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20242== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20242== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20242== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20242==
=== End of file valgrind403
test 0404...[FTPS with invalid cacert]
goto problem 25
valgrind ERROR ==20248== Invalid read of size 8
==20248== at 0x53315A5: check_free (dlerror.c:188)
==20248== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20248== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20248== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20248== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20248== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20248== by 0x4D60EB9: exit (exit.c:139)
==20248== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20248== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
==20248== Invalid free() / delete / delete[] / realloc()
==20248== at 0x48369AB: free (vg_replace_malloc.c:540)
==20248== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20248== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20248== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20248== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20248== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20248== by 0x4D60EB9: exit (exit.c:139)
==20248== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20248== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
==20248== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
== 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:16.652284 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:16.707772 == Info: Added connection 0. The cache now contains 1 members
03:01:16.725771 == Info: Trying 127.0.0.1:8993...
03:01:16.726395 == Info: TCP_NODELAY set
03:01:16.731692 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:16.743733 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:16.744369 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:16.745498 == Info: Marked for [keep alive]: FTP default
03:01:16.804394 == Info: error setting certificate verify locations:
CAfile: moooo
CApath: none
03:01:16.805236 == Info: multi_done
03:01:16.807376 == Info: Marked for [closure]: FTP ended with bad error code
03:01:16.815535 == Info: Closing connection 0
03:01:16.835097 == Info: The cache now contains 0 members
03:01:16.842918 == Info: Expire cleared (transfer 0x56c5768)
=== End of file trace404
=== Start of file valgrind404
==20248== Invalid read of size 8
==20248== at 0x53315A5: check_free (dlerror.c:188)
==20248== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20248== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20248== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20248== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20248== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20248== by 0x4D60EB9: exit (exit.c:139)
==20248== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20248== Address 0x5755d20 is 0 bytes after a block of size 32 alloc'd
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
==20248== Invalid free() / delete / delete[] / realloc()
==20248== at 0x48369AB: free (vg_replace_malloc.c:540)
==20248== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20248== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20248== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20248== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20248== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20248== by 0x4D60EB9: exit (exit.c:139)
==20248== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20248== Address 0x5755d08 is 8 bytes inside a block of size 32 alloc'd
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
==20248== 529 (32 direct, 497 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==20248== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20248== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20248== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20248== by 0x24B104: err_get_state (err.c:210)
==20248== by 0x24BCDA: ERR_put_error (err.c:636)
==20248== by 0x23B5AB: BIO_new_file (file.c:99)
==20248== by 0x2707F3: X509_load_cert_crl_file (by_file.c:250)
==20248== by 0x270326: by_file_ctrl (by_file.c:111)
==20248== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20248== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20248== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20248== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20248== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20248== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20248== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20248== by 0x1D3A68: ftp_connect (ftp.c:3083)
==20248==
=== End of file valgrind404
test 0405...[FTPS operation to FTP port]
goto problem 26
valgrind ERROR ==20254== Invalid read of size 8
==20254== at 0x53315A5: check_free (dlerror.c:188)
==20254== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20254== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20254== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20254== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20254== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20254== by 0x4D60EB9: exit (exit.c:139)
==20254== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20254== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
==20254== Invalid free() / delete / delete[] / realloc()
==20254== at 0x48369AB: free (vg_replace_malloc.c:540)
==20254== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20254== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20254== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20254== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20254== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20254== by 0x4D60EB9: exit (exit.c:139)
==20254== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20254== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
==20254== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
== Contents of files in the log/ dir after test 405
=== Start of file ftp_server.log
03:01:17.826020 ====> Client connect
03:01:17.826123 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:19.549444 MAIN sockfilt said DISC
03:01:19.549490 ====> Client disconnected
03:01:19.549528 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:17.926751 ====> Client connect
03:01:17.926920 Received DATA (on stdin)
03:01:17.926940 > 160 bytes data, server => client
03:01:17.926960 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:17.926977 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:17.926988 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:19.540880 < 131 bytes data, client => server
03:01:19.540938 '....~...z...m.p4.m....$.y......'2#f[\fD..:.....+./.,.0..... .'
03:01:19.540958 '..\n......./.5.\n...3..........\n...........[0B].....\r.........'
03:01:19.540988 '.............'
03:01:19.563414 < 7 bytes data, client => server
03:01:19.563465 '......F'
03:01:19.650192 ====> 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:17.849495 == Info: STATE: INIT => CONNECT handle 0x56c52f8; line 1362 (connection #-5000)
03:01:17.905855 == Info: Added connection 0. The cache now contains 1 members
03:01:17.923636 == Info: Trying 127.0.0.1:8992...
03:01:17.924251 == Info: TCP_NODELAY set
03:01:17.928762 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52f8; line 1418 (connection #0)
03:01:17.940371 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8992 (#0)
03:01:17.940932 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52f8; line 1538 (connection #0)
03:01:17.941990 == Info: Marked for [keep alive]: FTP default
03:01:19.408728 == Info: successfully set certificate verify locations:
03:01:19.409007 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:19.526969 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:19.533786 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:19.533884 => Send SSL data, 126 bytes (0x7e)
0000: ...z...m.p4.m....$.y......'2#f[\fD..:.....+./.,.0...............
0040: ../.5.....3...................................................
03:01:19.561538 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:19.565303 == Info: TLSv1.2 (OUT), TLS alert, protocol version (582):
03:01:19.565382 => Send SSL data, 2 bytes (0x2)
0000: .F
03:01:19.573867 == Info: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
03:01:19.574717 == Info: multi_done
03:01:19.576795 == Info: Marked for [closure]: FTP ended with bad error code
03:01:19.585530 == Info: Closing connection 0
03:01:19.653102 == Info: The cache now contains 0 members
03:01:19.660890 == Info: Expire cleared (transfer 0x56c52f8)
=== End of file trace405
=== Start of file valgrind405
==20254== Invalid read of size 8
==20254== at 0x53315A5: check_free (dlerror.c:188)
==20254== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20254== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20254== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20254== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20254== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20254== by 0x4D60EB9: exit (exit.c:139)
==20254== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20254== Address 0x5af5050 is 0 bytes after a block of size 32 alloc'd
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
==20254== Invalid free() / delete / delete[] / realloc()
==20254== at 0x48369AB: free (vg_replace_malloc.c:540)
==20254== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20254== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20254== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20254== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20254== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20254== by 0x4D60EB9: exit (exit.c:139)
==20254== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20254== Address 0x5af5038 is 8 bytes inside a block of size 32 alloc'd
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
==20254== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==20254== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20254== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20254== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20254== by 0x24B104: err_get_state (err.c:210)
==20254== by 0x24BCDA: ERR_put_error (err.c:636)
==20254== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20254== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20254== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20254== by 0x270326: by_file_ctrl (by_file.c:111)
==20254== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20254== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20254== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20254== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20254== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20254== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20254== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20254==
=== End of file valgrind405
test 0406...[FTPS dir list, PORT with specified IP]
goto problem 27
valgrind ERROR ==20257== Invalid read of size 8
==20257== at 0x53315A5: check_free (dlerror.c:188)
==20257== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20257== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20257== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20257== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20257== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20257== by 0x4D60EB9: exit (exit.c:139)
==20257== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20257== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
==20257== Invalid free() / delete / delete[] / realloc()
==20257== at 0x48369AB: free (vg_replace_malloc.c:540)
==20257== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20257== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20257== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20257== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20257== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20257== by 0x4D60EB9: exit (exit.c:139)
==20257== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20257== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
==20257== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
== 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:22.647371 ====> Client connect
03:01:22.647473 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:22.733692 < "USER anonymous"
03:01:22.733738 > "331 We are happy you popped in![CR][LF]"
03:01:22.744579 < "PASS ftp@example.com"
03:01:22.744612 > "230 Welcome you silly person[CR][LF]"
03:01:22.746859 < "PBSZ 0"
03:01:22.746890 > "500 PBSZ not implemented[CR][LF]"
03:01:22.748284 < "PROT C"
03:01:22.748314 > "500 PROT not implemented[CR][LF]"
03:01:22.749748 < "PWD"
03:01:22.749786 > "257 "/" is current directory[CR][LF]"
03:01:22.770283 < "EPRT |1|127.0.0.1|51167|"
03:01:22.770313 ====> Active DATA channel requested by client
03:01:22.770344 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:22.770366 DATA sockfilt for active data channel starting...
03:01:22.771884 DATA sockfilt for active data channel started (pid 20259)
03:01:22.771919 ====> Active DATA channel connected to client port 51167
03:01:22.775235 < "TYPE A"
03:01:22.775278 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:22.777401 < "LIST"
03:01:22.777431 > "150 here comes a directory[CR][LF]"
03:01:22.777467 pass LIST data on data connection
03:01:22.777553 =====> Closing active DATA connection...
03:01:22.777569 Server disconnects active DATA connection
03:01:22.778020 DATA sockfilt for active data channel quits (pid 20260)
03:01:22.778035 =====> Closed active DATA connection
03:01:22.778057 > "226 ASCII transfer complete[CR][LF]"
03:01:22.862933 < "QUIT"
03:01:22.862985 > "221 bye bye baby[CR][LF]"
03:01:22.867224 MAIN sockfilt said DISC
03:01:22.867259 ====> Client disconnected
03:01:22.867306 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:22.748101 ====> Client connect
03:01:22.748271 Received DATA (on stdin)
03:01:22.748291 > 160 bytes data, server => client
03:01:22.748312 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:22.748328 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:22.748345 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:22.834366 < 16 bytes data, client => server
03:01:22.834407 'USER anonymous\r\n'
03:01:22.834543 Received DATA (on stdin)
03:01:22.834562 > 33 bytes data, server => client
03:01:22.834580 '331 We are happy you popped in!\r\n'
03:01:22.845322 < 22 bytes data, client => server
03:01:22.845354 'PASS ftp@example.com\r\n'
03:01:22.845419 Received DATA (on stdin)
03:01:22.845437 > 30 bytes data, server => client
03:01:22.845454 '230 Welcome you silly person\r\n'
03:01:22.847615 < 8 bytes data, client => server
03:01:22.847639 'PBSZ 0\r\n'
03:01:22.847696 Received DATA (on stdin)
03:01:22.847715 > 26 bytes data, server => client
03:01:22.847732 '500 PBSZ not implemented\r\n'
03:01:22.849031 < 8 bytes data, client => server
03:01:22.849059 'PROT C\r\n'
03:01:22.849122 Received DATA (on stdin)
03:01:22.849140 > 26 bytes data, server => client
03:01:22.849157 '500 PROT not implemented\r\n'
03:01:22.850497 < 5 bytes data, client => server
03:01:22.850525 'PWD\r\n'
03:01:22.850593 Received DATA (on stdin)
03:01:22.850611 > 30 bytes data, server => client
03:01:22.850627 '257 "/" is current directory\r\n'
03:01:22.871023 < 26 bytes data, client => server
03:01:22.871055 'EPRT |1|127.0.0.1|51167|\r\n'
03:01:22.871151 Received DATA (on stdin)
03:01:22.871170 > 50 bytes data, server => client
03:01:22.871191 '200 Thanks for dropping by. We contact you later\r\n'
03:01:22.875962 < 8 bytes data, client => server
03:01:22.875991 'TYPE A\r\n'
03:01:22.876080 Received DATA (on stdin)
03:01:22.876099 > 33 bytes data, server => client
03:01:22.876117 '200 I modify TYPE as you wanted\r\n'
03:01:22.878156 < 6 bytes data, client => server
03:01:22.878180 'LIST\r\n'
03:01:22.878239 Received DATA (on stdin)
03:01:22.878257 > 28 bytes data, server => client
03:01:22.878275 '150 here comes a directory\r\n'
03:01:22.878865 Received DATA (on stdin)
03:01:22.878883 > 29 bytes data, server => client
03:01:22.878898 '226 ASCII transfer complete\r\n'
03:01:22.963633 < 6 bytes data, client => server
03:01:22.963676 'QUIT\r\n'
03:01:22.963789 Received DATA (on stdin)
03:01:22.963809 > 18 bytes data, server => client
03:01:22.963825 '221 bye bye baby\r\n'
03:01:22.967998 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:22.872516 ====> Client connect
03:01:22.872596 Running IPv4 version
03:01:22.872607 Connected to port 51167
03:01:22.872632 Wrote pid 20260 to ./.ftp_sockdata.pid
03:01:22.872648 Received PING (on stdin)
03:01:22.878334 Received DATA (on stdin)
03:01:22.878358 > 10 bytes data, server => client
03:01:22.878372 'total 20\r\n'
03:01:22.878400 Received DATA (on stdin)
03:01:22.878411 > 57 bytes data, server => client
03:01:22.878424 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 .\r\n'
03:01:22.878440 Received DATA (on stdin)
03:01:22.878450 > 58 bytes data, server => client
03:01:22.878461 'drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..\r\n'
03:01:22.878476 Received DATA (on stdin)
03:01:22.878486 > 61 bytes data, server => client
03:01:22.878497 'drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT\r'
03:01:22.878505 '\n'
03:01:22.878519 Received DATA (on stdin)
03:01:22.878528 > 62 bytes data, server => client
03:01:22.878540 '-r--r--r-- 1 0 1 35 Jul 16 1996 README\r'
03:01:22.878547 '\n'
03:01:22.878561 Received DATA (on stdin)
03:01:22.878570 > 70 bytes data, server => client
03:01:22.878582 'lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> '
03:01:22.878590 'usr/bin\r\n'
03:01:22.878604 Received DATA (on stdin)
03:01:22.878613 > 59 bytes data, server => client
03:01:22.878625 'dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev\r\n'
03:01:22.878639 Received DATA (on stdin)
03:01:22.878649 > 69 bytes data, server => client
03:01:22.878660 'drwxrwxrwx 2 98 98 512 May 29 16:04 downloa'
03:01:22.878668 'd.html\r\n'
03:01:22.878682 Received DATA (on stdin)
03:01:22.878691 > 59 bytes data, server => client
03:01:22.878703 'dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc\r\n'
03:01:22.878717 Received DATA (on stdin)
03:01:22.878726 > 59 bytes data, server => client
03:01:22.878738 'drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub\r\n'
03:01:22.878752 Received DATA (on stdin)
03:01:22.878761 > 59 bytes data, server => client
03:01:22.878773 'dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr\r\n'
03:01:22.878788 Received DISC (on stdin)
03:01:22.878799 ====> Client forcibly disconnected
03:01:22.878815 disconnected, no socket to read on
03:01:22.878825 Received QUIT (on stdin)
03:01:22.878833 quits
03:01:22.878843 ============> 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|51167|
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 275 0 --:--:-- 0:00:02 --:--:-- 285
=== End of file stderr406
=== Start of file trace406
03:01:20.666655 == Info: STATE: INIT => CONNECT handle 0x56c5768; line 1362 (connection #-5000)
03:01:20.721816 == Info: Added connection 0. The cache now contains 1 members
03:01:20.739800 == Info: Trying 127.0.0.1:8993...
03:01:20.740402 == Info: TCP_NODELAY set
03:01:20.745868 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5768; line 1418 (connection #0)
03:01:20.757492 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:20.758057 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5768; line 1538 (connection #0)
03:01:20.759180 == Info: Marked for [keep alive]: FTP default
03:01:22.220752 == Info: successfully set certificate verify locations:
03:01:22.221010 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:22.333601 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:22.338651 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:22.338709 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....3.._....i.Xk.N.K...%35.....l!....+./.,.0...............
0040: ../.5.....3...................................................
03:01:22.355658 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:22.361285 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:22.361342 <= Recv SSL data, 89 bytes (0x59)
0000: ...U../O..Y.x.N.[:.xr}V>=...GF..E..#.. RN..YY...d..WU.......++.W
0040: ....`.../................
03:01:22.405644 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.406110 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:22.406165 <= 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:22.504491 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:22.504763 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:22.504819 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P.......M...........6.h........a..%..3E........Y..VZ.@CI..
0080: ....8$@.|...+@". .W....o9.*...P8......f.+.b..6.......A."<5......
00c0: b!x....J0k......fT....d.%NC..^..*.h21.#....2...../...........rb.
0100: ."....M:}.W....V...u"r6..t.u..}[7F]..s@.i.znc... ...ZE....1.V..'...
0140: ..Ib.@.;..{..
03:01:22.575575 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.575948 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:22.576004 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:22.700707 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:22.700959 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:22.701017 => Send SSL data, 70 bytes (0x46)
0000: ...BA....>......|"...Z....#.a.........YG3|...b...4.. c..?_.7.L63
0040: ...{..
03:01:22.712974 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.713552 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:22.713608 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:22.734819 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:22.734876 => Send SSL data, 16 bytes (0x10)
0000: ........k...C...
03:01:22.747264 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:22.749775 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.750859 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:22.750915 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:22.753354 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:22.758964 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:22.759038 <= Recv SSL data, 16 bytes (0x10)
0000: ......:2h...Y...
03:01:22.787210 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:22.789469 == Info: Server certificate:
03:01:22.797053 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:22.803164 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:22.804133 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:22.805070 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:22.805955 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:22.807438 == Info: FTP 0x57419f0 (line 3092) state change from STOP to WAIT220
03:01:22.813397 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:22.821032 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:22.824567 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:22.824758 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:22.824941 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:22.825121 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:22.832736 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:22.835622 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:22.836401 == Info: FTP 0x57419f0 (line 792) state change from WAIT220 to USER
03:01:22.837158 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5768; line 1553 (connection #0)
03:01:22.843256 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:22.843914 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:22.845161 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.845283 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:22.845656 == Info: FTP 0x57419f0 (line 2520) state change from USER to PASS
03:01:22.846662 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:22.846803 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:22.847484 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:22.847600 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:22.847930 == Info: FTP 0x57419f0 (line 2496) state change from PASS to PBSZ
03:01:22.848218 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:22.848353 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:22.848884 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:22.848999 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:22.849324 == Info: FTP 0x57419f0 (line 2709) state change from PBSZ to PROT
03:01:22.849562 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:22.849696 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:22.850351 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.850465 => Send header, 5 bytes (0x5)
0000: PWD
03:01:22.850780 == Info: FTP 0x57419f0 (line 804) state change from PROT to PWD
03:01:22.851099 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:22.851234 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:22.852357 == Info: Entry path is '/'
03:01:22.852577 == Info: FTP 0x57419f0 (line 2844) state change from PWD to STOP
03:01:22.852742 == Info: protocol connect phase DONE
03:01:22.852986 == Info: STATE: PROTOCONNECT => DO handle 0x56c5768; line 1572 (connection #0)
03:01:22.854865 == Info: DO phase starts
03:01:22.870848 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:22.870976 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|51167|
03:01:22.871547 == Info: FTP 0x57419f0 (line 1293) state change from STOP to PORT
03:01:22.872238 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:22.872597 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:22.873121 == Info: Connect data stream actively
03:01:22.873324 == Info: FTP 0x57419f0 (line 2011) state change from PORT to STOP
03:01:22.873855 == Info: ftp_perform ends with SECONDARY: 1
03:01:22.874066 == Info: DO phase is complete1
03:01:22.875802 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:22.875921 => Send header, 8 bytes (0x8)
0000: TYPE A
03:01:22.876285 == Info: FTP 0x57419f0 (line 3418) state change from STOP to LIST_TYPE
03:01:22.876687 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:22.876827 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:22.878026 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:22.878142 => Send header, 6 bytes (0x6)
0000: LIST
03:01:22.878685 == Info: FTP 0x57419f0 (line 1486) state change from LIST_TYPE to LIST
03:01:22.879754 == Info: STATE: DO => DO_MORE handle 0x56c5768; line 1622 (connection #0)
03:01:22.881176 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:22.881330 <= Recv header, 28 bytes (0x1c)
0000: 150 here comes a directory
03:01:22.881946 == Info: Maxdownload = -1
03:01:22.882257 == Info: Preparing for accepting server on data port
03:01:22.883452 == Info: Checking for server connect
03:01:22.884430 == Info: Ready to accept data connection from server
03:01:22.886360 == Info: Connection accepted from server
03:01:22.887988 == Info: FTP 0x57419f0 (line 477) state change from LIST to STOP
03:01:22.888983 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5768; line 1724 (connection #0)
03:01:22.889377 == Info: STATE: DO_DONE => PERFORM handle 0x56c5768; line 1749 (connection #0)
03:01:22.892970 <= 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:22.901619 == Info: nread <= 0, server closed connection, bailing
03:01:22.902779 == Info: STATE: PERFORM => DONE handle 0x56c5768; line 1939 (connection #0)
03:01:22.903102 == Info: multi_done
03:01:22.906387 == Info: Remembering we are in dir ""
03:01:22.924792 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:22.925134 <= Recv header, 29 bytes (0x1d)
0000: 226 ASCII transfer complete
03:01:22.936931 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace406
=== Start of file valgrind406
==20257== Invalid read of size 8
==20257== at 0x53315A5: check_free (dlerror.c:188)
==20257== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20257== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20257== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20257== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20257== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20257== by 0x4D60EB9: exit (exit.c:139)
==20257== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20257== Address 0x5af5910 is 0 bytes after a block of size 32 alloc'd
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
==20257== Invalid free() / delete / delete[] / realloc()
==20257== at 0x48369AB: free (vg_replace_malloc.c:540)
==20257== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20257== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20257== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20257== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20257== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20257== by 0x4D60EB9: exit (exit.c:139)
==20257== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20257== Address 0x5af58f8 is 8 bytes inside a block of size 32 alloc'd
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
==20257== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20257== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20257== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20257== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20257== by 0x24B104: err_get_state (err.c:210)
==20257== by 0x24BCDA: ERR_put_error (err.c:636)
==20257== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20257== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20257== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20257== by 0x270326: by_file_ctrl (by_file.c:111)
==20257== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20257== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20257== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20257== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20257== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20257== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20257== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20257==
=== End of file valgrind406
test 0407...[Get two FTPS files from the same remote dir: no second CWD]
goto problem 28
valgrind ERROR ==20263== Invalid read of size 8
==20263== at 0x53315A5: check_free (dlerror.c:188)
==20263== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20263== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20263== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20263== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20263== by 0x4D60EB9: exit (exit.c:139)
==20263== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20263== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
==20263== Invalid free() / delete / delete[] / realloc()
==20263== at 0x48369AB: free (vg_replace_malloc.c:540)
==20263== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20263== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20263== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20263== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20263== by 0x4D60EB9: exit (exit.c:139)
==20263== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20263== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
==20263== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
== Contents of files in the log/ dir after test 407
=== Start of file curl407.out
data blobb
=== End of file curl407.out
=== Start of file ftp_server.log
03:01:26.049064 ====> Client connect
03:01:26.049161 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:26.137583 < "USER anonymous"
03:01:26.137631 > "331 We are happy you popped in![CR][LF]"
03:01:26.148597 < "PASS ftp@example.com"
03:01:26.148633 > "230 Welcome you silly person[CR][LF]"
03:01:26.150897 < "PBSZ 0"
03:01:26.150931 > "500 PBSZ not implemented[CR][LF]"
03:01:26.152294 < "PROT C"
03:01:26.152322 > "500 PROT not implemented[CR][LF]"
03:01:26.153784 < "PWD"
03:01:26.153816 > "257 "/" is current directory[CR][LF]"
03:01:26.160779 < "CWD a"
03:01:26.160809 > "250 CWD command successful.[CR][LF]"
03:01:26.162446 < "CWD path"
03:01:26.162476 > "250 CWD command successful.[CR][LF]"
03:01:26.166039 < "EPSV"
03:01:26.166069 ====> Passive DATA channel requested by client
03:01:26.166082 DATA sockfilt for passive data channel starting...
03:01:26.167748 DATA sockfilt for passive data channel started (pid 20267)
03:01:26.167876 DATA sockfilt for passive data channel listens on port 44199
03:01:26.167929 > "229 Entering Passive Mode (|||44199|)[LF]"
03:01:26.167958 Client has been notified that DATA conn will be accepted on port 44199
03:01:26.174169 Client connects to port 44199
03:01:26.174194 ====> Client established passive DATA connection on port 44199
03:01:26.179156 < "TYPE I"
03:01:26.179191 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:26.181283 < "SIZE 407"
03:01:26.181442 > "213 11[CR][LF]"
03:01:26.185181 < "RETR 407"
03:01:26.185288 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:26.185358 =====> Closing passive DATA connection...
03:01:26.185377 Server disconnects passive DATA connection
03:01:26.185471 DATA sockfilt for passive data channel quits (pid 20268)
03:01:26.185497 =====> Closed passive DATA connection
03:01:26.185523 > "226 File transfer complete[CR][LF]"
03:01:26.293762 < "EPSV"
03:01:26.293801 ====> Passive DATA channel requested by client
03:01:26.293816 DATA sockfilt for passive data channel starting...
03:01:26.295683 DATA sockfilt for passive data channel started (pid 20269)
03:01:26.295888 DATA sockfilt for passive data channel listens on port 46501
03:01:26.295953 > "229 Entering Passive Mode (|||46501|)[LF]"
03:01:26.295976 Client has been notified that DATA conn will be accepted on port 46501
03:01:26.297455 Client connects to port 46501
03:01:26.297494 ====> Client established passive DATA connection on port 46501
03:01:26.298793 < "SIZE 407"
03:01:26.298942 > "213 11[CR][LF]"
03:01:26.299862 < "RETR 407"
03:01:26.299991 > "150 Binary data connection for 407 () (11 bytes).[CR][LF]"
03:01:26.300089 =====> Closing passive DATA connection...
03:01:26.300126 Server disconnects passive DATA connection
03:01:26.300237 DATA sockfilt for passive data channel quits (pid 20270)
03:01:26.300261 =====> Closed passive DATA connection
03:01:26.300293 > "226 File transfer complete[CR][LF]"
03:01:26.361771 < "QUIT"
03:01:26.361816 > "221 bye bye baby[CR][LF]"
03:01:26.366270 MAIN sockfilt said DISC
03:01:26.366303 ====> Client disconnected
03:01:26.366351 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:26.149783 ====> Client connect
03:01:26.149961 Received DATA (on stdin)
03:01:26.149981 > 160 bytes data, server => client
03:01:26.150002 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:26.150016 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:26.150026 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:26.238250 < 16 bytes data, client => server
03:01:26.238292 'USER anonymous\r\n'
03:01:26.238435 Received DATA (on stdin)
03:01:26.238455 > 33 bytes data, server => client
03:01:26.238472 '331 We are happy you popped in!\r\n'
03:01:26.249331 < 22 bytes data, client => server
03:01:26.249365 'PASS ftp@example.com\r\n'
03:01:26.249439 Received DATA (on stdin)
03:01:26.249458 > 30 bytes data, server => client
03:01:26.249476 '230 Welcome you silly person\r\n'
03:01:26.251649 < 8 bytes data, client => server
03:01:26.251676 'PBSZ 0\r\n'
03:01:26.251738 Received DATA (on stdin)
03:01:26.251757 > 26 bytes data, server => client
03:01:26.251780 '500 PBSZ not implemented\r\n'
03:01:26.253057 < 8 bytes data, client => server
03:01:26.253074 'PROT C\r\n'
03:01:26.253129 Received DATA (on stdin)
03:01:26.253147 > 26 bytes data, server => client
03:01:26.253162 '500 PROT not implemented\r\n'
03:01:26.254547 < 5 bytes data, client => server
03:01:26.254564 'PWD\r\n'
03:01:26.254624 Received DATA (on stdin)
03:01:26.254642 > 30 bytes data, server => client
03:01:26.254658 '257 "/" is current directory\r\n'
03:01:26.261531 < 7 bytes data, client => server
03:01:26.261559 'CWD a\r\n'
03:01:26.261617 Received DATA (on stdin)
03:01:26.261635 > 29 bytes data, server => client
03:01:26.261653 '250 CWD command successful.\r\n'
03:01:26.263198 < 10 bytes data, client => server
03:01:26.263226 'CWD path\r\n'
03:01:26.263284 Received DATA (on stdin)
03:01:26.263302 > 29 bytes data, server => client
03:01:26.263320 '250 CWD command successful.\r\n'
03:01:26.266792 < 6 bytes data, client => server
03:01:26.266820 'EPSV\r\n'
03:01:26.268731 Received DATA (on stdin)
03:01:26.268761 > 38 bytes data, server => client
03:01:26.268789 '229 Entering Passive Mode (|||44199|)\n'
03:01:26.279895 < 8 bytes data, client => server
03:01:26.279924 'TYPE I\r\n'
03:01:26.279997 Received DATA (on stdin)
03:01:26.280016 > 33 bytes data, server => client
03:01:26.280033 '200 I modify TYPE as you wanted\r\n'
03:01:26.282035 < 10 bytes data, client => server
03:01:26.282062 'SIZE 407\r\n'
03:01:26.282250 Received DATA (on stdin)
03:01:26.282270 > 8 bytes data, server => client
03:01:26.282285 '213 11\r\n'
03:01:26.285931 < 10 bytes data, client => server
03:01:26.285960 'RETR 407\r\n'
03:01:26.286095 Received DATA (on stdin)
03:01:26.286115 > 51 bytes data, server => client
03:01:26.286135 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:26.286331 Received DATA (on stdin)
03:01:26.286350 > 28 bytes data, server => client
03:01:26.286367 '226 File transfer complete\r\n'
03:01:26.394472 < 6 bytes data, client => server
03:01:26.394508 'EPSV\r\n'
03:01:26.396779 Received DATA (on stdin)
03:01:26.396813 > 38 bytes data, server => client
03:01:26.396836 '229 Entering Passive Mode (|||46501|)\n'
03:01:26.399519 < 10 bytes data, client => server
03:01:26.399536 'SIZE 407\r\n'
03:01:26.399749 Received DATA (on stdin)
03:01:26.399760 > 8 bytes data, server => client
03:01:26.399775 '213 11\r\n'
03:01:26.400615 < 10 bytes data, client => server
03:01:26.400642 'RETR 407\r\n'
03:01:26.400798 Received DATA (on stdin)
03:01:26.400819 > 51 bytes data, server => client
03:01:26.400844 '150 Binary data connection for 407 () (11 bytes).\r\n'
03:01:26.401099 Received DATA (on stdin)
03:01:26.401112 > 28 bytes data, server => client
03:01:26.401123 '226 File transfer complete\r\n'
03:01:26.462485 < 6 bytes data, client => server
03:01:26.462519 'QUIT\r\n'
03:01:26.462643 Received DATA (on stdin)
03:01:26.462667 > 18 bytes data, server => client
03:01:26.462681 '221 bye bye baby\r\n'
03:01:26.467024 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:26.268353 Running IPv4 version
03:01:26.268455 Listening on port 44199
03:01:26.268496 Wrote pid 20268 to ./.ftp_sockdata.pid
03:01:26.268518 Received PING (on stdin)
03:01:26.268602 Received PORT (on stdin)
03:01:26.274954 ====> Client connect
03:01:26.286132 Received DATA (on stdin)
03:01:26.286155 > 11 bytes data, server => client
03:01:26.286166 'data blobb\n'
03:01:26.286203 Received DISC (on stdin)
03:01:26.286216 ====> Client forcibly disconnected
03:01:26.286245 Received QUIT (on stdin)
03:01:26.286257 quits
03:01:26.286271 ============> sockfilt quits
03:01:26.396278 Running IPv4 version
03:01:26.396360 Listening on port 46501
03:01:26.396411 Wrote pid 20270 to ./.ftp_sockdata.pid
03:01:26.396433 Received PING (on stdin)
03:01:26.396570 Received PORT (on stdin)
03:01:26.398207 ====> Client connect
03:01:26.400853 Received DATA (on stdin)
03:01:26.400887 > 11 bytes data, server => client
03:01:26.400904 'data blobb\n'
03:01:26.400974 Received DISC (on stdin)
03:01:26.401002 ====> Client forcibly disconnected
03:01:26.401027 Received QUIT (on stdin)
03:01:26.401041 quits
03:01:26.401055 ============> 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 --:--:-- 4
% 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 161 0 --:--:-- --:--:-- --:--:-- 207
=== End of file stderr407
=== Start of file stdout407
data blobb
=== End of file stdout407
=== Start of file trace407
03:01:23.030813 == Info: STATE: INIT => CONNECT handle 0x56c5c78; line 1362 (connection #-5000)
03:01:23.086284 == Info: Added connection 0. The cache now contains 1 members
03:01:23.104003 == Info: Trying 127.0.0.1:8993...
03:01:23.104606 == Info: TCP_NODELAY set
03:01:23.109717 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c78; line 1418 (connection #0)
03:01:23.121447 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:23.122010 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c78; line 1538 (connection #0)
03:01:23.123071 == Info: Marked for [keep alive]: FTP default
03:01:24.631418 == Info: successfully set certificate verify locations:
03:01:24.631679 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:24.744283 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:24.749314 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:24.749370 => Send SSL data, 126 bytes (0x7e)
0000: ...z.....[7F].h..@.4.g}X.....<....$6..Lpg....+./.,.0...............
0040: ../.5.....3...................................................
03:01:24.766124 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:24.771722 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:24.771785 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...(<Q..V.!..X/.........# s.F~.*.5 ..)i......Hg...b..._j..~(
0040: ..N..R../................
03:01:24.815265 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.815706 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:24.815759 <= 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.915105 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:24.915367 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:24.915423 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P.......W.K.~.....sMo.."...0..........3..)a...|P.00'T{Q.1.
0080: iS..a..>C...[.F.E....;.!p...h.Y.A.!.3K5x......wO....F.z...F.s0..
00c0: ..[...I;.F.a...%pjE.<.(~...Sf.......V\....PZ.....B0.).....F.m.@.
0100: .........P..LQ.Z[7F].....R.......A.............f..d.`.'..c.$?...[7F].%
0140: .3.JZ.8......
03:01:24.985471 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:24.985806 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:24.985863 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:25.101882 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:25.102131 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:25.102184 => Send SSL data, 70 bytes (0x46)
0000: ...BA.#.k.).....Y..a..m.5.O0.....&.b.!*k.Hd..N.........x...F*...
0040: ...~..
03:01:25.114125 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.114711 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:25.114770 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:25.136212 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:25.136271 => Send SSL data, 16 bytes (0x10)
0000: ....;.P..@3.<g..
03:01:25.148855 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.151474 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:25.152623 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:25.152682 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:25.155218 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.161119 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:25.161173 <= Recv SSL data, 16 bytes (0x10)
0000: ....}...a......j
03:01:25.190384 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:25.192665 == Info: Server certificate:
03:01:25.200180 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:25.206329 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:25.207271 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:25.208202 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:25.209084 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:25.210573 == Info: FTP 0x579ad20 (line 3092) state change from STOP to WAIT220
03:01:25.216689 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:25.224619 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:25.228277 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:25.228471 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:25.228680 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:25.228860 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:25.236621 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:25.239546 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:25.240331 == Info: FTP 0x579ad20 (line 792) state change from WAIT220 to USER
03:01:25.241090 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c5c78; line 1553 (connection #0)
03:01:25.247191 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:25.247867 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:25.249138 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.249279 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:25.249658 == Info: FTP 0x579ad20 (line 2520) state change from USER to PASS
03:01:25.250668 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:25.250808 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:25.251489 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.251603 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:25.251980 == Info: FTP 0x579ad20 (line 2496) state change from PASS to PBSZ
03:01:25.252269 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:25.252404 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:25.252934 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.253048 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:25.253379 == Info: FTP 0x579ad20 (line 2709) state change from PBSZ to PROT
03:01:25.253616 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:25.253749 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:25.254421 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.254535 => Send header, 5 bytes (0x5)
0000: PWD
03:01:25.254851 == Info: FTP 0x579ad20 (line 804) state change from PROT to PWD
03:01:25.255167 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:25.255301 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:25.256424 == Info: Entry path is '/'
03:01:25.256646 == Info: FTP 0x579ad20 (line 2844) state change from PWD to STOP
03:01:25.256809 == Info: protocol connect phase DONE
03:01:25.257052 == Info: STATE: PROTOCONNECT => DO handle 0x56c5c78; line 1572 (connection #0)
03:01:25.260285 == Info: DO phase starts
03:01:25.261369 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.261486 => Send header, 7 bytes (0x7)
0000: CWD a
03:01:25.261877 == Info: FTP 0x579ad20 (line 895) state change from STOP to CWD
03:01:25.262278 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:25.262418 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:25.263040 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.263154 => Send header, 10 bytes (0xa)
0000: CWD path
03:01:25.263477 == Info: ftp_perform ends with SECONDARY: 0
03:01:25.264201 == Info: STATE: DO => DOING handle 0x56c5c78; line 1614 (connection #0)
03:01:25.265096 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:25.265235 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:25.266631 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.266746 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:25.267092 == Info: FTP 0x579ad20 (line 1330) state change from CWD to PASV
03:01:25.267261 == Info: Connect data stream passively
03:01:25.269018 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:25.269167 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||44199|).
03:01:25.274795 == Info: Trying 127.0.0.1:44199...
03:01:25.274857 == Info: TCP_NODELAY set
03:01:25.275542 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 44199
03:01:25.276657 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:25.277203 == Info: DO phase is complete2
03:01:25.277464 == Info: STATE: DOING => DO_MORE handle 0x56c5c78; line 1699 (connection #0)
03:01:25.278174 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:25.278389 == Info: DO-MORE connected phase starts
03:01:25.279725 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:25.279849 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:25.280195 == Info: FTP 0x579ad20 (line 3418) state change from STOP to RETR_TYPE
03:01:25.280572 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:25.280711 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:25.281875 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.281990 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:25.282319 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:25.283945 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:25.284112 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:25.285770 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.285886 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:25.286219 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:25.286713 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:25.287062 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:25.287921 == Info: Maxdownload = -1
03:01:25.288125 == Info: Getting file with size: 11
03:01:25.289492 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:25.290042 == Info: STATE: DO_MORE => DO_DONE handle 0x56c5c78; line 1724 (connection #0)
03:01:25.290436 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c78; line 1749 (connection #0)
03:01:25.293872 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:25.299075 == Info: readwrite_data: we're done
03:01:25.299335 == Info: nread <= 0, server closed connection, bailing
03:01:25.300545 == Info: STATE: PERFORM => DONE handle 0x56c5c78; line 1939 (connection #0)
03:01:25.301007 == Info: multi_done
03:01:25.303881 == Info: Remembering we are in dir "a/path/"
03:01:25.332794 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:25.333140 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:25.348292 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:25.350220 == Info: Expire cleared (transfer 0x56c5c78)
03:01:25.376688 == Info: STATE: INIT => CONNECT handle 0x571fc98; line 1362 (connection #-5000)
03:01:25.380668 == Info: Found bundle for host 127.0.0.1: 0x57a8d98 [serially]
03:01:25.390332 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:01:25.391176 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:25.391396 == Info: STATE: CONNECT => DO handle 0x571fc98; line 1411 (connection #0)
03:01:25.393559 == Info: Request has same path as previous transfer
03:01:25.393754 == Info: DO phase starts
03:01:25.394214 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:25.394388 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:25.394561 == Info: FTP 0x579ad20 (line 1330) state change from STOP to PASV
03:01:25.394621 == Info: Connect data stream passively
03:01:25.394831 == Info: ftp_perform ends with SECONDARY: 0
03:01:25.394911 == Info: STATE: DO => DOING handle 0x571fc98; line 1614 (connection #0)
03:01:25.397104 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:25.397259 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||46501|).
03:01:25.398028 == Info: Trying 127.0.0.1:46501...
03:01:25.398087 == Info: TCP_NODELAY set
03:01:25.398223 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 46501
03:01:25.398376 == Info: FTP 0x579ad20 (line 1977) state change from PASV to STOP
03:01:25.398440 == Info: DO phase is complete2
03:01:25.398515 == Info: STATE: DOING => DO_MORE handle 0x571fc98; line 1699 (connection #0)
03:01:25.398612 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:25.398671 == Info: DO-MORE connected phase starts
03:01:25.398913 == Info: FTP 0x579ad20 (line 3413) state change from STOP to RETR_TYPE
03:01:25.399343 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.399463 => Send header, 10 bytes (0xa)
0000: SIZE 407
03:01:25.399644 == Info: FTP 0x579ad20 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:01:25.399984 <= Recv SSL data, 5 bytes (0x5)
0000: ....
03:01:25.400121 <= Recv header, 8 bytes (0x8)
0000: 213 11
03:01:25.400438 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:25.400555 => Send header, 10 bytes (0xa)
0000: RETR 407
03:01:25.400716 == Info: FTP 0x579ad20 (line 2229) state change from RETR_SIZE to RETR
03:01:25.401078 <= Recv SSL data, 5 bytes (0x5)
0000: ....K
03:01:25.401221 <= Recv header, 51 bytes (0x33)
0000: 150 Binary data connection for 407 () (11 bytes).
03:01:25.401480 == Info: Maxdownload = -1
03:01:25.401539 == Info: Getting file with size: 11
03:01:25.401609 == Info: FTP 0x579ad20 (line 477) state change from RETR to STOP
03:01:25.401690 == Info: STATE: DO_MORE => DO_DONE handle 0x571fc98; line 1724 (connection #0)
03:01:25.401773 == Info: STATE: DO_DONE => PERFORM handle 0x571fc98; line 1749 (connection #0)
03:01:25.401877 <= Recv data, 11 bytes (0xb)
0000: data blobb.
03:01:25.402318 == Info: readwrite_data: we're done
03:01:25.402382 == Info: nread <= 0, server closed connection, bailing
03:01:25.402467 == Info: STATE: PERFORM => DONE handle 0x571fc98; line 1939 (connection #0)
03:01:25.402526 == Info: multi_done
03:01:25.402761 == Info: Remembering we are in dir "a/path/"
03:01:25.444296 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:25.444752 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:25.446971 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:25.447308 == Info: Expire cleared (transfer 0x571fc98)
=== End of file trace407
=== Start of file valgrind407
==20263== Invalid read of size 8
==20263== at 0x53315A5: check_free (dlerror.c:188)
==20263== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20263== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20263== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20263== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20263== by 0x4D60EB9: exit (exit.c:139)
==20263== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20263== Address 0x5b4ec40 is 0 bytes after a block of size 32 alloc'd
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
==20263== Invalid free() / delete / delete[] / realloc()
==20263== at 0x48369AB: free (vg_replace_malloc.c:540)
==20263== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20263== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20263== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20263== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20263== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20263== by 0x4D60EB9: exit (exit.c:139)
==20263== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20263== Address 0x5b4ec28 is 8 bytes inside a block of size 32 alloc'd
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
==20263== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20263== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20263== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20263== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20263== by 0x24B104: err_get_state (err.c:210)
==20263== by 0x24BCDA: ERR_put_error (err.c:636)
==20263== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20263== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20263== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20263== by 0x270326: by_file_ctrl (by_file.c:111)
==20263== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20263== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20263== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20263== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20263== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20263== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20263== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20263==
=== End of file valgrind407
test 0408...[FTPS PORT upload with CWD]
goto problem 29
valgrind ERROR ==20273== Invalid read of size 8
==20273== at 0x53315A5: check_free (dlerror.c:188)
==20273== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20273== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20273== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20273== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20273== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20273== by 0x4D60EB9: exit (exit.c:139)
==20273== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20273== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
==20273== Invalid free() / delete / delete[] / realloc()
==20273== at 0x48369AB: free (vg_replace_malloc.c:540)
==20273== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20273== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20273== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20273== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20273== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20273== by 0x4D60EB9: exit (exit.c:139)
==20273== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20273== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
==20273== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
== Contents of files in the log/ dir after test 408
=== Start of file ftp_server.log
03:01:29.536539 ====> Client connect
03:01:29.536667 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:29.624177 < "USER anonymous"
03:01:29.624223 > "331 We are happy you popped in![CR][LF]"
03:01:29.635067 < "PASS ftp@example.com"
03:01:29.635097 > "230 Welcome you silly person[CR][LF]"
03:01:29.637389 < "PBSZ 0"
03:01:29.637412 > "500 PBSZ not implemented[CR][LF]"
03:01:29.638784 < "PROT C"
03:01:29.638807 > "500 PROT not implemented[CR][LF]"
03:01:29.640265 < "PWD"
03:01:29.640293 > "257 "/" is current directory[CR][LF]"
03:01:29.647383 < "CWD CWD"
03:01:29.647412 > "250 CWD command successful.[CR][LF]"
03:01:29.648996 < "CWD STOR"
03:01:29.649018 > "250 CWD command successful.[CR][LF]"
03:01:29.651597 < "CWD RETR"
03:01:29.651620 > "250 CWD command successful.[CR][LF]"
03:01:29.657406 < "EPRT |1|127.0.0.1|46897|"
03:01:29.657435 ====> Active DATA channel requested by client
03:01:29.657461 > "200 Thanks for dropping by. We contact you later[CR][LF]"
03:01:29.657477 DATA sockfilt for active data channel starting...
03:01:29.658973 DATA sockfilt for active data channel started (pid 20277)
03:01:29.659003 ====> Active DATA channel connected to client port 46897
03:01:29.662095 < "TYPE I"
03:01:29.662135 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:29.664360 < "STOR 408"
03:01:29.664386 STOR test number 408 in log/upload.408
03:01:29.664408 > "125 Gimme gimme gimme![CR][LF]"
03:01:29.677245 > Appending 27 bytes to file
03:01:29.685030 =====> Closing active DATA connection...
03:01:29.685050 Server knows active DATA connection is already disconnected
03:01:29.685096 DATA sockfilt for active data channel quits (pid 20278)
03:01:29.685113 =====> Closed active DATA connection
03:01:29.685128 received 27 bytes upload
03:01:29.685150 > "226 File transfer complete[CR][LF]"
03:01:29.750670 < "QUIT"
03:01:29.750714 > "221 bye bye baby[CR][LF]"
03:01:29.754952 MAIN sockfilt said DISC
03:01:29.754982 ====> Client disconnected
03:01:29.755027 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:29.637270 ====> Client connect
03:01:29.637462 Received DATA (on stdin)
03:01:29.637476 > 160 bytes data, server => client
03:01:29.637489 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:29.637500 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:29.637510 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:29.724837 < 16 bytes data, client => server
03:01:29.724874 'USER anonymous\r\n'
03:01:29.725049 Received DATA (on stdin)
03:01:29.725072 > 33 bytes data, server => client
03:01:29.725087 '331 We are happy you popped in!\r\n'
03:01:29.735824 < 22 bytes data, client => server
03:01:29.735848 'PASS ftp@example.com\r\n'
03:01:29.735924 Received DATA (on stdin)
03:01:29.735947 > 30 bytes data, server => client
03:01:29.735962 '230 Welcome you silly person\r\n'
03:01:29.738165 < 8 bytes data, client => server
03:01:29.738186 'PBSZ 0\r\n'
03:01:29.738240 Received DATA (on stdin)
03:01:29.738263 > 26 bytes data, server => client
03:01:29.738278 '500 PBSZ not implemented\r\n'
03:01:29.739558 < 8 bytes data, client => server
03:01:29.739580 'PROT C\r\n'
03:01:29.739614 Received DATA (on stdin)
03:01:29.739626 > 26 bytes data, server => client
03:01:29.739636 '500 PROT not implemented\r\n'
03:01:29.741042 < 5 bytes data, client => server
03:01:29.741064 'PWD\r\n'
03:01:29.741120 Received DATA (on stdin)
03:01:29.741143 > 30 bytes data, server => client
03:01:29.741159 '257 "/" is current directory\r\n'
03:01:29.748142 < 9 bytes data, client => server
03:01:29.748167 'CWD CWD\r\n'
03:01:29.748242 Received DATA (on stdin)
03:01:29.748265 > 29 bytes data, server => client
03:01:29.748280 '250 CWD command successful.\r\n'
03:01:29.749771 < 10 bytes data, client => server
03:01:29.749793 'CWD STOR\r\n'
03:01:29.749845 Received DATA (on stdin)
03:01:29.749868 > 29 bytes data, server => client
03:01:29.749883 '250 CWD command successful.\r\n'
03:01:29.752368 < 10 bytes data, client => server
03:01:29.752391 'CWD RETR\r\n'
03:01:29.752449 Received DATA (on stdin)
03:01:29.752472 > 29 bytes data, server => client
03:01:29.752487 '250 CWD command successful.\r\n'
03:01:29.758182 < 26 bytes data, client => server
03:01:29.758206 'EPRT |1|127.0.0.1|46897|\r\n'
03:01:29.758290 Received DATA (on stdin)
03:01:29.758313 > 50 bytes data, server => client
03:01:29.758330 '200 Thanks for dropping by. We contact you later\r\n'
03:01:29.762809 < 8 bytes data, client => server
03:01:29.762833 'TYPE I\r\n'
03:01:29.762959 Received DATA (on stdin)
03:01:29.762982 > 33 bytes data, server => client
03:01:29.762997 '200 I modify TYPE as you wanted\r\n'
03:01:29.765097 < 10 bytes data, client => server
03:01:29.765120 'STOR 408\r\n'
03:01:29.765236 Received DATA (on stdin)
03:01:29.765259 > 24 bytes data, server => client
03:01:29.765274 '125 Gimme gimme gimme!\r\n'
03:01:29.785958 Received DATA (on stdin)
03:01:29.785980 > 28 bytes data, server => client
03:01:29.785991 '226 File transfer complete\r\n'
03:01:29.851377 < 6 bytes data, client => server
03:01:29.851421 'QUIT\r\n'
03:01:29.851520 Received DATA (on stdin)
03:01:29.851530 > 18 bytes data, server => client
03:01:29.851539 '221 bye bye baby\r\n'
03:01:29.855734 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:29.759628 ====> Client connect
03:01:29.759705 Running IPv4 version
03:01:29.759714 Connected to port 46897
03:01:29.759739 Wrote pid 20278 to ./.ftp_sockdata.pid
03:01:29.759754 Received PING (on stdin)
03:01:29.777992 < 27 bytes data, client => server
03:01:29.778011 'Moooooooooooo\n upload this\n'
03:01:29.785752 ====> Client disconnect
03:01:29.785801 disconnected, no socket to read on
03:01:29.785897 Received QUIT (on stdin)
03:01:29.785919 quits
03:01:29.785935 ============> 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|46897|
TYPE I
STOR 408
QUIT
=== End of file server.input
=== Start of file stderr408
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 27 0 0 100 27 0 11 0:00:02 0:00:02 --:--:-- 12
=== End of file stderr408
=== Start of file trace408
03:01:27.567018 == Info: STATE: INIT => CONNECT handle 0x56c8638; line 1362 (connection #-5000)
03:01:27.623518 == Info: Added connection 0. The cache now contains 1 members
03:01:27.642398 == Info: Trying 127.0.0.1:8993...
03:01:27.643033 == Info: TCP_NODELAY set
03:01:27.648410 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8638; line 1418 (connection #0)
03:01:27.660598 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:27.661186 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8638; line 1538 (connection #0)
03:01:27.662251 == Info: Marked for [keep alive]: FTP default
03:01:29.113643 == Info: successfully set certificate verify locations:
03:01:29.113913 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:29.226556 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:29.231594 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:29.231652 => Send SSL data, 126 bytes (0x7e)
0000: ...z........,..'A.}...19.....u.C.7.J.3....+./.,.0...............
0040: ../.5.....3...................................................
03:01:29.248398 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:29.254003 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:29.254059 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..mfx.[hN.....eV.i\j...,U....'6v@. ...8>...p..]...8b.-...>..
0040: ......../................
03:01:29.297670 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.298139 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:29.298194 <= 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:29.400411 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:29.400676 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:29.400731 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P.......2^.pO.(......P......a.8p.....&].......KZ....O..:.
0080: -...=..T...@...e.........I"<.2O'Z`v..u..........>|..l.H.>......G
00c0: .\.y.....[7F]...k......5......L2D.u..D5Z.U...p?!h..*...........=...
0100: ...b.lb..l*u......Q.i.CL.L.:%"......Q..pn..x..:1.....%.3.cU...<.
0140: ..h..4K.G..).
03:01:29.471551 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.471933 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:29.471989 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:29.589716 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:29.589970 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:29.590026 => Send SSL data, 70 bytes (0x46)
0000: ...BA.....N%.5Z...Y..?I.|...e[.S.[7F]..c..........:;F.L..pH..E)....
0040: 8*....
03:01:29.601950 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.602545 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:29.602606 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:29.623978 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:29.624035 => Send SSL data, 16 bytes (0x10)
0000: .....P...L...ul.
03:01:29.636456 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.639027 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.640160 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:29.640218 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:29.642746 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.648702 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:29.648758 <= Recv SSL data, 16 bytes (0x10)
0000: ...........zK...
03:01:29.677518 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:29.679793 == Info: Server certificate:
03:01:29.687281 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:29.693525 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:29.694473 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:29.695408 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:29.696288 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:29.697776 == Info: FTP 0x577e550 (line 3092) state change from STOP to WAIT220
03:01:29.703772 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:29.711451 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:29.714968 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:29.715157 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:29.715338 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:29.715516 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:29.723191 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:29.726098 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:29.726876 == Info: FTP 0x577e550 (line 792) state change from WAIT220 to USER
03:01:29.727634 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8638; line 1553 (connection #0)
03:01:29.733740 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:29.734399 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:29.735666 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.735790 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:29.736187 == Info: FTP 0x577e550 (line 2520) state change from USER to PASS
03:01:29.737195 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:29.737337 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:29.738017 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.738134 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:29.738456 == Info: FTP 0x577e550 (line 2496) state change from PASS to PBSZ
03:01:29.738743 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.738880 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:29.739414 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.739528 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:29.739864 == Info: FTP 0x577e550 (line 2709) state change from PBSZ to PROT
03:01:29.740103 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.740241 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:29.740895 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:29.741010 => Send header, 5 bytes (0x5)
0000: PWD
03:01:29.741325 == Info: FTP 0x577e550 (line 804) state change from PROT to PWD
03:01:29.741646 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:29.741786 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:29.742899 == Info: Entry path is '/'
03:01:29.743131 == Info: FTP 0x577e550 (line 2844) state change from PWD to STOP
03:01:29.743296 == Info: protocol connect phase DONE
03:01:29.743541 == Info: STATE: PROTOCONNECT => DO handle 0x56c8638; line 1572 (connection #0)
03:01:29.746846 == Info: DO phase starts
03:01:29.747948 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.748073 => Send header, 9 bytes (0x9)
0000: CWD CWD
03:01:29.748420 == Info: FTP 0x577e550 (line 895) state change from STOP to CWD
03:01:29.748824 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.748968 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.749592 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.749707 => Send header, 10 bytes (0xa)
0000: CWD STOR
03:01:29.750030 == Info: ftp_perform ends with SECONDARY: 0
03:01:29.750746 == Info: STATE: DO => DOING handle 0x56c8638; line 1614 (connection #0)
03:01:29.751657 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.751807 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.752191 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.752304 => Send header, 10 bytes (0xa)
0000: CWD RETR
03:01:29.752882 <= Recv SSL data, 5 bytes (0x5)
0000: ....5
03:01:29.753023 <= Recv header, 29 bytes (0x1d)
0000: 250 CWD command successful.
03:01:29.757999 => Send SSL data, 5 bytes (0x5)
0000: ....2
03:01:29.758118 => Send header, 26 bytes (0x1a)
0000: EPRT |1|127.0.0.1|46897|
03:01:29.758692 == Info: FTP 0x577e550 (line 1293) state change from CWD to PORT
03:01:29.759211 <= Recv SSL data, 5 bytes (0x5)
0000: ....J
03:01:29.759564 <= Recv header, 50 bytes (0x32)
0000: 200 Thanks for dropping by. We contact you later
03:01:29.760097 == Info: Connect data stream actively
03:01:29.760300 == Info: FTP 0x577e550 (line 2011) state change from PORT to STOP
03:01:29.760970 == Info: DO phase is complete2
03:01:29.761237 == Info: STATE: DOING => DO_MORE handle 0x56c8638; line 1699 (connection #0)
03:01:29.762621 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:29.762741 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:29.763083 == Info: FTP 0x577e550 (line 3418) state change from STOP to STOR_TYPE
03:01:29.763458 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:29.763599 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:29.764917 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:29.765034 => Send header, 10 bytes (0xa)
0000: STOR 408
03:01:29.765375 == Info: FTP 0x577e550 (line 1651) state change from STOR_TYPE to STOR
03:01:29.766721 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:29.766861 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:29.767375 == Info: FTP 0x577e550 (line 2330) state change from STOR to STOP
03:01:29.767559 == Info: Preparing for accepting server on data port
03:01:29.768616 == Info: Checking for server connect
03:01:29.769453 == Info: Ready to accept data connection from server
03:01:29.771208 == Info: Connection accepted from server
03:01:29.773794 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8638; line 1724 (connection #0)
03:01:29.774228 == Info: STATE: DO_DONE => PERFORM handle 0x56c8638; line 1749 (connection #0)
03:01:29.778537 => Send data, 27 bytes (0x1b)
0000: Moooooooooooo. upload this.
03:01:29.779131 == Info: We are completely uploaded and fine
03:01:29.781532 == Info: STATE: PERFORM => DONE handle 0x56c8638; line 1939 (connection #0)
03:01:29.781856 == Info: multi_done
03:01:29.784493 == Info: Remembering we are in dir "CWD/STOR/RETR/"
03:01:29.812973 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:29.813420 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:29.828664 == 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
==20273== Invalid read of size 8
==20273== at 0x53315A5: check_free (dlerror.c:188)
==20273== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20273== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20273== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20273== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20273== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20273== by 0x4D60EB9: exit (exit.c:139)
==20273== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20273== Address 0x5b324c0 is 0 bytes after a block of size 32 alloc'd
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
==20273== Invalid free() / delete / delete[] / realloc()
==20273== at 0x48369AB: free (vg_replace_malloc.c:540)
==20273== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20273== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20273== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20273== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20273== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20273== by 0x4D60EB9: exit (exit.c:139)
==20273== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20273== Address 0x5b324a8 is 8 bytes inside a block of size 32 alloc'd
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
==20273== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20273== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20273== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20273== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20273== by 0x24B104: err_get_state (err.c:210)
==20273== by 0x24BCDA: ERR_put_error (err.c:636)
==20273== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20273== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20273== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20273== by 0x270326: by_file_ctrl (by_file.c:111)
==20273== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20273== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20273== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20273== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20273== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20273== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20273== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20273==
=== End of file valgrind408
test 0409...[FTPS PASV upload file]
goto problem 30
valgrind ERROR ==20281== Invalid read of size 8
==20281== at 0x53315A5: check_free (dlerror.c:188)
==20281== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20281== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20281== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20281== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20281== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20281== by 0x4D60EB9: exit (exit.c:139)
==20281== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20281== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
==20281== Invalid free() / delete / delete[] / realloc()
==20281== at 0x48369AB: free (vg_replace_malloc.c:540)
==20281== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20281== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20281== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20281== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20281== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20281== by 0x4D60EB9: exit (exit.c:139)
==20281== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20281== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
==20281== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
== Contents of files in the log/ dir after test 409
=== Start of file ftp_server.log
03:01:32.911710 ====> Client connect
03:01:32.911819 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:01:32.998719 < "USER anonymous"
03:01:32.998765 > "331 We are happy you popped in![CR][LF]"
03:01:33.009608 < "PASS ftp@example.com"
03:01:33.009646 > "230 Welcome you silly person[CR][LF]"
03:01:33.011971 < "PBSZ 0"
03:01:33.012005 > "500 PBSZ not implemented[CR][LF]"
03:01:33.013366 < "PROT C"
03:01:33.013398 > "500 PROT not implemented[CR][LF]"
03:01:33.014834 < "PWD"
03:01:33.014872 > "257 "/" is current directory[CR][LF]"
03:01:33.022143 < "EPSV"
03:01:33.022177 ====> Passive DATA channel requested by client
03:01:33.022191 DATA sockfilt for passive data channel starting...
03:01:33.023816 DATA sockfilt for passive data channel started (pid 20283)
03:01:33.023932 DATA sockfilt for passive data channel listens on port 40079
03:01:33.023966 > "229 Entering Passive Mode (|||40079|)[LF]"
03:01:33.023980 Client has been notified that DATA conn will be accepted on port 40079
03:01:33.030934 Client connects to port 40079
03:01:33.030967 ====> Client established passive DATA connection on port 40079
03:01:33.035847 < "TYPE I"
03:01:33.035880 > "200 I modify TYPE as you wanted[CR][LF]"
03:01:33.038090 < "STOR 409"
03:01:33.038110 STOR test number 409 in log/upload.409
03:01:33.038130 > "125 Gimme gimme gimme![CR][LF]"
03:01:33.046921 > Appending 51 bytes to file
03:01:33.055202 =====> Closing passive DATA connection...
03:01:33.055221 Server knows passive DATA connection is already disconnected
03:01:33.055263 DATA sockfilt for passive data channel quits (pid 20284)
03:01:33.055278 =====> Closed passive DATA connection
03:01:33.055292 received 51 bytes upload
03:01:33.055313 > "226 File transfer complete[CR][LF]"
03:01:33.121541 < "QUIT"
03:01:33.121583 > "221 bye bye baby[CR][LF]"
03:01:33.125845 MAIN sockfilt said DISC
03:01:33.125868 ====> Client disconnected
03:01:33.125910 Awaiting input
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:01:33.012441 ====> Client connect
03:01:33.012620 Received DATA (on stdin)
03:01:33.012636 > 160 bytes data, server => client
03:01:33.012649 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:01:33.012660 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:01:33.012670 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:01:33.099377 < 16 bytes data, client => server
03:01:33.099411 'USER anonymous\r\n'
03:01:33.099570 Received DATA (on stdin)
03:01:33.099583 > 33 bytes data, server => client
03:01:33.099593 '331 We are happy you popped in!\r\n'
03:01:33.110347 < 22 bytes data, client => server
03:01:33.110366 'PASS ftp@example.com\r\n'
03:01:33.110451 Received DATA (on stdin)
03:01:33.110462 > 30 bytes data, server => client
03:01:33.110472 '230 Welcome you silly person\r\n'
03:01:33.112704 < 8 bytes data, client => server
03:01:33.112718 'PBSZ 0\r\n'
03:01:33.112811 Received DATA (on stdin)
03:01:33.112822 > 26 bytes data, server => client
03:01:33.112832 '500 PBSZ not implemented\r\n'
03:01:33.114101 < 8 bytes data, client => server
03:01:33.114113 'PROT C\r\n'
03:01:33.114206 Received DATA (on stdin)
03:01:33.114217 > 26 bytes data, server => client
03:01:33.114226 '500 PROT not implemented\r\n'
03:01:33.115575 < 5 bytes data, client => server
03:01:33.115586 'PWD\r\n'
03:01:33.115679 Received DATA (on stdin)
03:01:33.115688 > 30 bytes data, server => client
03:01:33.115698 '257 "/" is current directory\r\n'
03:01:33.122901 < 6 bytes data, client => server
03:01:33.122924 'EPSV\r\n'
03:01:33.124793 Received DATA (on stdin)
03:01:33.124817 > 38 bytes data, server => client
03:01:33.124832 '229 Entering Passive Mode (|||40079|)\n'
03:01:33.136598 < 8 bytes data, client => server
03:01:33.136621 'TYPE I\r\n'
03:01:33.136708 Received DATA (on stdin)
03:01:33.136731 > 33 bytes data, server => client
03:01:33.136746 '200 I modify TYPE as you wanted\r\n'
03:01:33.138863 < 10 bytes data, client => server
03:01:33.138885 'STOR 409\r\n'
03:01:33.138958 Received DATA (on stdin)
03:01:33.138981 > 24 bytes data, server => client
03:01:33.138996 '125 Gimme gimme gimme!\r\n'
03:01:33.156121 Received DATA (on stdin)
03:01:33.156144 > 28 bytes data, server => client
03:01:33.156161 '226 File transfer complete\r\n'
03:01:33.222260 < 6 bytes data, client => server
03:01:33.222290 'QUIT\r\n'
03:01:33.222410 Received DATA (on stdin)
03:01:33.222434 > 18 bytes data, server => client
03:01:33.222448 '221 bye bye baby\r\n'
03:01:33.226622 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:01:33.124477 Running IPv4 version
03:01:33.124555 Listening on port 40079
03:01:33.124583 Wrote pid 20284 to ./.ftp_sockdata.pid
03:01:33.124599 Received PING (on stdin)
03:01:33.124675 Received PORT (on stdin)
03:01:33.131712 ====> Client connect
03:01:33.147700 < 51 bytes data, client => server
03:01:33.147727 'data\n to\n see\nthat FTP\nworks\n so does it?\n'
03:01:33.155929 ====> Client disconnect
03:01:33.156047 Received QUIT (on stdin)
03:01:33.156061 quits
03:01:33.156075 ============> 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:30.944340 == Info: STATE: INIT => CONNECT handle 0x56c8168; line 1362 (connection #-5000)
03:01:30.997986 == Info: Added connection 0. The cache now contains 1 members
03:01:31.016101 == Info: Trying 127.0.0.1:8993...
03:01:31.016718 == Info: TCP_NODELAY set
03:01:31.021998 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c8168; line 1418 (connection #0)
03:01:31.033629 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:31.034211 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c8168; line 1538 (connection #0)
03:01:31.035278 == Info: Marked for [keep alive]: FTP default
03:01:32.480006 == Info: successfully set certificate verify locations:
03:01:32.480273 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:01:32.600509 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:01:32.607766 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:01:32.607868 => Send SSL data, 126 bytes (0x7e)
0000: ...z..._!x........p...L.S..a#..je.7y.|....+./.,.0...............
0040: ../.5.....3...................................................
03:01:32.626787 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:01:32.632407 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:01:32.632476 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..O}{8.......TT..o,....."S3....... z..{.m). *......KH.2..,..
0040: ...V %T./................
03:01:32.676893 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:32.677378 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:01:32.677434 <= 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:32.776921 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:01:32.777206 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:01:32.777265 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...ol..}i*./..MP.........u...u..y.17....[7F]2..Y..,.e.....(
0040: . .9q.P........5..a....H...\9tg.[.2...'..kq....}.....]....'E..q.
0080: ..)...... l.=..h......*..@...1N\.......T.@...iWnH......6D...D...
00c0: P$..7.s...a...U7.8B..m.w!...?..g...!..t....7F......v..(.Y!......
0100: .W.`..o..l.Ka..n.j.@..%[.".!5.}...b..O.|..0dAq.....*/....Y......
0140: J.x.o?.......
03:01:32.847439 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:32.847793 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:01:32.847856 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:01:32.964909 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:01:32.965157 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:01:32.965214 => Send SSL data, 70 bytes (0x46)
0000: ...BA..+.......z.Qb..?.k...D...=....q.....!..&...J.=....P...O...
0040: ...w>.
03:01:32.977073 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:32.977653 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:01:32.977710 => Send SSL data, 1 bytes (0x1)
0000: .
03:01:32.998984 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:01:32.999042 => Send SSL data, 16 bytes (0x10)
0000: .....uZd..KN.u..
03:01:33.011590 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.014269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.015368 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:01:33.015429 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:01:33.017898 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.023577 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:01:33.023632 <= Recv SSL data, 16 bytes (0x10)
0000: ....d...99...CH.
03:01:33.051888 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:01:33.054144 == Info: Server certificate:
03:01:33.061608 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:33.067764 == Info: start date: Aug 31 23:39:18 2018 GMT
03:01:33.068709 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:01:33.069713 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:01:33.070578 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:01:33.072065 == Info: FTP 0x577dbc0 (line 3092) state change from STOP to WAIT220
03:01:33.078174 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:01:33.085973 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:01:33.089538 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:01:33.089729 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:01:33.089909 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:01:33.090086 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:01:33.097743 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:01:33.100660 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:01:33.101438 == Info: FTP 0x577dbc0 (line 792) state change from WAIT220 to USER
03:01:33.102193 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c8168; line 1553 (connection #0)
03:01:33.108278 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:33.108935 <= Recv header, 33 bytes (0x21)
0000: 331 We are happy you popped in
03:01:33.110182 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.110299 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:01:33.110685 == Info: FTP 0x577dbc0 (line 2520) state change from USER to PASS
03:01:33.111693 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:33.111840 <= Recv header, 30 bytes (0x1e)
0000: 230 Welcome you silly person
03:01:33.112547 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.112664 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:01:33.112988 == Info: FTP 0x577dbc0 (line 2496) state change from PASS to PBSZ
03:01:33.113278 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:33.113416 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:01:33.113946 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.114060 => Send header, 8 bytes (0x8)
0000: PROT C
03:01:33.114388 == Info: FTP 0x577dbc0 (line 2709) state change from PBSZ to PROT
03:01:33.114628 <= Recv SSL data, 5 bytes (0x5)
0000: ....2
03:01:33.114764 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:01:33.115419 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.115535 => Send header, 5 bytes (0x5)
0000: PWD
03:01:33.115854 == Info: FTP 0x577dbc0 (line 804) state change from PROT to PWD
03:01:33.116175 <= Recv SSL data, 5 bytes (0x5)
0000: ....6
03:01:33.116312 <= Recv header, 30 bytes (0x1e)
0000: 257 "/" is current directory
03:01:33.117421 == Info: Entry path is '/'
03:01:33.117642 == Info: FTP 0x577dbc0 (line 2844) state change from PWD to STOP
03:01:33.117813 == Info: protocol connect phase DONE
03:01:33.118058 == Info: STATE: PROTOCONNECT => DO handle 0x56c8168; line 1572 (connection #0)
03:01:33.120731 == Info: DO phase starts
03:01:33.122718 => Send SSL data, 5 bytes (0x5)
0000: .....
03:01:33.122837 => Send header, 6 bytes (0x6)
0000: EPSV
03:01:33.123175 == Info: FTP 0x577dbc0 (line 1330) state change from STOP to PASV
03:01:33.123348 == Info: Connect data stream passively
03:01:33.124129 == Info: ftp_perform ends with SECONDARY: 0
03:01:33.124838 == Info: STATE: DO => DOING handle 0x56c8168; line 1614 (connection #0)
03:01:33.125738 <= Recv SSL data, 5 bytes (0x5)
0000: ....>
03:01:33.125890 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||40079|).
03:01:33.131526 == Info: Trying 127.0.0.1:40079...
03:01:33.131591 == Info: TCP_NODELAY set
03:01:33.132286 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 40079
03:01:33.133393 == Info: FTP 0x577dbc0 (line 1977) state change from PASV to STOP
03:01:33.134023 == Info: DO phase is complete2
03:01:33.134447 == Info: STATE: DOING => DO_MORE handle 0x56c8168; line 1699 (connection #0)
03:01:33.135160 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:01:33.135374 == Info: DO-MORE connected phase starts
03:01:33.136408 => Send SSL data, 5 bytes (0x5)
0000: ....
03:01:33.136531 => Send header, 8 bytes (0x8)
0000: TYPE I
03:01:33.136874 == Info: FTP 0x577dbc0 (line 3418) state change from STOP to STOR_TYPE
03:01:33.137253 <= Recv SSL data, 5 bytes (0x5)
0000: ....9
03:01:33.137395 <= Recv header, 33 bytes (0x21)
0000: 200 I modify TYPE as you wanted
03:01:33.138682 => Send SSL data, 5 bytes (0x5)
0000: ...."
03:01:33.138801 => Send header, 10 bytes (0xa)
0000: STOR 409
03:01:33.139131 == Info: FTP 0x577dbc0 (line 1651) state change from STOR_TYPE to STOR
03:01:33.140844 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:01:33.140985 <= Recv header, 24 bytes (0x18)
0000: 125 Gimme gimme gimme
03:01:33.142770 == Info: FTP 0x577dbc0 (line 477) state change from STOR to STOP
03:01:33.143477 == Info: STATE: DO_MORE => DO_DONE handle 0x56c8168; line 1724 (connection #0)
03:01:33.143915 == Info: STATE: DO_DONE => PERFORM handle 0x56c8168; line 1749 (connection #0)
03:01:33.148226 => Send data, 51 bytes (0x33)
0000: data. to. see.that FTP.works. so does it?.
03:01:33.148897 == Info: We are completely uploaded and fine
03:01:33.151278 == Info: STATE: PERFORM => DONE handle 0x56c8168; line 1939 (connection #0)
03:01:33.151600 == Info: multi_done
03:01:33.154419 == Info: Remembering we are in dir ""
03:01:33.184727 <= Recv SSL data, 5 bytes (0x5)
0000: ....4
03:01:33.185103 <= Recv header, 28 bytes (0x1c)
0000: 226 File transfer complete
03:01:33.200577 == Info: Connection #0 to host 127.0.0.1 left intact
03:01:33.202422 == Info: Expire cleared (transfer 0x56c8168)
=== End of file trace409
=== Start of file upload.409
data
to
see
that FTP
works
so does it?
=== End of file upload.409
=== Start of file valgrind409
==20281== Invalid read of size 8
==20281== at 0x53315A5: check_free (dlerror.c:188)
==20281== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20281== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20281== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20281== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20281== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20281== by 0x4D60EB9: exit (exit.c:139)
==20281== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20281== Address 0x5b31af0 is 0 bytes after a block of size 32 alloc'd
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
==20281== Invalid free() / delete / delete[] / realloc()
==20281== at 0x48369AB: free (vg_replace_malloc.c:540)
==20281== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20281== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20281== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20281== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20281== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20281== by 0x4D60EB9: exit (exit.c:139)
==20281== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20281== Address 0x5b31ad8 is 8 bytes inside a block of size 32 alloc'd
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
==20281== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20281== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20281== by 0x25C282: OPENSSL_malloc (mem.c:106)
==20281== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==20281== by 0x24B104: err_get_state (err.c:210)
==20281== by 0x24BCDA: ERR_put_error (err.c:636)
==20281== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==20281== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==20281== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==20281== by 0x270326: by_file_ctrl (by_file.c:111)
==20281== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==20281== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==20281== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20281== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==20281== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==20281== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==20281== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==20281==
=== End of file valgrind409
test 0500...[simple libcurl HTTP GET tool]
--pd--oemv- OK (356 out of 1250, remaining: 25:12, took 1.1s, duration: 10:02)
test 0501...[simple libcurl attempt operation without URL set]
-------emv- OK (357 out of 1250, remaining: 25:08, took 0.9s, duration: 10:03)
test 0502...[simple multi file:// get]
---d---emv- OK (358 out of 1250, remaining: 25:05, took 1.0s, duration: 10:04)
test 0503...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (359 out of 1250, remaining: 25:03, took 1.6s, duration: 10:05)
test 0504...[simple multi through local proxy without listener]
-------emv- OK (360 out of 1250, remaining: 24:59, took 1.0s, duration: 10:06)
test 0505...[FTP upload with rename after transfer]
--p-u--emv- OK (361 out of 1250, remaining: 24:56, took 1.1s, duration: 10:07)
test 0506...[HTTP with shared cookie list (and dns cache)]
s-----oemv- OK (362 out of 1250, remaining: 24:53, took 1.2s, duration: 10:08)
test 0507...[multi interface get with non-existing host name]
-------emv- OK (363 out of 1250, remaining: 24:50, took 1.0s, duration: 10:09)
test 0508...[send HTTP POST using read callback]
--pd---emv- OK (364 out of 1250, remaining: 24:47, took 1.1s, duration: 10:11)
test 0509...[initialization with memory callbacks and actual usage]
s------emv- OK (365 out of 1250, remaining: 24:43, took 0.9s, duration: 10:11)
test 0510...[send HTTP POST using read callback, using chunked transfer-encoding]
--pd---emv- OK (366 out of 1250, remaining: 24:42, took 2.1s, duration: 10:13)
test 0511...[FTP with FILETIME and NOBODY but missing file]
--p----emv- OK (367 out of 1250, remaining: 24:39, took 1.0s, duration: 10:15)
test 0512...[simple curl_easy_duplicate() test]
--pd---emv- OK (368 out of 1250, remaining: 24:36, took 1.1s, duration: 10:16)
test 0513...[send HTTP POST using read callback that returns CURL_READFUNC_ABORT]
--p----emv- OK (369 out of 1250, remaining: 24:35, took 2.0s, duration: 10:18)
test 0514...[First set options to POST and then to make HEAD]
--pd---emv- OK (370 out of 1250, remaining: 24:34, took 2.0s, duration: 10:20)
test 0515...[make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero]
--pd---emv- OK (371 out of 1250, remaining: 24:31, took 1.0s, duration: 10:21)
test 0516...[make a HTTPPOST set to NULL]
--pd---emv- OK (372 out of 1250, remaining: 24:28, took 1.0s, duration: 10:22)
test 0517...[curl_getdate() testing]
-------emv- OK (373 out of 1250, remaining: 24:24, took 0.8s, duration: 10:23)
test 0518...[HTTP GET with more than FD_SETSIZE descriptors open]
valgrind SKIPPED
--pd---em-- OK (374 out of 1250, remaining: 24:19, took 0.0s, duration: 10:23)
test 0519...[GET same URL twice with different users]
--pd---emv- OK (375 out of 1250, remaining: 24:16, took 1.1s, duration: 10:24)
test 0520...[FTP RETR with FILETIME]
--pd---emv- OK (376 out of 1250, remaining: 24:13, took 1.1s, duration: 10:25)
test 0521...[FTP dir list PASV with CURLOPT_PORT]
--pd---emv- OK (377 out of 1250, remaining: 24:10, took 1.1s, duration: 10:26)
test 0522...[HTTP GET with CURLOPT_PORT]
s-p----emv- OK (378 out of 1250, remaining: 24:07, took 1.0s, duration: 10:27)
test 0523...[HTTP GET with proxy and CURLOPT_PORT]
s-p----emv- OK (379 out of 1250, remaining: 24:04, took 1.1s, duration: 10:28)
test 0524...[FTP upload with target URL ending with slash]
--p----emv- OK (380 out of 1250, remaining: 24:01, took 1.0s, duration: 10:29)
test 0525...[FTP PORT upload using multi interface]
--p-u--emv- OK (381 out of 1250, remaining: 23:58, took 1.1s, duration: 10:30)
test 0526...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (382 out of 1250, remaining: 24:02, took 4.3s, duration: 10:34)
test 0527...[FTP RETR same file using different handles but same connection]
--pd---emv- OK (383 out of 1250, remaining: 24:06, took 4.3s, duration: 10:39)
test 0528...[HTTP GET same file using different handles but same connection]
--pd---emv- OK (384 out of 1250, remaining: 24:10, took 4.1s, duration: 10:43)
test 0529...[FTP PORT upload using multi interface (weird cleanup function sequence)]
--p-u--emv- OK (385 out of 1250, remaining: 24:07, took 1.1s, duration: 10:44)
test 0531...[FTP PORT upload using multi interface and get 425 response]
Killed
--p----emv- OK (386 out of 1250, remaining: 24:04, took 1.0s, duration: 10:45)
test 0532...[FTP RETR same file using reset handles between each transfer]
--pd---emv- OK (387 out of 1250, remaining: 24:08, took 4.3s, duration: 10:49)
test 0533...[FTP RETR a non-existing file twice using the multi interface]
Killed
Killed
--p----emv- OK (388 out of 1250, remaining: 24:07, took 2.1s, duration: 10:51)
test 0534...[FTP RETR twice using multi: non-existing host and non-existing file]
Killed
--p----emv- OK (389 out of 1250, remaining: 24:07, took 2.1s, duration: 10:53)
test 0535...[HTTP GET multi two files with FAILONERROR]
--pd---emv- OK (390 out of 1250, remaining: 24:06, took 2.1s, duration: 10:55)
test 0537...[HTTP GET with a HUGE number of file descriptors open]
--pd---emv- OK (391 out of 1250, remaining: 24:04, took 1.5s, duration: 10:57)
test 0538...[FTP multi-interface download, failed login: PASS not valid]
--p----emv- OK (392 out of 1250, remaining: 24:01, took 1.0s, duration: 10:58)
test 0539...[Two FTP fetches using different CURLOPT_FTP_FILEMETHOD]
--pd---emv- OK (393 out of 1250, remaining: 23:58, took 1.2s, duration: 10:59)
test 0540...[HTTP proxy auth Digest multi API re-using connection]
--pd---emv- OK (394 out of 1250, remaining: 23:55, took 1.1s, duration: 11:00)
test 0541...[FTP upload and upload same file again without rewind]
--p----emv- OK (395 out of 1250, remaining: 23:52, took 1.1s, duration: 11:01)
test 0542...[FTP a file with NOBODY yes and HEADER no]
--pd---emv- OK (396 out of 1250, remaining: 23:49, took 1.0s, duration: 11:02)
test 0543...[curl_easy_escape]
s------emv- OK (397 out of 1250, remaining: 23:46, took 0.9s, duration: 11:03)
test 0544...[HTTP POST text data using CURLOPT_COPYPOSTFIELDS]
--pd---emv- OK (398 out of 1250, remaining: 23:43, took 1.0s, duration: 11:04)
test 0545...[HTTP POST binary with embedded zero and no trailing zero]
--pd---emv- OK (399 out of 1250, remaining: 23:40, took 1.0s, duration: 11:05)
test 0546...[FTP RETR a non-existing file then a found one using the multi interface]
Killed
s-p----emv- OK (400 out of 1250, remaining: 23:39, took 2.1s, duration: 11:08)
test 0547...[HTTP proxy auth NTLM with POST data from read callback]
--pd---emv- OK (401 out of 1250, remaining: 23:36, took 1.2s, duration: 11:09)
test 0548...[HTTP proxy auth NTLM with POST data from CURLOPT_POSTFIELDS]
--pd---emv- OK (402 out of 1250, remaining: 23:34, took 1.2s, duration: 11:10)
test 0549...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE]
s-p----emv- OK (403 out of 1250, remaining: 23:31, took 1.1s, duration: 11:11)
test 0550...[FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE and ASCII transfer]
s-p----emv- OK (404 out of 1250, remaining: 23:28, took 1.0s, duration: 11:12)
test 0551...[HTTP proxy auth Digest with POST data from read callback]
--pd---emv- OK (405 out of 1250, remaining: 23:25, took 1.1s, duration: 11:13)
test 0552...[HTTP proxy auth Digest with 70K POST data from read callback]
--pd---emv- OK (406 out of 1250, remaining: 23:29, took 4.5s, duration: 11:18)
test 0553...[HTTP post with huge request headers and post data from callback]
--pd---emv- OK (407 out of 1250, remaining: 23:26, took 1.1s, duration: 11:19)
test 0554...[HTTP multi-part formpost using read callback for the file part]
--pd---emv- OK (408 out of 1250, remaining: 23:24, took 1.2s, duration: 11:20)
test 0555...[HTTP proxy auth NTLM with POST data from read callback multi-if]
--pd---emv- OK (409 out of 1250, remaining: 23:21, took 1.2s, duration: 11:21)
test 0556...[send and recv HTTP]
--pd---emv- OK (410 out of 1250, remaining: 23:18, took 1.0s, duration: 11:22)
test 0557...[curl_mprintf() testing]
s------emv- OK (411 out of 1250, remaining: 23:15, took 0.9s, duration: 11:23)
test 0558...[libtest memory tracking operational]
------oemv- OK (412 out of 1250, remaining: 23:11, took 0.8s, duration: 11:24)
test 0559...[use tiny CURLOPT_BUFFERSIZE]
---d---emv- OK (413 out of 1250, remaining: 23:08, took 1.0s, duration: 11:25)
test 0560...[simple HTTPS GET with multi interface]
goto problem 31
valgrind ERROR ==20572== Invalid read of size 8
==20572== at 0x53315A5: check_free (dlerror.c:188)
==20572== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20572== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20572== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20572== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20572== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20572== by 0x4D60EB9: exit (exit.c:139)
==20572== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20572== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
==20572== Invalid free() / delete / delete[] / realloc()
==20572== at 0x48369AB: free (vg_replace_malloc.c:540)
==20572== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20572== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20572== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20572== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20572== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20572== by 0x4D60EB9: exit (exit.c:139)
==20572== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20572== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
==20572== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
== Contents of files in the log/ dir after test 560
=== Start of file http_server.log
03:03:00.465585 ====> Client connect
03:03:00.465626 accept_connection 3 returned 4
03:03:00.465641 accept_connection 3 returned 0
03:03:00.546140 Read 56 bytes
03:03:00.546183 Process 56 bytes request
03:03:00.546196 Got request: GET /560 HTTP/1.1
03:03:00.546208 Requested test number 560 part 0
03:03:00.546232 - request found to be complete
03:03:00.546258 Wrote request (56 bytes) input to log/server.input
03:03:00.546278 Send response test560 section <data>
03:03:00.546348 Response sent (108 bytes) and written to log/server.response
03:03:00.546358 => persistent connection request ended, awaits new request
03:03:00.597367 Connection closed by client
03:03:00.597422 ====> 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
==20572== Invalid read of size 8
==20572== at 0x53315A5: check_free (dlerror.c:188)
==20572== by 0x5331AB1: free_key_mem (dlerror.c:221)
==20572== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==20572== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20572== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20572== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20572== by 0x4D60EB9: exit (exit.c:139)
==20572== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20572== Address 0x5a994f0 is 0 bytes after a block of size 32 alloc'd
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
==20572== Invalid free() / delete / delete[] / realloc()
==20572== at 0x48369AB: free (vg_replace_malloc.c:540)
==20572== by 0x5331AB9: free_key_mem (dlerror.c:223)
==20572== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==20572== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==20572== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==20572== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==20572== by 0x4D60EB9: exit (exit.c:139)
==20572== by 0x4D4B0A1: (below main) (libc-start.c:342)
==20572== Address 0x5a994d8 is 8 bytes inside a block of size 32 alloc'd
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
==20572== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==20572== at 0x483577F: malloc (vg_replace_malloc.c:309)
==20572== by 0x2369D0: OPENSSL_malloc (mem.c:106)
==20572== by 0x24967C: CRYPTO_set_thread_local (thread_pthread.c:182)
==20572== by 0x225852: err_get_state (err.c:210)
==20572== by 0x226428: ERR_put_error (err.c:636)
==20572== by 0x23B0C8: PEM_read_bio (pem_lib.c:622)
==20572== by 0x308967: PEM_X509_INFO_read_bio (pem_info.c:166)
==20572== by 0x24AF92: X509_load_cert_crl_file (by_file.c:255)
==20572== by 0x24AA74: by_file_ctrl (by_file.c:111)
==20572== by 0x24E62E: X509_LOOKUP_ctrl (x509_lu.c:123)
==20572== by 0x24DB0F: X509_STORE_load_locations (x509_d2.c:91)
==20572== by 0x1D1A93: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==20572== by 0x1A2427: ossl_connect_step1 (openssl.c:2599)
==20572== by 0x1A4E3C: ossl_connect_common (openssl.c:3549)
==20572== by 0x1A50B8: Curl_ossl_connect_nonblocking (openssl.c:3635)
==20572== by 0x154BDD: Curl_ssl_connect_nonblocking (vtls.c:275)
==20572==
=== End of file valgrind560
test 0561...[FTP RETR with CURLOPT_PROXY_TRANSFER_MODE, ASCII transfer and type=i]
s-p----emv- OK (415 out of 1250, remaining: 23:07, took 1.0s, duration: 11:29)
test 0562...[FTP a type=A URL and CURLOPT_PORT set]
--pd---emv- OK (416 out of 1250, remaining: 23:04, took 1.1s, duration: 11:30)
test 0563...[FTP type=A URL and CURLOPT_PORT set and proxy]
--p----emv- OK (417 out of 1250, remaining: 23:01, took 1.0s, duration: 11:31)
test 0564...[FTP RETR a file over a SOCKS proxy using the multi interface]
s-pd---emv- OK (418 out of 1250, remaining: 23:00, took 2.1s, duration: 11:33)
test 0565...[send HTTP POST using read callback, chunked transfer-encoding and Digest]
--pd---emv- OK (419 out of 1250, remaining: 23:00, took 2.1s, duration: 11:35)
test 0566...[HTTP GET with CURLINFO_CONTENT_LENGTH_DOWNLOAD and 0 bytes transfer]
--pd--oemv- OK (420 out of 1250, remaining: 22:57, took 1.0s, duration: 11:36)
test 0567...[simple RTSP OPTIONS command]
--pd---emv- OK (421 out of 1250, remaining: 22:58, took 3.1s, duration: 11:39)
test 0568...[RTSP Announce (PUT and POST style) test]
--p----emv- OK (422 out of 1250, remaining: 22:55, took 1.1s, duration: 11:41)
test 0569...[RTSP Session ID parsing]
--p---oemv- OK (423 out of 1250, remaining: 22:52, took 1.1s, duration: 11:42)
test 0570...[RTSP CSeq and Session Mismatch checks]
--p----emv- OK (424 out of 1250, remaining: 22:49, took 1.1s, duration: 11:43)
test 0571...[RTSP RTP Interleaving Test]
s-----oemv- OK (425 out of 1250, remaining: 22:47, took 1.1s, duration: 11:44)
test 0572...[RTSP GET_PARAMETER (Put/Heartbeat/Post)]
--p----emv- OK (426 out of 1250, remaining: 22:44, took 1.1s, duration: 11:45)
test 0573...[verify connect time with multi interface]
--pd---emv- OK (427 out of 1250, remaining: 22:41, took 1.1s, duration: 11:46)
test 0574...[FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)]
s-p----emv- OK (428 out of 1250, remaining: 22:40, took 1.9s, duration: 11:48)
test 0575...[FTP wildcard download - dup_handle and multi interface]
s-p----emv- OK (429 out of 1250, remaining: 22:40, took 2.4s, duration: 11:50)
test 0576...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)]
s------emv- OK (430 out of 1250, remaining: 22:38, took 1.4s, duration: 11:52)
test 0577...[Funny RTSP version in response]
--p----emv- OK (431 out of 1250, remaining: 22:35, took 1.0s, duration: 11:53)
test 0578...[HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback]
---d--oemv- OK (432 out of 1250, remaining: 22:32, took 1.1s, duration: 11:54)
test 0579...[small chunked HTTP POSTs with digest auth. and progress callback]
---d--oemv- OK (433 out of 1250, remaining: 22:31, took 2.1s, duration: 11:56)
test 0580...[multi interface, multiple Location: headers]
--pd---emv- OK (434 out of 1250, remaining: 22:28, took 1.0s, duration: 11:57)
test 0581...[multi interface, multiple Content-Type: headers]
--pd---emv- OK (435 out of 1250, remaining: 22:26, took 1.0s, duration: 11:58)
test 0582 SKIPPED: curl lacks sftp server support
test 0583 SKIPPED: curl lacks sftp server support
test 0585...[socket open/close callbacks]
--pd---emv- OK (438 out of 1250, remaining: 22:13, took 1.1s, duration: 11:59)
test 0586...[FTP and open/close socket callbacks]
--pd---emv- OK (439 out of 1250, remaining: 22:11, took 1.1s, duration: 12:00)
test 0587...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (440 out of 1250, remaining: 22:08, took 1.1s, duration: 12:01)
test 0588...[FTP PORT upload using multi interface, EPRT doesn't work]
--p-u--emv- OK (441 out of 1250, remaining: 22:05, took 1.1s, duration: 12:02)
test 0589...[make a HTTP MIME POST set to NULL]
--pd---emv- OK (442 out of 1250, remaining: 22:03, took 1.0s, duration: 12:03)
test 0590...[HTTP proxy offers Negotiate+NTLM, use only NTLM]
--pd---emv- OK (443 out of 1250, remaining: 22:00, took 1.1s, duration: 12:04)
test 0591...[FTP multi PORT and 425 on upload]
--p----emv- OK (444 out of 1250, remaining: 21:58, took 1.1s, duration: 12:06)
test 0592...[FTP multi PORT and 421 on upload]
--p----emv- OK (445 out of 1250, remaining: 21:55, took 1.1s, duration: 12:07)
test 0593...[FTP multi PORT upload, no data conn and no transient neg. reply]
--p----emv- OK (446 out of 1250, remaining: 21:56, took 3.1s, duration: 12:10)
test 0595...[verify close callbacks with passive FTP]
--pd---emv- OK (447 out of 1250, remaining: 21:53, took 1.1s, duration: 12:11)
test 0596...[verify close callbacks with active FTP]
--pd---emv- OK (448 out of 1250, remaining: 21:51, took 1.2s, duration: 12:12)
test 0597...[FTP connect only option]
--p----emv- OK (449 out of 1250, remaining: 21:48, took 1.0s, duration: 12:13)
test 0598...[curl_easy_reset with referer and other strings set]
--pd---emv- OK (450 out of 1250, remaining: 21:45, took 1.1s, duration: 12:14)
test 0599...[HTTP GET with progress callback and redirects changing content sizes]
---d--oemv- OK (451 out of 1250, remaining: 21:43, took 1.1s, duration: 12:15)
test 0600 SKIPPED: curl lacks sftp server support
test 0601 SKIPPED: curl lacks scp server support
test 0603 SKIPPED: curl lacks scp server support
test 0605 SKIPPED: curl lacks scp server support
test 0632 SKIPPED: curl lacks sftp support
test 0643...[HTTP multi-part mimepost using read callback for the file part]
--pd---emv- OK (495 out of 1250, remaining: 18:43, took 1.2s, duration: 12:16)
test 0644...[HTTP multi-part formpost with aborted read callback]
--p----emv- OK (496 out of 1250, remaining: 18:41, took 1.1s, duration: 12:17)
test 0645...[HTTP multi-part chunked mimepost using read callback for the file part]
--pd---emv- OK (497 out of 1250, remaining: 18:42, took 3.2s, duration: 12:21)
test 0646...[SMTP multipart using mime API]
--p-u--emv- OK (498 out of 1250, remaining: 18:44, took 3.3s, duration: 12:24)
test 0647...[IMAP APPEND multipart using mime API]
--p-u--emv- OK (499 out of 1250, remaining: 18:45, took 3.4s, duration: 12:27)
test 0648...[SMTP multipart with transfer content encoders]
--p-u--emv- OK (500 out of 1250, remaining: 18:43, took 1.2s, duration: 12:28)
test 0649...[SMTP multipart with 7bit encoder error]
--p-u--emv- OK (501 out of 1250, remaining: 18:41, took 1.2s, duration: 12:30)
test 0650...[HTTP formpost using form API]
--pd---emv- OK (502 out of 1250, remaining: 18:41, took 2.1s, duration: 12:32)
test 0651...[curl_formadd with huge COPYCONTENTS]
--pd---emv- OK (503 out of 1250, remaining: 18:40, took 2.1s, duration: 12:34)
test 0652...[SMTP with encoded huge mime data contents]
--p-u--emv- OK (504 out of 1250, remaining: 18:38, took 1.1s, duration: 12:35)
test 0653...[Reuse of handle after altering mime data]
--pd---emv- OK (505 out of 1250, remaining: 18:36, took 1.2s, duration: 12:36)
test 0654...[HTTP duplicate easy handle with mime data]
--pd---emv- OK (506 out of 1250, remaining: 18:35, took 2.2s, duration: 12:38)
test 0655...[resolver start callback]
---d---emv- OK (507 out of 1250, remaining: 18:33, took 1.1s, duration: 12:39)
test 0658...[Pass URL to libcurl with CURLOPT_CURLU]
--p----emv- OK (509 out of 1250, remaining: 18:27, took 1.0s, duration: 12:41)
test 0659...[CURLOPT_CURLU without the path set - over proxy]
--p----emv- OK (510 out of 1250, remaining: 18:25, took 1.1s, duration: 12:42)
test 0660...[IMAP CONNECT_ONLY option]
--p----emv- OK (511 out of 1250, remaining: 18:23, took 1.0s, duration: 12:43)
test 0700...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (512 out of 1250, remaining: 18:21, took 1.2s, duration: 12:44)
test 0701...[HTTP GET via SOCKS5 proxy]
--pd---emv- OK (513 out of 1250, remaining: 18:19, took 1.2s, duration: 12:45)
test 0702...[Attempt connect to non-listening HTTP server via SOCKS4 proxy]
-------emv- OK (514 out of 1250, remaining: 18:17, took 1.2s, duration: 12:46)
test 0703...[Attempt connect to non-listening HTTP server via SOCKS5 proxy]
-------emv- OK (515 out of 1250, remaining: 18:15, took 1.1s, duration: 12:47)
test 0704...[Attempt connect to non-listening SOCKS4 proxy]
-------emv- OK (516 out of 1250, remaining: 18:13, took 1.1s, duration: 12:48)
test 0705...[Attempt connect to non-listening SOCKS5 proxy]
-------emv- OK (517 out of 1250, remaining: 18:11, took 1.2s, duration: 12:50)
test 0706...[FTP dir list PASV via SOCKS4]
--pd---emv- OK (518 out of 1250, remaining: 18:10, took 1.2s, duration: 12:51)
test 0707...[FTP dir list PASV via SOCKS5]
--pd---emv- OK (519 out of 1250, remaining: 18:08, took 1.3s, duration: 12:52)
test 0708...[HTTP GET via SOCKS4 proxy]
--pd---emv- OK (520 out of 1250, remaining: 18:06, took 1.2s, duration: 12:53)
test 0709...[HTTP GET via SOCKS5 set in http_proxy environment variable]
--pd---emv- OK (521 out of 1250, remaining: 18:04, took 1.2s, duration: 12:55)
test 0710...[HTTP GET via SOCKS5 set with --proxy]
--pd---emv- OK (522 out of 1250, remaining: 18:02, took 1.2s, duration: 12:56)
test 0711...[FTP fetch with all_proxy set to socks5]
--pd---emv- OK (523 out of 1250, remaining: 18:00, took 1.3s, duration: 12:57)
test 0712...[FTP fetch with --proxy set to socks5://]
--pd---emv- OK (524 out of 1250, remaining: 17:59, took 1.3s, duration: 12:58)
test 0713...[FTP fetch with --proxy set to socks5:// and with --connect-to]
--pd---emv- OK (525 out of 1250, remaining: 17:57, took 1.3s, duration: 13:00)
test 0714...[FTP fetch with --proxy set to http:// and with --connect-to]
--p----emv- OK (526 out of 1250, remaining: 17:57, took 2.7s, duration: 13:02)
test 0715...[FTP fetch with --preproxy, --proxy and --connect-to]
--p----emv- OK (527 out of 1250, remaining: 17:57, took 2.7s, duration: 13:05)
test 0716...[SOCKS5 proxy with too long user name]
-------emv- OK (528 out of 1250, remaining: 17:55, took 1.1s, duration: 13:06)
test 0717...[SOCKS5 proxy auth]
--pd---emv- OK (529 out of 1250, remaining: 17:53, took 1.2s, duration: 13:07)
test 0800...[IMAP FETCH message]
--pd---emv- OK (530 out of 1250, remaining: 17:52, took 1.3s, duration: 13:09)
test 0801...[IMAP FETCH message by MAILINDEX and SECTION]
--pd---emv- OK (531 out of 1250, remaining: 17:50, took 1.3s, duration: 13:10)
test 0802...[IMAP SELECT UIDVALIDITY Success]
--pd---emv- OK (532 out of 1250, remaining: 17:48, took 1.3s, duration: 13:11)
test 0803...[IMAP SELECT UIDVALIDITY Failure]
--p----emv- OK (533 out of 1250, remaining: 17:46, took 1.3s, duration: 13:13)
test 0804...[IMAP doesn't perform SELECT if re-using the same mailbox]
--pd---emv- OK (534 out of 1250, remaining: 17:45, took 1.4s, duration: 13:14)
test 0805...[IMAP APPEND message]
--p-u--emv- OK (535 out of 1250, remaining: 17:43, took 1.2s, duration: 13:15)
test 0806...[IMAP LIST mailbox]
--pd---emv- OK (536 out of 1250, remaining: 17:41, took 1.2s, duration: 13:17)
test 0807...[IMAP LSUB mailbox]
--pd---emv- OK (537 out of 1250, remaining: 17:39, took 1.2s, duration: 13:18)
test 0808...[IMAP EXAMINE mailbox (CUSTOMREQUEST)]
--pd---emv- OK (538 out of 1250, remaining: 17:38, took 1.2s, duration: 13:19)
test 0809...[IMAP mailbox STATUS (CUSTOMREQUEST)]
--pd---emv- OK (539 out of 1250, remaining: 17:36, took 1.2s, duration: 13:20)
test 0810...[IMAP SEARCH for NEW messages]
--pd---emv- OK (540 out of 1250, remaining: 17:34, took 1.3s, duration: 13:22)
test 0811...[IMAP CREATE mailbox (CUSTOMREQUEST)]
--p----emv- OK (541 out of 1250, remaining: 17:32, took 1.2s, duration: 13:23)
test 0812...[IMAP DELETE mailbox (CUSTOMREQUEST)]
--p----emv- OK (542 out of 1250, remaining: 17:30, took 1.2s, duration: 13:24)
test 0813...[IMAP RENAME mailbox (CUSTOMREQUEST)]
--p----emv- OK (543 out of 1250, remaining: 17:29, took 1.2s, duration: 13:25)
test 0814...[IMAP CHECK mailbox (CUSTOMREQUEST)]
--p----emv- OK (544 out of 1250, remaining: 17:27, took 1.3s, duration: 13:27)
test 0815...[IMAP STORE - delete message (CUSTOMREQUEST)]
--p----emv- OK (545 out of 1250, remaining: 17:25, took 1.4s, duration: 13:28)
test 0816...[IMAP STORE - delete message with confirmation (CUSTOMREQUEST)]
--p----emv- OK (546 out of 1250, remaining: 17:24, took 1.4s, duration: 13:29)
test 0817...[IMAP COPY message to mailbox (CUSTOMREQUEST)]
--p----emv- OK (547 out of 1250, remaining: 17:22, took 1.2s, duration: 13:30)
test 0818...[IMAP NOOP (CUSTOMREQUEST)]
--pd---emv- OK (548 out of 1250, remaining: 17:20, took 1.2s, duration: 13:32)
test 0819...[IMAP plain authentication]
--pd---emv- OK (549 out of 1250, remaining: 17:18, took 1.3s, duration: 13:33)
test 0820...[IMAP login authentication]
--pd---emv- OK (550 out of 1250, remaining: 17:17, took 1.3s, duration: 13:34)
test 0821...[IMAP CRAM-MD5 authentication]
--pd---emv- OK (551 out of 1250, remaining: 17:15, took 1.3s, duration: 13:36)
test 0822...[IMAP NTLM authentication]
--pd---emv- OK (552 out of 1250, remaining: 17:13, took 1.4s, duration: 13:37)
test 0823...[IMAP DIGEST-MD5 authentication]
--pd---emv- OK (553 out of 1250, remaining: 17:12, took 1.4s, duration: 13:38)
test 0824...[IMAP OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (554 out of 1250, remaining: 17:10, took 1.4s, duration: 13:40)
test 0825...[IMAP plain authentication with initial response]
--pd---emv- OK (555 out of 1250, remaining: 17:08, took 1.3s, duration: 13:41)
test 0826...[IMAP login authentication with initial response]
--pd---emv- OK (556 out of 1250, remaining: 17:07, took 1.3s, duration: 13:43)
test 0827...[IMAP NTLM authentication with initial response]
--pd---emv- OK (557 out of 1250, remaining: 17:05, took 1.4s, duration: 13:44)
test 0828...[IMAP OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (558 out of 1250, remaining: 17:04, took 1.3s, duration: 13:45)
test 0829...[IMAP with URL-encoded CR LF in the URL]
-------emv- OK (559 out of 1250, remaining: 17:02, took 1.2s, duration: 13:46)
test 0830...[IMAP CRAM-MD5 graceful cancellation]
--p----emv- OK (560 out of 1250, remaining: 17:00, took 1.2s, duration: 13:48)
test 0831...[IMAP NTLM graceful cancellation]
--p----emv- OK (561 out of 1250, remaining: 16:58, took 1.2s, duration: 13:49)
test 0832...[IMAP DIGEST-MD5 graceful cancellation]
--p----emv- OK (562 out of 1250, remaining: 16:56, took 1.2s, duration: 13:50)
test 0833...[IMAP CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (563 out of 1250, remaining: 16:55, took 1.3s, duration: 13:51)
test 0834...[IMAP NTLM authentication with SASL downgrade]
--pd---emv- OK (564 out of 1250, remaining: 16:53, took 1.4s, duration: 13:53)
test 0835...[IMAP DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (565 out of 1250, remaining: 16:51, took 1.4s, duration: 13:54)
test 0837...[IMAP external authentication]
--pd---emv- OK (566 out of 1250, remaining: 16:50, took 1.3s, duration: 13:55)
test 0838...[IMAP external authentication without credentials]
--pd---emv- OK (567 out of 1250, remaining: 16:48, took 1.3s, duration: 13:57)
test 0839...[IMAP external authentication with initial response]
--pd---emv- OK (568 out of 1250, remaining: 16:46, took 1.3s, duration: 13:58)
test 0840...[IMAP external authentication with initial response without credentials]
--pd---emv- OK (569 out of 1250, remaining: 16:45, took 1.3s, duration: 13:59)
test 0841...[IMAP custom request doesn't check continuation data]
--pd---emv- OK (570 out of 1250, remaining: 16:43, took 1.3s, duration: 14:01)
test 0842...[IMAP OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (571 out of 1250, remaining: 16:41, took 1.3s, duration: 14:02)
test 0843...[IMAP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (572 out of 1250, remaining: 16:40, took 1.4s, duration: 14:03)
test 0844...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (573 out of 1250, remaining: 16:38, took 1.2s, duration: 14:05)
test 0845...[IMAP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (574 out of 1250, remaining: 16:36, took 1.2s, duration: 14:06)
test 0846...[IMAP PREAUTH response]
--pd---emv- OK (575 out of 1250, remaining: 16:34, took 1.3s, duration: 14:07)
test 0847...[IMAP FETCH message]
--pd---emv- OK (576 out of 1250, remaining: 16:33, took 1.3s, duration: 14:08)
test 0848...[IMAP plain authentication with alternative authorization identity]
--pd---emv- OK (577 out of 1250, remaining: 16:31, took 1.3s, duration: 14:10)
test 0849...[IMAP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (578 out of 1250, remaining: 16:29, took 1.2s, duration: 14:11)
test 0850...[POP3 RETR message]
--pd---emv- OK (579 out of 1250, remaining: 16:30, took 3.3s, duration: 14:14)
test 0851...[POP3 LIST one message]
--p----emv- OK (580 out of 1250, remaining: 16:28, took 1.2s, duration: 14:15)
test 0852...[POP3 LIST invalid message]
--p----emv- OK (581 out of 1250, remaining: 16:26, took 1.2s, duration: 14:17)
test 0853...[POP3 LIST messages from *SLOW* server]
--pd---emv- OK (582 out of 1250, remaining: 16:28, took 4.3s, duration: 14:21)
test 0854...[POP3 LIST no messages available]
--p----emv- OK (583 out of 1250, remaining: 16:26, took 1.2s, duration: 14:22)
test 0855...[POP3 RETR invalid message]
--p----emv- OK (584 out of 1250, remaining: 16:25, took 1.2s, duration: 14:23)
test 0856...[POP3 invalid login]
--p----emv- OK (585 out of 1250, remaining: 16:23, took 1.2s, duration: 14:24)
test 0857...[POP3 RETR message with dot-prefixed line]
--pd---emv- OK (586 out of 1250, remaining: 16:21, took 1.3s, duration: 14:26)
test 0858...[POP3 DELE message (CUSTOMREQUEST)]
--p----emv- OK (587 out of 1250, remaining: 16:19, took 1.2s, duration: 14:27)
test 0859...[POP3 STAT (CUSTOMREQUEST)]
--p----emv- OK (588 out of 1250, remaining: 16:17, took 1.2s, duration: 14:28)
test 0860...[POP3 NOOP (CUSTOMREQUEST)]
--p----emv- OK (589 out of 1250, remaining: 16:16, took 1.2s, duration: 14:29)
test 0861...[POP3 UIDL (CUSTOMREQUEST)]
--pd---emv- OK (590 out of 1250, remaining: 16:14, took 1.3s, duration: 14:30)
test 0862...[POP3 retrieve message header (CUSTOMREQUEST)]
--pd---emv- OK (591 out of 1250, remaining: 16:12, took 1.3s, duration: 14:32)
test 0863...[POP3 RSET (CUSTOMREQUEST)]
--p----emv- OK (592 out of 1250, remaining: 16:10, took 1.2s, duration: 14:33)
test 0864...[POP3 APOP authentication]
--pd---emv- OK (593 out of 1250, remaining: 16:09, took 1.2s, duration: 14:34)
test 0865...[POP3 plain authentication]
--pd---emv- OK (594 out of 1250, remaining: 16:07, took 1.3s, duration: 14:35)
test 0866...[POP3 login authentication]
--pd---emv- OK (595 out of 1250, remaining: 16:05, took 1.3s, duration: 14:37)
test 0867...[POP3 CRAM-MD5 authentication]
--pd---emv- OK (596 out of 1250, remaining: 16:04, took 1.3s, duration: 14:38)
test 0868...[POP3 NTLM authentication]
--pd---emv- OK (597 out of 1250, remaining: 16:02, took 1.3s, duration: 14:39)
test 0869...[POP3 DIGEST-MD5 authentication]
--pd---emv- OK (598 out of 1250, remaining: 16:00, took 1.3s, duration: 14:41)
test 0870...[POP3 OAuth 2.0 (XOAUTH2) authentication]
--pd---emv- OK (599 out of 1250, remaining: 15:59, took 1.3s, duration: 14:42)
test 0871...[POP3 plain authentication with initial response]
--pd---emv- OK (600 out of 1250, remaining: 15:57, took 1.3s, duration: 14:43)
test 0872...[POP3 login authentication with initial response]
--pd---emv- OK (601 out of 1250, remaining: 15:55, took 1.3s, duration: 14:45)
test 0873...[POP3 NTLM authentication with initial response]
--pd---emv- OK (602 out of 1250, remaining: 15:54, took 1.3s, duration: 14:46)
test 0874...[POP3 OAuth 2.0 (XOAUTH2) authentication with initial response]
--pd---emv- OK (603 out of 1250, remaining: 15:52, took 1.3s, duration: 14:47)
test 0875...[POP3 with URL-encoded CR LF in the URL]
-------emv- OK (604 out of 1250, remaining: 15:50, took 1.2s, duration: 14:48)
test 0876...[POP3 CRAM-MD5 graceful cancellation]
--p----emv- OK (605 out of 1250, remaining: 15:48, took 1.2s, duration: 14:49)
test 0877...[POP3 NTLM graceful cancellation]
--p----emv- OK (606 out of 1250, remaining: 15:47, took 1.2s, duration: 14:51)
test 0878...[POP3 DIGEST-MD5 graceful cancellation]
--p----emv- OK (607 out of 1250, remaining: 15:45, took 1.2s, duration: 14:52)
test 0879...[POP3 CRAM-MD5 authentication with SASL downgrade]
--pd---emv- OK (608 out of 1250, remaining: 15:43, took 1.3s, duration: 14:53)
test 0880...[POP3 NTLM authentication with SASL downgrade]
--pd---emv- OK (609 out of 1250, remaining: 15:42, took 1.3s, duration: 14:54)
test 0881...[POP3 DIGEST-MD5 authentication with SASL downgrade]
--pd---emv- OK (610 out of 1250, remaining: 15:40, took 1.3s, duration: 14:56)
test 0883...[POP3 external authentication]
--pd---emv- OK (611 out of 1250, remaining: 15:38, took 1.3s, duration: 14:57)
test 0884...[POP3 external authentication without credentials]
--pd---emv- OK (612 out of 1250, remaining: 15:37, took 1.3s, duration: 14:58)
test 0885...[POP3 external authentication with initial response]
--pd---emv- OK (613 out of 1250, remaining: 15:35, took 1.3s, duration: 15:00)
test 0886...[POP3 external authentication with initial response without credentials]
--pd---emv- OK (614 out of 1250, remaining: 15:33, took 1.3s, duration: 15:01)
test 0887...[POP3 OAuth 2.0 (OAUTHBEARER) authentication]
--pd---emv- OK (615 out of 1250, remaining: 15:32, took 1.3s, duration: 15:02)
test 0888...[POP3 OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--pd---emv- OK (616 out of 1250, remaining: 15:30, took 1.3s, duration: 15:03)
test 0889...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (617 out of 1250, remaining: 15:28, took 1.2s, duration: 15:05)
test 0890...[POP3 OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (618 out of 1250, remaining: 15:26, took 1.2s, duration: 15:06)
test 0891...[POP3 with short authentication response]
--p----emv- OK (619 out of 1250, remaining: 15:25, took 1.2s, duration: 15:07)
test 0892...[POP3 plain authentication with alternative authorization identity]
--pd---emv- OK (620 out of 1250, remaining: 15:23, took 1.3s, duration: 15:08)
test 0893...[POP3 plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (621 out of 1250, remaining: 15:21, took 1.2s, duration: 15:10)
test 0900...[SMTP]
--p-u--emv- OK (622 out of 1250, remaining: 15:20, took 1.2s, duration: 15:11)
test 0901...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (623 out of 1250, remaining: 15:18, took 1.2s, duration: 15:12)
test 0902...[RFC821-only SMTP server (EHLO not supported)]
--p-u--emv- OK (624 out of 1250, remaining: 15:16, took 1.2s, duration: 15:13)
test 0903...[SMTP plain authentication]
--p-u--emv- OK (625 out of 1250, remaining: 15:14, took 1.3s, duration: 15:14)
test 0904...[SMTP login authentication]
--p-u--emv- OK (626 out of 1250, remaining: 15:13, took 1.2s, duration: 15:16)
test 0905...[SMTP CRAM-MD5 authentication]
--p-u--emv- OK (627 out of 1250, remaining: 15:11, took 1.3s, duration: 15:17)
test 0906...[SMTP NTLM authentication]
--p-u--emv- OK (628 out of 1250, remaining: 15:10, took 1.3s, duration: 15:18)
test 0907...[SMTP DIGEST-MD5 authentication]
--p-u--emv- OK (629 out of 1250, remaining: 15:08, took 1.3s, duration: 15:20)
test 0908...[SMTP OAuth 2.0 (XOAUTH2) authentication]
--p-u--emv- OK (630 out of 1250, remaining: 15:06, took 1.3s, duration: 15:21)
test 0909...[SMTP without SIZE support]
--p-u--emv- OK (631 out of 1250, remaining: 15:04, took 1.2s, duration: 15:22)
test 0910...[SMTP without terminating CRLF]
--p-u--emv- OK (632 out of 1250, remaining: 15:03, took 1.2s, duration: 15:23)
test 0911...[SMTP with no mail data]
--p-u--emv- OK (633 out of 1250, remaining: 15:01, took 1.2s, duration: 15:24)
test 0912...[SMTP with SIZE support]
--p-u--emv- OK (634 out of 1250, remaining: 14:59, took 1.3s, duration: 15:26)
test 0913...[SMTP with large message SIZE]
--p----emv- OK (635 out of 1250, remaining: 14:58, took 1.2s, duration: 15:27)
test 0914...[SMTP invalid --mail-from]
--p----emv- OK (636 out of 1250, remaining: 14:56, took 1.2s, duration: 15:28)
test 0915...[SMTP without --mail-from]
--p-u--emv- OK (637 out of 1250, remaining: 14:54, took 1.2s, duration: 15:29)
test 0916...[SMTP with invalid --mail-rcpt]
--p----emv- OK (638 out of 1250, remaining: 14:53, took 1.2s, duration: 15:30)
test 0917...[SMTP with multiple --mail-rcpt]
--p-u--emv- OK (639 out of 1250, remaining: 14:51, took 1.2s, duration: 15:32)
test 0918...[SMTP with multiple and invalid --mail-rcpt]
--p----emv- OK (640 out of 1250, remaining: 14:49, took 1.2s, duration: 15:33)
test 0919...[SMTP plain authentication with initial response]
--p-u--emv- OK (641 out of 1250, remaining: 14:47, took 1.3s, duration: 15:34)
test 0920...[SMTP login authentication with initial response]
--p-u--emv- OK (642 out of 1250, remaining: 14:46, took 1.3s, duration: 15:35)
test 0921...[SMTP NTLM authentication with initial response]
--p-u--emv- OK (643 out of 1250, remaining: 14:44, took 1.3s, duration: 15:37)
test 0922...[SMTP OAuth 2.0 (XOAUTH2) authentication with initial response]
--p-u--emv- OK (644 out of 1250, remaining: 14:43, took 1.3s, duration: 15:38)
test 0923...[SMTP VRFY]
--pd---emv- OK (645 out of 1250, remaining: 14:41, took 1.2s, duration: 15:39)
test 0924...[SMTP ambiguous VRFY]
--pd---emv- OK (646 out of 1250, remaining: 14:39, took 1.3s, duration: 15:40)
test 0925...[SMTP external VRFY]
--pd---emv- OK (647 out of 1250, remaining: 14:37, took 1.2s, duration: 15:42)
test 0926...[SMTP unknown user VRFY]
--p----emv- OK (648 out of 1250, remaining: 14:36, took 1.2s, duration: 15:43)
test 0927...[SMTP mailing list EXPN (CUSTOMREQUEST)]
--pd---emv- OK (649 out of 1250, remaining: 14:34, took 1.2s, duration: 15:44)
test 0928...[SMTP HELP]
--pd---emv- OK (650 out of 1250, remaining: 14:32, took 1.2s, duration: 15:45)
test 0929...[SMTP NOOP (CUSTOMREQUEST)]
--p----emv- OK (651 out of 1250, remaining: 14:31, took 1.2s, duration: 15:46)
test 0930...[SMTP RSET (CUSTOMREQUEST)]
--p----emv- OK (652 out of 1250, remaining: 14:29, took 1.2s, duration: 15:47)
test 0931...[SMTP with URL-encoded CR LF in the URL]
-------emv- OK (653 out of 1250, remaining: 14:27, took 1.1s, duration: 15:49)
test 0932...[SMTP CRAM-MD5 graceful cancellation]
--p----emv- OK (654 out of 1250, remaining: 14:25, took 1.2s, duration: 15:50)
test 0933...[SMTP NTLM graceful cancellation]
--p----emv- OK (655 out of 1250, remaining: 14:24, took 1.2s, duration: 15:51)
test 0934...[SMTP DIGEST-MD5 graceful cancellation]
--p----emv- OK (656 out of 1250, remaining: 14:22, took 1.2s, duration: 15:52)
test 0935...[SMTP CRAM-MD5 authentication with SASL downgrade]
--p-u--emv- OK (657 out of 1250, remaining: 14:21, took 1.2s, duration: 15:53)
test 0936...[SMTP NTLM authentication with SASL downgrade]
--p-u--emv- OK (658 out of 1250, remaining: 14:19, took 1.3s, duration: 15:55)
test 0937...[SMTP DIGEST-MD5 authentication with SASL downgrade]
--p-u--emv- OK (659 out of 1250, remaining: 14:17, took 1.3s, duration: 15:56)
test 0939...[RFC821-only SMTP with username and password]
--p-u--emv- OK (660 out of 1250, remaining: 14:16, took 1.2s, duration: 15:57)
test 0940...[SMTP with username and password but no AUTH capability]
--p-u--emv- OK (661 out of 1250, remaining: 14:14, took 1.2s, duration: 15:58)
test 0941...[SMTP with --crlf]
--p-u--emv- OK (662 out of 1250, remaining: 14:12, took 1.2s, duration: 16:00)
test 0942...[SMTP external authentication]
--p-u--emv- OK (663 out of 1250, remaining: 14:11, took 1.2s, duration: 16:01)
test 0943...[SMTP external authentication without credentials]
--p-u--emv- OK (664 out of 1250, remaining: 14:09, took 1.2s, duration: 16:02)
test 0944...[SMTP external authentication with initial response]
--p-u--emv- OK (665 out of 1250, remaining: 14:07, took 1.2s, duration: 16:03)
test 0945...[SMTP external authentication with initial response without credentials]
--p-u--emv- OK (666 out of 1250, remaining: 14:06, took 1.2s, duration: 16:04)
test 0946...[SMTP OAuth 2.0 (OAUTHBEARER) authentication]
--p-u--emv- OK (667 out of 1250, remaining: 14:04, took 1.2s, duration: 16:06)
test 0947...[SMTP OAuth 2.0 (OAUTHBEARER) authentication with initial response]
--p-u--emv- OK (668 out of 1250, remaining: 14:02, took 1.2s, duration: 16:07)
test 0948...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation]
--p----emv- OK (669 out of 1250, remaining: 14:01, took 1.2s, duration: 16:08)
test 0949...[SMTP OAuth 2.0 (OAUTHBEARER) failure as continuation with initial response]
--p----emv- OK (670 out of 1250, remaining: 13:59, took 1.2s, duration: 16:09)
test 0950...[SMTP VRFY with custom request]
--pd---emv- OK (671 out of 1250, remaining: 13:57, took 1.2s, duration: 16:11)
test 0951...[SMTP data with dot as first character]
--p-u--emv- OK (672 out of 1250, remaining: 13:56, took 1.2s, duration: 16:12)
test 0952...[SMTP data with single dot-only line]
--p-u--emv- OK (673 out of 1250, remaining: 13:54, took 1.2s, duration: 16:13)
test 0953...[SMTP plain authentication with alternative authorization identity]
--p-u--emv- OK (674 out of 1250, remaining: 13:52, took 1.2s, duration: 16:14)
test 0954...[SMTP plain authentication with alternative authorization identity (Not authorized)]
--p----emv- OK (675 out of 1250, remaining: 13:51, took 1.2s, duration: 16:15)
test 1000...[FTP dir list PASV with -I]
--p----emv- OK (676 out of 1250, remaining: 13:49, took 1.2s, duration: 16:17)
test 1001...[HTTP POST --digest with PUT and resumed upload and modified method]
--pd---emv- OK (677 out of 1250, remaining: 13:48, took 2.3s, duration: 16:19)
test 1002...[HTTP PUT with Digest auth, resumed upload and modified method, twice]
--pd---emv- OK (678 out of 1250, remaining: 13:49, took 3.3s, duration: 16:22)
test 1003...[FTP with excessively large server command response line]
--pd---emv- OK (679 out of 1250, remaining: 13:47, took 1.3s, duration: 16:24)
test 1004...[HTTP GET with empty proxy]
valgrind SKIPPED
--pd---em-- OK (680 out of 1250, remaining: 13:44, took 0.0s, duration: 16:24)
test 1005...[FTP with excessively large number of server command response lines]
--pd---emv- OK (681 out of 1250, remaining: 13:43, took 1.3s, duration: 16:25)
test 1006...[FTP with excessively large number of server command response lines (boundary condition)]
--pd---emv- OK (682 out of 1250, remaining: 13:41, took 1.3s, duration: 16:26)
test 1007...[TFTP send with invalid permission on server]
--p----emv- OK (683 out of 1250, remaining: 13:40, took 1.1s, duration: 16:27)
test 1008...[HTTP proxy CONNECT auth NTLM with chunked-encoded 407 response]
--pd---emv- OK (684 out of 1250, remaining: 13:38, took 1.5s, duration: 16:29)
test 1009...[TFTP retrieve with --local-port]
--pd---emv- OK (685 out of 1250, remaining: 13:36, took 1.2s, duration: 16:30)
test 1010...[FTP dir list nocwd]
--pd---emv- OK (686 out of 1250, remaining: 13:35, took 1.3s, duration: 16:31)
test 1011...[HTTP POST with 301 redirect]
--pd---emv- OK (687 out of 1250, remaining: 13:33, took 1.3s, duration: 16:33)
test 1012...[HTTP POST with 301 redirect and --post301]
--pd---emv- OK (688 out of 1250, remaining: 13:32, took 1.3s, duration: 16:34)
test 1013...[Compare curl --version with curl-config --protocols]
-------emv- OK (689 out of 1250, remaining: 13:30, took 0.9s, duration: 16:35)
test 1014...[Compare curl --version with curl-config --features]
-------emv- OK (690 out of 1250, remaining: 13:28, took 0.9s, duration: 16:36)
test 1015...[--data-urlencode]
--pd---emv- OK (691 out of 1250, remaining: 13:26, took 1.2s, duration: 16:37)
test 1016...[X-Y range on a file:// URL to stdout]
s------emv- OK (692 out of 1250, remaining: 13:25, took 1.1s, duration: 16:38)
test 1017...[0-Y range on a file:// URL to stdout]
s------emv- OK (693 out of 1250, remaining: 13:23, took 1.1s, duration: 16:39)
test 1018...[X-X range on a file:// URL to stdout]
s------emv- OK (694 out of 1250, remaining: 13:21, took 1.1s, duration: 16:40)
test 1019...[X- range on a file:// URL to stdout]
s------emv- OK (695 out of 1250, remaining: 13:19, took 1.1s, duration: 16:41)
test 1020...[-Y range on a file:// URL to stdout]
s------emv- OK (696 out of 1250, remaining: 13:18, took 1.1s, duration: 16:42)
test 1021...[HTTP proxy CONNECT with any proxyauth and proxy offers NTLM and close]
--pd---emv- OK (697 out of 1250, remaining: 13:16, took 1.3s, duration: 16:44)
test 1022...[Compare curl --version with curl-config --version]
-------emv- OK (698 out of 1250, remaining: 13:14, took 0.9s, duration: 16:45)
test 1023...[Compare curl --version with curl-config --vernum]
-------emv- OK (699 out of 1250, remaining: 13:12, took 0.9s, duration: 16:45)
test 1024...[HTTP Location: following with cookies]
--pd---emv- OK (700 out of 1250, remaining: 13:11, took 1.3s, duration: 16:47)
test 1025...[HTTP Location: following with command-line and server cookies]
--pd---emv- OK (701 out of 1250, remaining: 13:09, took 1.3s, duration: 16:48)
test 1026...[curl --manual ]
-------emv- OK (702 out of 1250, remaining: 13:07, took 0.9s, duration: 16:49)
test 1027...[curl --help]
-------emv- OK (703 out of 1250, remaining: 13:06, took 0.9s, duration: 16:50)
test 1028...[HTTP Location: redirect to FTP URL]
s-p----emv- OK (704 out of 1250, remaining: 13:04, took 1.3s, duration: 16:51)
test 1029...[HTTP Location: and 'redirect_url' check]
s-p----emv- OK (705 out of 1250, remaining: 13:02, took 1.2s, duration: 16:52)
test 1030...[HTTP PUT with --anyauth authorization (picking Digest)]
--pd---emv- OK (706 out of 1250, remaining: 13:02, took 3.3s, duration: 16:55)
test 1031...[HTTP Location: following to a query string]
--pd---emv- OK (707 out of 1250, remaining: 13:01, took 1.2s, duration: 16:57)
test 1032...[HTTP HEAD with --range]
--pd---emv- OK (708 out of 1250, remaining: 12:59, took 1.2s, duration: 16:58)
test 1033...[HTTP GET with 102 response!]
--pd---emv- OK (709 out of 1250, remaining: 12:57, took 1.2s, duration: 16:59)
test 1034...[HTTP over proxy with malformatted IDN host name]
-------emv- OK (710 out of 1250, remaining: 12:56, took 1.1s, duration: 17:00)
test 1035...[HTTP over proxy with too long IDN host name]
-------emv- OK (711 out of 1250, remaining: 12:54, took 1.1s, duration: 17:01)
test 1036...[FTP download resume from end of file]
--p---oemv- OK (712 out of 1250, remaining: 12:52, took 1.2s, duration: 17:02)
test 1037...[FTP download resume from end of empty file]
--p----emv- OK (713 out of 1250, remaining: 12:51, took 1.2s, duration: 17:04)
test 1038...[FTP PASV upload resume from end of file]
--p-u--emv- OK (714 out of 1250, remaining: 12:49, took 1.2s, duration: 17:05)
test 1039...[FTP PASV upload resume from end of empty file]
--p-u--emv- OK (715 out of 1250, remaining: 12:48, took 1.3s, duration: 17:06)
test 1040...[HTTP GET with resume from end of entirely-downloaded file]
--pd---emv- OK (716 out of 1250, remaining: 12:46, took 1.2s, duration: 17:07)
test 1041...[HTTP PUT with resume from end of already-uploaded file]
--pd---emv- OK (717 out of 1250, remaining: 12:45, took 2.2s, duration: 17:10)
test 1042...[HTTP GET beyond end of entirely-downloaded file, no server resume]
--pd---emv- OK (718 out of 1250, remaining: 12:44, took 1.2s, duration: 17:11)
test 1043...[HTTP GET with resume from end of file]
--pd---emv- OK (719 out of 1250, remaining: 12:42, took 1.2s, duration: 17:12)
test 1044...[FTP download large file info with -I]
s-p----emv- OK (720 out of 1250, remaining: 12:40, took 1.2s, duration: 17:13)
test 1045...[HTTP GET with numeric localhost --interface]
--pd---emv- OK (721 out of 1250, remaining: 12:39, took 1.2s, duration: 17:14)
test 1046...[HTTP-IPv6 GET with numeric localhost --interface]
--pd---emv- OK (722 out of 1250, remaining: 12:37, took 1.2s, duration: 17:16)
test 1047...[FTP dir list PASV with localhost --interface]
--pd---emv- OK (723 out of 1250, remaining: 12:36, took 1.2s, duration: 17:17)
test 1048...[FTP-IPv6 dir list PASV with localhost --interface]
--pd---emv- OK (724 out of 1250, remaining: 12:34, took 1.2s, duration: 17:18)
test 1049...[TFTP retrieve with localhost --interface]
--pd---emv- OK (725 out of 1250, remaining: 12:32, took 1.2s, duration: 17:19)
test 1050...[FTP-IPv6 dir list, EPRT with specified IP]
--pd---emv- OK (726 out of 1250, remaining: 12:31, took 1.2s, duration: 17:20)
test 1051...[HTTP PUT with Location: following]
--pd---emv- OK (727 out of 1250, remaining: 12:31, took 3.2s, duration: 17:24)
test 1052...[HTTP 1.0 PUT with Location: following]
--pd---emv- OK (728 out of 1250, remaining: 12:29, took 1.3s, duration: 17:25)
test 1053...[HTTP RFC1867-type formposting from file with Location: following]
--pd---emv- OK (729 out of 1250, remaining: 12:28, took 1.3s, duration: 17:26)
test 1054...[HTTP POST from file with 301 redirect and --post301]
--pd---emv- OK (730 out of 1250, remaining: 12:26, took 1.3s, duration: 17:28)
test 1055...[HTTP PUT Location: redirect to FTP URL]
--pdu--emv- OK (731 out of 1250, remaining: 12:25, took 2.3s, duration: 17:30)
test 1056...[HTTP follow redirect from IPv4 to IPv6 with scope]
--pd---emv- OK (732 out of 1250, remaining: 12:24, took 1.3s, duration: 17:31)
test 1057...[FTP retrieve a byte-range relative to end of file]
--pd---emv- OK (733 out of 1250, remaining: 12:22, took 1.2s, duration: 17:32)
test 1058...[HTTP range relative to end of file]
--pd---emv- OK (734 out of 1250, remaining: 12:20, took 1.2s, duration: 17:33)
test 1059...[HTTP CONNECT with proxytunnel to unsupported FTP URL]
--p----emv- OK (735 out of 1250, remaining: 12:19, took 1.2s, duration: 17:35)
test 1060...[HTTP proxy CONNECT auth Digest, large headers and data]
--pd---emv- OK (736 out of 1250, remaining: 12:19, took 3.6s, duration: 17:38)
test 1061...[HTTP proxy CONNECT auth Digest, large headers and chunked data]
--pd---emv- OK (737 out of 1250, remaining: 12:19, took 3.6s, duration: 17:42)
test 1062...[FTP with excessively long server command response lines, boundary condition]
--pd---emv- OK (738 out of 1250, remaining: 12:17, took 1.3s, duration: 17:43)
test 1063...[Invalid large X- range on a file://]
-------emv- OK (739 out of 1250, remaining: 12:16, took 1.1s, duration: 17:44)
test 1064...[HTTP PUT twice]
s-p----emv- OK (740 out of 1250, remaining: 12:14, took 1.2s, duration: 17:46)
test 1065...[HTTP PUT with one file but two URLs]
s-p----emv- OK (741 out of 1250, remaining: 12:13, took 1.2s, duration: 17:47)
test 1066...[HTTP --dump-header - with two URLs]
s-p----emv- OK (742 out of 1250, remaining: 12:11, took 1.2s, duration: 17:48)
test 1067...[HTTP Location: following with auto-referer]
--pd---emv- OK (743 out of 1250, remaining: 12:09, took 1.2s, duration: 17:49)
test 1068...[HTTP PUT from stdin]
--pd---emv- OK (744 out of 1250, remaining: 12:09, took 2.2s, duration: 17:51)
test 1069...[HTTP 1.0 PUT from stdin with no content length]
-------emv- OK (745 out of 1250, remaining: 12:07, took 1.1s, duration: 17:53)
test 1070...[HTTP POST with server closing connection before (all) data is received]
--pd---emv- OK (746 out of 1250, remaining: 12:06, took 2.2s, duration: 17:55)
test 1071...[Downgraded HTTP PUT to HTTP 1.0 with authorization]
--pd---emv- OK (747 out of 1250, remaining: 12:05, took 2.3s, duration: 17:57)
test 1072...[HTTP chunked PUT to HTTP 1.0 server with authorization]
--pd---emv- OK (748 out of 1250, remaining: 12:04, took 2.3s, duration: 17:59)
test 1073...[HTTP chunked PUT to HTTP 1.0 server with redirect]
--pd---emv- OK (749 out of 1250, remaining: 12:03, took 2.2s, duration: 18:02)
test 1074...[HTTP downgrade to HTTP/1.0 on second request]
s-p----emv- OK (750 out of 1250, remaining: 12:03, took 3.2s, duration: 18:05)
test 1075...[HTTP PUT with --anyauth authorization (picking Basic)]
--pd---emv- OK (751 out of 1250, remaining: 12:03, took 3.3s, duration: 18:08)
test 1076...[HTTP POST with 302 redirect and --post302]
--pd---emv- OK (752 out of 1250, remaining: 12:01, took 1.3s, duration: 18:09)
test 1077...[FTP over HTTP proxy with downgrade to HTTP 1.0]
--pd---emv- OK (753 out of 1250, remaining: 12:00, took 1.3s, duration: 18:11)
test 1078...[HTTP 1.0 CONNECT with proxytunnel and downgrade GET to HTTP/1.0]
s-p--P-emv- OK (754 out of 1250, remaining: 11:58, took 1.7s, duration: 18:12)
test 1079...[HTTP retry after closed connection and empty response]
--pd---emv- OK (755 out of 1250, remaining: 11:57, took 1.3s, duration: 18:14)
test 1080...[HTTP Location: on two URLs 'redirect_url' check]
s-p----emv- OK (756 out of 1250, remaining: 11:55, took 1.2s, duration: 18:15)
test 1081...[HTTP no Location: on second URL 'redirect_url' check]
s-p----emv- OK (757 out of 1250, remaining: 11:54, took 1.2s, duration: 18:16)
test 1082...[HTTP GET with localhost --interface]
--pd---emv- OK (758 out of 1250, remaining: 11:52, took 1.2s, duration: 18:17)
test 1083...[HTTP-IPv6 GET with ip6-localhost --interface]
--pd---emv- OK (759 out of 1250, remaining: 11:50, took 1.2s, duration: 18:18)
test 1084...[HTTP GET with invalid --interface]
-------emv- OK (760 out of 1250, remaining: 11:49, took 1.2s, duration: 18:20)
test 1085...[HTTP-IPv6 GET with invalid --interface]
-------emv- OK (761 out of 1250, remaining: 11:47, took 1.2s, duration: 18:21)
test 1086...[FTP download with strict timeout and slow data transfer]
Killed
Killed
--p----emv- OK (762 out of 1250, remaining: 11:54, took 14.1s, duration: 18:35)
test 1087...[HTTP, proxy with --anyauth and Location: to new host]
--pd---emv- OK (763 out of 1250, remaining: 11:52, took 1.3s, duration: 18:36)
test 1088...[HTTP, proxy with --anyauth and Location: to new host using location-trusted]
--pd---emv- OK (764 out of 1250, remaining: 11:51, took 1.3s, duration: 18:37)
test 1089...[HTTP GET --write-out with redirected fetch]
s-p----emv- OK (765 out of 1250, remaining: 11:49, took 1.2s, duration: 18:39)
test 1090...[HTTP GET --write-out with redirected fetch and chunked reply]
s-p----emv- OK (766 out of 1250, remaining: 11:47, took 1.2s, duration: 18:40)
test 1091...[FTP URL with type=i]
--pd---emv- OK (767 out of 1250, remaining: 11:47, took 3.3s, duration: 18:43)
test 1092...[FTP with type=i over HTTP proxy]
--pd---emv- OK (768 out of 1250, remaining: 11:45, took 1.2s, duration: 18:44)
test 1093...[TFTP retrieve with mode=i]
--pd---emv- OK (769 out of 1250, remaining: 11:44, took 1.1s, duration: 18:46)
test 1094...[TFTP retrieve with mode=netascii]
--pd---emv- OK (770 out of 1250, remaining: 11:42, took 1.1s, duration: 18:47)
test 1095...[HTTP with Digest and realm with quoted quotes]
--pd---emv- OK (771 out of 1250, remaining: 11:41, took 1.2s, duration: 18:48)
test 1096...[Two FTP downloads, with failed RETR but re-used control connection]
Killed
Killed
--p----emv- OK (772 out of 1250, remaining: 11:39, took 1.2s, duration: 18:49)
test 1097...[HTTP POST using CONNECT with --proxy-ntlm but no auth is required]
--pd---emv- OK (773 out of 1250, remaining: 11:37, took 1.2s, duration: 18:50)
test 1098...[FTP RETR twice over proxy confirming persistent connection]
s-p----emv- OK (774 out of 1250, remaining: 11:36, took 1.2s, duration: 18:52)
test 1099...[TFTP get first a non-existing file then an existing]
s-p----emv- OK (775 out of 1250, remaining: 11:34, took 1.2s, duration: 18:53)
test 1100...[HTTP POST with NTLM authorization and following a 302 redirect]
--pd---emv- OK (776 out of 1250, remaining: 11:32, took 1.3s, duration: 18:54)
test 1101...[NO_PROXY test, with user name in URL]
--pd---emv- OK (777 out of 1250, remaining: 11:31, took 1.2s, duration: 18:55)
test 1102...[FTP OS/400 server name format check]
--p----emv- OK (778 out of 1250, remaining: 11:29, took 1.2s, duration: 18:56)
test 1103...[FTP non-OS/400 server]
--p----emv- OK (779 out of 1250, remaining: 11:28, took 1.2s, duration: 18:58)
test 1104...[HTTP cookie expiry date at Jan 1 00:00:00 GMT 1970]
--pd---emv- OK (780 out of 1250, remaining: 11:26, took 1.2s, duration: 18:59)
test 1105...[HTTP with cookie parser and header recording]
--pd--oemv- OK (781 out of 1250, remaining: 11:24, took 1.2s, duration: 19:00)
test 1106...[FTP URL and with ftp_proxy environment variable set]
--p----emv- OK (782 out of 1250, remaining: 11:23, took 1.2s, duration: 19:01)
test 1107...[FTP RETR PASV with PRET]
--pd---emv- OK (783 out of 1250, remaining: 11:21, took 1.2s, duration: 19:03)
test 1108...[FTP RETR PASV with PRET not supported]
--p----emv- OK (784 out of 1250, remaining: 11:20, took 1.2s, duration: 19:04)
test 1109...[HTTP GET with URL that contains fragment after the path]
--pd---emv- OK (785 out of 1250, remaining: 11:18, took 1.2s, duration: 19:05)
test 1110...[HTTP GET with URL that contains a fragment after the query part]
--pd---emv- OK (786 out of 1250, remaining: 11:16, took 1.2s, duration: 19:06)
test 1111...[HTTP GET with URL whose fragment contains a # (which is illegal)]
--pd---emv- OK (787 out of 1250, remaining: 11:15, took 1.2s, duration: 19:07)
test 1112...[FTPS download with strict timeout and slow data transfer]
Killed
Killed
goto problem 32
valgrind ERROR ==22106== Invalid read of size 8
==22106== at 0x53315A5: check_free (dlerror.c:188)
==22106== by 0x5331AB1: free_key_mem (dlerror.c:221)
==22106== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==22106== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==22106== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==22106== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==22106== by 0x4D60EB9: exit (exit.c:139)
==22106== by 0x4D4B0A1: (below main) (libc-start.c:342)
==22106== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
==22106== Invalid free() / delete / delete[] / realloc()
==22106== at 0x48369AB: free (vg_replace_malloc.c:540)
==22106== by 0x5331AB9: free_key_mem (dlerror.c:223)
==22106== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==22106== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==22106== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==22106== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==22106== by 0x4D60EB9: exit (exit.c:139)
==22106== by 0x4D4B0A1: (below main) (libc-start.c:342)
==22106== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
==22106== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
== 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 th
=== End of file curl1112.out
=== Start of file ftp_server.log
03:10:40.983738 ====> Client connect
03:10:40.983844 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:40.984226 < "USER anonymous"
03:10:40.984259 > "331 We are happy you popped in![CR][LF]"
03:10:40.984542 < "PASS ftp@example.com"
03:10:40.984571 > "230 Welcome you silly person[CR][LF]"
03:10:40.984811 < "PBSZ 0"
03:10:40.984840 > "500 PBSZ not implemented[CR][LF]"
03:10:40.985138 < "PROT C"
03:10:40.985166 > "500 PROT not implemented[CR][LF]"
03:10:40.985464 < "PWD"
03:10:40.985494 > "257 "/" is current directory[CR][LF]"
03:10:40.985780 < "EPSV"
03:10:40.985809 ====> Passive DATA channel requested by client
03:10:40.985823 DATA sockfilt for passive data channel starting...
03:10:40.987379 DATA sockfilt for passive data channel started (pid 22103)
03:10:40.987531 DATA sockfilt for passive data channel listens on port 36423
03:10:40.987575 > "229 Entering Passive Mode (|||36423|)[LF]"
03:10:40.987590 Client has been notified that DATA conn will be accepted on port 36423
03:10:40.987844 Client connects to port 36423
03:10:40.987864 ====> Client established passive DATA connection on port 36423
03:10:40.987962 < "TYPE I"
03:10:40.987989 > "200 I modify TYPE as you wanted[CR][LF]"
03:10:40.988213 < "SIZE verifiedserver"
03:10:40.988252 > "213 17[CR][LF]"
03:10:40.988461 < "RETR verifiedserver"
03:10:40.988493 > "150 Binary junk (17 bytes).[CR][LF]"
03:10:40.988550 =====> Closing passive DATA connection...
03:10:40.988567 Server disconnects passive DATA connection
03:10:40.988671 DATA sockfilt for passive data channel quits (pid 22104)
03:10:40.988688 =====> Closed passive DATA connection
03:10:40.988714 > "226 File transfer complete[CR][LF]"
03:10:41.035632 < "QUIT"
03:10:41.035680 > "221 bye bye baby[CR][LF]"
03:10:41.035905 MAIN sockfilt said DISC
03:10:41.035938 ====> Client disconnected
03:10:41.035989 Awaiting input
03:10:45.105495 ====> Client connect
03:10:45.105597 FTPD: Getting commands from log/ftpserver.cmd
03:10:45.105632 FTPD: send response with 0.01 sec delay between each byte
03:10:45.105719 FTPD: set custom reply for USER command
03:10:45.105768 FTPD: set custom reply for PASS command
03:10:45.105817 FTPD: set custom reply for PWD command
03:10:45.105862 FTPD: set custom reply for TYPE command
03:10:46.720493 > "220- _ _ ____ _ [CR][LF]220- ___| | | | _ \| | [CR][LF]220- / __| | | | |_) | | [CR][LF]220- | (__| |_| | _ {| |___ [CR][LF]220 \___|\___/|_| \_\_____|[CR][LF]"
03:10:46.726188 < "USER anonymous"
03:10:46.806952 > "331 OK[CR][LF]"
03:10:46.807182 < "PASS ftp@example.com"
03:10:46.887973 > "230 OK[CR][LF]"
03:10:46.888193 < "PBSZ 0"
03:10:47.150497 > "500 PBSZ not implemented[CR][LF]"
03:10:47.150741 < "PROT C"
03:10:47.413250 > "500 PROT not implemented[CR][LF]"
03:10:47.413476 < "PWD"
03:10:47.504406 > "257 "/"[CR][LF]"
03:10:47.509248 < "EPSV"
03:10:47.509294 ====> Passive DATA channel requested by client
03:10:47.509316 DATA sockfilt for passive data channel starting...
03:10:47.511219 DATA sockfilt for passive data channel started (pid 22112)
03:10:47.511359 DATA sockfilt for passive data channel listens on port 43647
03:10:47.894892 > "229 Entering Passive Mode (|||43647|)[LF]"
03:10:47.895010 Client has been notified that DATA conn will be accepted on port 43647
03:10:47.900008 Client connects to port 43647
03:10:47.900048 ====> Client established passive DATA connection on port 43647
03:10:47.906462 < "TYPE I"
03:10:47.987227 > "200 OK[CR][LF]"
03:10:47.987452 < "SIZE 1112"
03:10:48.089097 > "213 3600[CR][LF]"
03:10:48.089342 < "RETR 1112"
03:10:48.634923 > "150 Binary data connection for 1112 () (3600 bytes).[CR][LF]"
=== End of file ftp_server.log
=== Start of file ftp_sockctrl.log
03:10:41.084434 ====> Client connect
03:10:41.084648 Received DATA (on stdin)
03:10:41.084666 > 160 bytes data, server => client
03:10:41.084686 '220- _ _ ____ _ \r\n220- ___| | | | _ \| | '
03:10:41.084704 ' \r\n220- / __| | | | |_) | | \r\n220- | (__| |_| | '
03:10:41.084720 '_ {| |___ \r\n220 \___|\___/|_| \_\_____|\r\n'
03:10:41.084951 < 16 bytes data, client => server
03:10:41.084969 'USER anonymous\r\n'
03:10:41.085067 Received DATA (on stdin)
03:10:41.085081 > 33 bytes data, server => client
03:10:41.085097 '331 We are happy you popped in!\r\n'
03:10:41.085299 < 22 bytes data, client => server
03:10:41.085317 'PASS ftp@example.com\r\n'
03:10:41.085379 Received DATA (on stdin)
03:10:41.085395 > 30 bytes data, server => client
03:10:41.085411 '230 Welcome you silly person\r\n'
03:10:41.085578 < 8 bytes data, client => server
03:10:41.085594 'PBSZ 0\r\n'
03:10:41.085648 Received DATA (on stdin)
03:10:41.085664 > 26 bytes data, server => client
03:10:41.085680 '500 PBSZ not implemented\r\n'
03:10:41.085896 < 8 bytes data, client => server
03:10:41.085912 'PROT C\r\n'
03:10:41.085974 Received DATA (on stdin)
03:10:41.085989 > 26 bytes data, server => client
03:10:41.086004 '500 PROT not implemented\r\n'
03:10:41.086222 < 5 bytes data, client => server
03:10:41.086237 'PWD\r\n'
03:10:41.086301 Received DATA (on stdin)
03:10:41.086314 > 30 bytes data, server => client
03:10:41.086329 '257 "/" is current directory\r\n'
03:10:41.086532 < 6 bytes data, client => server
03:10:41.086547 'EPSV\r\n'
03:10:41.088382 Received DATA (on stdin)
03:10:41.088404 > 38 bytes data, server => client
03:10:41.088422 '229 Entering Passive Mode (|||36423|)\n'
03:10:41.088729 < 8 bytes data, client => server
03:10:41.088746 'TYPE I\r\n'
03:10:41.088796 Received DATA (on stdin)
03:10:41.088812 > 33 bytes data, server => client
03:10:41.088829 '200 I modify TYPE as you wanted\r\n'
03:10:41.088990 < 21 bytes data, client => server
03:10:41.089007 'SIZE verifiedserver\r\n'
03:10:41.089060 Received DATA (on stdin)
03:10:41.089075 > 8 bytes data, server => client
03:10:41.089087 '213 17\r\n'
03:10:41.089236 < 21 bytes data, client => server
03:10:41.089253 'RETR verifiedserver\r\n'
03:10:41.089302 Received DATA (on stdin)
03:10:41.089316 > 29 bytes data, server => client
03:10:41.089332 '150 Binary junk (17 bytes).\r\n'
03:10:41.089523 Received DATA (on stdin)
03:10:41.089538 > 28 bytes data, server => client
03:10:41.089554 '226 File transfer complete\r\n'
03:10:41.136330 < 6 bytes data, client => server
03:10:41.136380 'QUIT\r\n'
03:10:41.136508 Received DATA (on stdin)
03:10:41.136531 > 18 bytes data, server => client
03:10:41.136546 '221 bye bye baby\r\n'
03:10:41.136662 ====> Client disconnect
03:10:45.206248 ====> Client connect
03:10:45.206735 Received DATA (on stdin)
03:10:45.206752 > 1 bytes data, server => client
03:10:45.206764 '2'
03:10:45.216828 Received DATA (on stdin)
03:10:45.216873 > 1 bytes data, server => client
03:10:45.216883 '2'
03:10:45.226934 Received DATA (on stdin)
03:10:45.226988 > 1 bytes data, server => client
03:10:45.226999 '0'
03:10:45.237012 Received DATA (on stdin)
03:10:45.237063 > 1 bytes data, server => client
03:10:45.237075 '-'
03:10:45.247095 Received DATA (on stdin)
03:10:45.247143 > 1 bytes data, server => client
03:10:45.247155 ' '
03:10:45.257154 Received DATA (on stdin)
03:10:45.257198 > 1 bytes data, server => client
03:10:45.257209 ' '
03:10:45.267242 Received DATA (on stdin)
03:10:45.267287 > 1 bytes data, server => client
03:10:45.267297 ' '
03:10:45.277367 Received DATA (on stdin)
03:10:45.277406 > 1 bytes data, server => client
03:10:45.277420 ' '
03:10:45.287426 Received DATA (on stdin)
03:10:45.287451 > 1 bytes data, server => client
03:10:45.287465 ' '
03:10:45.297514 Received DATA (on stdin)
03:10:45.297572 > 1 bytes data, server => client
03:10:45.297590 ' '
03:10:45.307607 Received DATA (on stdin)
03:10:45.307639 > 1 bytes data, server => client
03:10:45.307665 ' '
03:10:45.317729 Received DATA (on stdin)
03:10:45.317784 > 1 bytes data, server => client
03:10:45.317808 ' '
03:10:45.327844 Received DATA (on stdin)
03:10:45.327900 > 1 bytes data, server => client
03:10:45.327924 '_'
03:10:45.337924 Received DATA (on stdin)
03:10:45.337989 > 1 bytes data, server => client
03:10:45.338015 ' '
03:10:45.348025 Received DATA (on stdin)
03:10:45.348114 > 1 bytes data, server => client
03:10:45.348138 ' '
03:10:45.358103 Received DATA (on stdin)
03:10:45.358165 > 1 bytes data, server => client
03:10:45.358188 ' '
03:10:45.368213 Received DATA (on stdin)
03:10:45.368271 > 1 bytes data, server => client
03:10:45.368298 '_'
03:10:45.378269 Received DATA (on stdin)
03:10:45.378326 > 1 bytes data, server => client
03:10:45.378350 ' '
03:10:45.388359 Received DATA (on stdin)
03:10:45.388413 > 1 bytes data, server => client
03:10:45.388438 '_'
03:10:45.398472 Received DATA (on stdin)
03:10:45.398548 > 1 bytes data, server => client
03:10:45.398571 '_'
03:10:45.408565 Received DATA (on stdin)
03:10:45.408626 > 1 bytes data, server => client
03:10:45.408653 '_'
03:10:45.418639 Received DATA (on stdin)
03:10:45.418703 > 1 bytes data, server => client
03:10:45.418734 '_'
03:10:45.428752 Received DATA (on stdin)
03:10:45.428833 > 1 bytes data, server => client
03:10:45.428868 ' '
03:10:45.438807 Received DATA (on stdin)
03:10:45.438845 > 1 bytes data, server => client
03:10:45.438866 ' '
03:10:45.448899 Received DATA (on stdin)
03:10:45.448954 > 1 bytes data, server => client
03:10:45.448977 '_'
03:10:45.458992 Received DATA (on stdin)
03:10:45.459056 > 1 bytes data, server => client
03:10:45.459079 ' '
03:10:45.469086 Received DATA (on stdin)
03:10:45.469143 > 1 bytes data, server => client
03:10:45.469167 ' '
03:10:45.479164 Received DATA (on stdin)
03:10:45.479225 > 1 bytes data, server => client
03:10:45.479253 ' '
03:10:45.489258 Received DATA (on stdin)
03:10:45.489315 > 1 bytes data, server => client
03:10:45.489340 ' '
03:10:45.499345 Received DATA (on stdin)
03:10:45.499402 > 1 bytes data, server => client
03:10:45.499427 ' '
03:10:45.509462 Received DATA (on stdin)
03:10:45.509555 > 1 bytes data, server => client
03:10:45.509579 '\r'
03:10:45.519546 Received DATA (on stdin)
03:10:45.519601 > 1 bytes data, server => client
03:10:45.519625 '\n'
03:10:45.529593 Received DATA (on stdin)
03:10:45.529630 > 1 bytes data, server => client
03:10:45.529652 '2'
03:10:45.539695 Received DATA (on stdin)
03:10:45.539779 > 1 bytes data, server => client
03:10:45.539813 '2'
03:10:45.549768 Received DATA (on stdin)
03:10:45.549833 > 1 bytes data, server => client
03:10:45.549862 '0'
03:10:45.559819 Received DATA (on stdin)
03:10:45.559871 > 1 bytes data, server => client
03:10:45.559896 '-'
03:10:45.569924 Received DATA (on stdin)
03:10:45.569982 > 1 bytes data, server => client
03:10:45.570009 ' '
03:10:45.580018 Received DATA (on stdin)
03:10:45.580076 > 1 bytes data, server => client
03:10:45.580103 ' '
03:10:45.590112 Received DATA (on stdin)
03:10:45.590170 > 1 bytes data, server => client
03:10:45.590198 ' '
03:10:45.600185 Received DATA (on stdin)
03:10:45.600239 > 1 bytes data, server => client
03:10:45.600265 ' '
03:10:45.610303 Received DATA (on stdin)
03:10:45.610362 > 1 bytes data, server => client
03:10:45.610389 '_'
03:10:45.620398 Received DATA (on stdin)
03:10:45.620457 > 1 bytes data, server => client
03:10:45.620484 '_'
03:10:45.630493 Received DATA (on stdin)
03:10:45.630551 > 1 bytes data, server => client
03:10:45.630578 '_'
03:10:45.640585 Received DATA (on stdin)
03:10:45.640643 > 1 bytes data, server => client
03:10:45.640670 '|'
03:10:45.650680 Received DATA (on stdin)
03:10:45.650739 > 1 bytes data, server => client
03:10:45.650766 ' '
03:10:45.660744 Received DATA (on stdin)
03:10:45.660811 > 1 bytes data, server => client
03:10:45.660847 '|'
03:10:45.670857 Received DATA (on stdin)
03:10:45.670915 > 1 bytes data, server => client
03:10:45.670942 ' '
03:10:45.680950 Received DATA (on stdin)
03:10:45.681009 > 1 bytes data, server => client
03:10:45.681036 '|'
03:10:45.691044 Received DATA (on stdin)
03:10:45.691103 > 1 bytes data, server => client
03:10:45.691130 ' '
03:10:45.701125 Received DATA (on stdin)
03:10:45.701199 > 1 bytes data, server => client
03:10:45.701226 '|'
03:10:45.711193 Received DATA (on stdin)
03:10:45.711250 > 1 bytes data, server => client
03:10:45.711275 ' '
03:10:45.721283 Received DATA (on stdin)
03:10:45.721324 > 1 bytes data, server => client
03:10:45.721357 ' '
03:10:45.731403 Received DATA (on stdin)
03:10:45.731466 > 1 bytes data, server => client
03:10:45.731493 '_'
03:10:45.741486 Received DATA (on stdin)
03:10:45.741547 > 1 bytes data, server => client
03:10:45.741574 ' '
03:10:45.751577 Received DATA (on stdin)
03:10:45.751637 > 1 bytes data, server => client
03:10:45.751663 '\'
03:10:45.761659 Received DATA (on stdin)
03:10:45.761721 > 1 bytes data, server => client
03:10:45.761748 '|'
03:10:45.771756 Received DATA (on stdin)
03:10:45.771834 > 1 bytes data, server => client
03:10:45.771860 ' '
03:10:45.781846 Received DATA (on stdin)
03:10:45.781905 > 1 bytes data, server => client
03:10:45.781931 '|'
03:10:45.791932 Received DATA (on stdin)
03:10:45.791991 > 1 bytes data, server => client
03:10:45.792018 ' '
03:10:45.802023 Received DATA (on stdin)
03:10:45.802082 > 1 bytes data, server => client
03:10:45.802109 ' '
03:10:45.812093 Received DATA (on stdin)
03:10:45.812151 > 1 bytes data, server => client
03:10:45.812180 ' '
03:10:45.822185 Received DATA (on stdin)
03:10:45.822238 > 1 bytes data, server => client
03:10:45.822271 ' '
03:10:45.832290 Received DATA (on stdin)
03:10:45.832349 > 1 bytes data, server => client
03:10:45.832376 '\r'
03:10:45.842373 Received DATA (on stdin)
03:10:45.842435 > 1 bytes data, server => client
03:10:45.842461 '\n'
03:10:45.852465 Received DATA (on stdin)
03:10:45.852524 > 1 bytes data, server => client
03:10:45.852551 '2'
03:10:45.862563 Received DATA (on stdin)
03:10:45.862616 > 1 bytes data, server => client
03:10:45.862646 '2'
03:10:45.872670 Received DATA (on stdin)
03:10:45.872722 > 1 bytes data, server => client
03:10:45.872748 '0'
03:10:45.882746 Received DATA (on stdin)
03:10:45.882805 > 1 bytes data, server => client
03:10:45.882832 '-'
03:10:45.892784 Received DATA (on stdin)
03:10:45.892819 > 1 bytes data, server => client
03:10:45.892838 ' '
03:10:45.902872 Received DATA (on stdin)
03:10:45.902942 > 1 bytes data, server => client
03:10:45.902966 ' '
03:10:45.912973 Received DATA (on stdin)
03:10:45.913032 > 1 bytes data, server => client
03:10:45.913059 ' '
03:10:45.923046 Received DATA (on stdin)
03:10:45.923126 > 1 bytes data, server => client
03:10:45.923167 '/'
03:10:45.933140 Received DATA (on stdin)
03:10:45.933228 > 1 bytes data, server => client
03:10:45.933253 ' '
03:10:45.943246 Received DATA (on stdin)
03:10:45.943299 > 1 bytes data, server => client
03:10:45.943329 '_'
03:10:45.953332 Received DATA (on stdin)
03:10:45.953376 > 1 bytes data, server => client
03:10:45.953399 '_'
03:10:45.963421 Received DATA (on stdin)
03:10:45.963460 > 1 bytes data, server => client
03:10:45.963482 '|'
03:10:45.973512 Received DATA (on stdin)
03:10:45.973549 > 1 bytes data, server => client
03:10:45.973571 ' '
03:10:45.983629 Received DATA (on stdin)
03:10:45.983688 > 1 bytes data, server => client
03:10:45.983716 '|'
03:10:45.993701 Received DATA (on stdin)
03:10:45.993755 > 1 bytes data, server => client
03:10:45.993780 ' '
03:10:46.003806 Received DATA (on stdin)
03:10:46.003870 > 1 bytes data, server => client
03:10:46.003896 '|'
03:10:46.013901 Received DATA (on stdin)
03:10:46.013972 > 1 bytes data, server => client
03:10:46.014000 ' '
03:10:46.024002 Received DATA (on stdin)
03:10:46.024061 > 1 bytes data, server => client
03:10:46.024088 '|'
03:10:46.034094 Received DATA (on stdin)
03:10:46.034153 > 1 bytes data, server => client
03:10:46.034180 ' '
03:10:46.044182 Received DATA (on stdin)
03:10:46.044241 > 1 bytes data, server => client
03:10:46.044268 '|'
03:10:46.054274 Received DATA (on stdin)
03:10:46.054333 > 1 bytes data, server => client
03:10:46.054360 '_'
03:10:46.064363 Received DATA (on stdin)
03:10:46.064422 > 1 bytes data, server => client
03:10:46.064449 ')'
03:10:46.074455 Received DATA (on stdin)
03:10:46.074531 > 1 bytes data, server => client
03:10:46.074558 ' '
03:10:46.084546 Received DATA (on stdin)
03:10:46.084604 > 1 bytes data, server => client
03:10:46.084632 '|'
03:10:46.094640 Received DATA (on stdin)
03:10:46.094699 > 1 bytes data, server => client
03:10:46.094726 ' '
03:10:46.104725 Received DATA (on stdin)
03:10:46.104790 > 1 bytes data, server => client
03:10:46.104817 '|'
03:10:46.114813 Received DATA (on stdin)
03:10:46.114879 > 1 bytes data, server => client
03:10:46.114907 ' '
03:10:46.124878 Received DATA (on stdin)
03:10:46.124919 > 1 bytes data, server => client
03:10:46.124929 ' '
03:10:46.134984 Received DATA (on stdin)
03:10:46.135034 > 1 bytes data, server => client
03:10:46.135046 ' '
03:10:46.145043 Received DATA (on stdin)
03:10:46.145088 > 1 bytes data, server => client
03:10:46.145106 ' '
03:10:46.155127 Received DATA (on stdin)
03:10:46.155181 > 1 bytes data, server => client
03:10:46.155199 '\r'
03:10:46.165214 Received DATA (on stdin)
03:10:46.165264 > 1 bytes data, server => client
03:10:46.165287 '\n'
03:10:46.175298 Received DATA (on stdin)
03:10:46.175365 > 1 bytes data, server => client
03:10:46.175393 '2'
03:10:46.185374 Received DATA (on stdin)
03:10:46.185424 > 1 bytes data, server => client
03:10:46.185442 '2'
03:10:46.195451 Received DATA (on stdin)
03:10:46.195493 > 1 bytes data, server => client
03:10:46.195503 '0'
03:10:46.205529 Received DATA (on stdin)
03:10:46.205570 > 1 bytes data, server => client
03:10:46.205580 '-'
03:10:46.215648 Received DATA (on stdin)
03:10:46.215698 > 1 bytes data, server => client
03:10:46.215718 ' '
03:10:46.225727 Received DATA (on stdin)
03:10:46.225785 > 1 bytes data, server => client
03:10:46.225806 ' '
03:10:46.235837 Received DATA (on stdin)
03:10:46.235872 > 1 bytes data, server => client
03:10:46.235898 '|'
03:10:46.245930 Received DATA (on stdin)
03:10:46.245970 > 1 bytes data, server => client
03:10:46.245992 ' '
03:10:46.256049 Received DATA (on stdin)
03:10:46.256117 > 1 bytes data, server => client
03:10:46.256144 '('
03:10:46.266141 Received DATA (on stdin)
03:10:46.266199 > 1 bytes data, server => client
03:10:46.266226 '_'
03:10:46.276232 Received DATA (on stdin)
03:10:46.276292 > 1 bytes data, server => client
03:10:46.276319 '_'
03:10:46.286304 Received DATA (on stdin)
03:10:46.286358 > 1 bytes data, server => client
03:10:46.286388 '|'
03:10:46.296418 Received DATA (on stdin)
03:10:46.296477 > 1 bytes data, server => client
03:10:46.296505 ' '
03:10:46.306510 Received DATA (on stdin)
03:10:46.306569 > 1 bytes data, server => client
03:10:46.306596 '|'
03:10:46.316602 Received DATA (on stdin)
03:10:46.316660 > 1 bytes data, server => client
03:10:46.316687 '_'
03:10:46.326668 Received DATA (on stdin)
03:10:46.326771 > 1 bytes data, server => client
03:10:46.326798 '|'
03:10:46.336774 Received DATA (on stdin)
03:10:46.336832 > 1 bytes data, server => client
03:10:46.336860 ' '
03:10:46.346868 Received DATA (on stdin)
03:10:46.346926 > 1 bytes data, server => client
03:10:46.346954 '|'
03:10:46.356988 Received DATA (on stdin)
03:10:46.357071 > 1 bytes data, server => client
03:10:46.357096 ' '
03:10:46.367052 Received DATA (on stdin)
03:10:46.367110 > 1 bytes data, server => client
03:10:46.367135 ' '
03:10:46.377169 Received DATA (on stdin)
03:10:46.377227 > 1 bytes data, server => client
03:10:46.377254 '_'
03:10:46.387239 Received DATA (on stdin)
03:10:46.387293 > 1 bytes data, server => client
03:10:46.387318 ' '
03:10:46.397332 Received DATA (on stdin)
03:10:46.397370 > 1 bytes data, server => client
03:10:46.397392 '{'
03:10:46.407450 Received DATA (on stdin)
03:10:46.407508 > 1 bytes data, server => client
03:10:46.407535 '|'
03:10:46.417539 Received DATA (on stdin)
03:10:46.417605 > 1 bytes data, server => client
03:10:46.417719 ' '
03:10:46.427621 Received DATA (on stdin)
03:10:46.427699 > 1 bytes data, server => client
03:10:46.427725 '|'
03:10:46.437701 Received DATA (on stdin)
03:10:46.437749 > 1 bytes data, server => client
03:10:46.437771 '_'
03:10:46.447829 Received DATA (on stdin)
03:10:46.447869 > 1 bytes data, server => client
03:10:46.447907 '_'
03:10:46.457907 Received DATA (on stdin)
03:10:46.457967 > 1 bytes data, server => client
03:10:46.457991 '_'
03:10:46.467997 Received DATA (on stdin)
03:10:46.468044 > 1 bytes data, server => client
03:10:46.468073 ' '
03:10:46.478113 Received DATA (on stdin)
03:10:46.478173 > 1 bytes data, server => client
03:10:46.478198 '\r'
03:10:46.488200 Received DATA (on stdin)
03:10:46.488275 > 1 bytes data, server => client
03:10:46.488299 '\n'
03:10:46.498289 Received DATA (on stdin)
03:10:46.498380 > 1 bytes data, server => client
03:10:46.498406 '2'
03:10:46.508414 Received DATA (on stdin)
03:10:46.508486 > 1 bytes data, server => client
03:10:46.508504 '2'
03:10:46.518504 Received DATA (on stdin)
03:10:46.518553 > 1 bytes data, server => client
03:10:46.518574 '0'
03:10:46.528599 Received DATA (on stdin)
03:10:46.528644 > 1 bytes data, server => client
03:10:46.528663 ' '
03:10:46.538691 Received DATA (on stdin)
03:10:46.538732 > 1 bytes data, server => client
03:10:46.538755 ' '
03:10:46.548814 Received DATA (on stdin)
03:10:46.548871 > 1 bytes data, server => client
03:10:46.548898 ' '
03:10:46.558906 Received DATA (on stdin)
03:10:46.558941 > 1 bytes data, server => client
03:10:46.558963 ' '
03:10:46.568977 Received DATA (on stdin)
03:10:46.569024 > 1 bytes data, server => client
03:10:46.569050 '\'
03:10:46.579058 Received DATA (on stdin)
03:10:46.579100 > 1 bytes data, server => client
03:10:46.579122 '_'
03:10:46.589135 Received DATA (on stdin)
03:10:46.589178 > 1 bytes data, server => client
03:10:46.589209 '_'
03:10:46.599215 Received DATA (on stdin)
03:10:46.599256 > 1 bytes data, server => client
03:10:46.599278 '_'
03:10:46.609316 Received DATA (on stdin)
03:10:46.609383 > 1 bytes data, server => client
03:10:46.609413 '|'
03:10:46.619422 Received DATA (on stdin)
03:10:46.619503 > 1 bytes data, server => client
03:10:46.619530 '\'
03:10:46.629524 Received DATA (on stdin)
03:10:46.629575 > 1 bytes data, server => client
03:10:46.629600 '_'
03:10:46.639646 Received DATA (on stdin)
03:10:46.639714 > 1 bytes data, server => client
03:10:46.639742 '_'
03:10:46.649745 Received DATA (on stdin)
03:10:46.649803 > 1 bytes data, server => client
03:10:46.649830 '_'
03:10:46.659819 Received DATA (on stdin)
03:10:46.659876 > 1 bytes data, server => client
03:10:46.659902 '/'
03:10:46.669900 Received DATA (on stdin)
03:10:46.669946 > 1 bytes data, server => client
03:10:46.669969 '|'
03:10:46.680009 Received DATA (on stdin)
03:10:46.680068 > 1 bytes data, server => client
03:10:46.680094 '_'
03:10:46.690100 Received DATA (on stdin)
03:10:46.690159 > 1 bytes data, server => client
03:10:46.690186 '|'
03:10:46.700179 Received DATA (on stdin)
03:10:46.700254 > 1 bytes data, server => client
03:10:46.700298 ' '
03:10:46.710290 Received DATA (on stdin)
03:10:46.710360 > 1 bytes data, server => client
03:10:46.710386 '\'
03:10:46.720382 Received DATA (on stdin)
03:10:46.720442 > 1 bytes data, server => client
03:10:46.720469 '_'
03:10:46.730467 Received DATA (on stdin)
03:10:46.730529 > 1 bytes data, server => client
03:10:46.730556 '\'
03:10:46.740562 Received DATA (on stdin)
03:10:46.740626 > 1 bytes data, server => client
03:10:46.740652 '_'
03:10:46.750648 Received DATA (on stdin)
03:10:46.750709 > 1 bytes data, server => client
03:10:46.750735 '_'
03:10:46.760741 Received DATA (on stdin)
03:10:46.760801 > 1 bytes data, server => client
03:10:46.760828 '_'
03:10:46.770813 Received DATA (on stdin)
03:10:46.770866 > 1 bytes data, server => client
03:10:46.770891 '_'
03:10:46.780926 Received DATA (on stdin)
03:10:46.780987 > 1 bytes data, server => client
03:10:46.781012 '_'
03:10:46.791030 Received DATA (on stdin)
03:10:46.791116 > 1 bytes data, server => client
03:10:46.791152 '|'
03:10:46.801125 Received DATA (on stdin)
03:10:46.801204 > 1 bytes data, server => client
03:10:46.801237 '\r'
03:10:46.811222 Received DATA (on stdin)
03:10:46.811279 > 1 bytes data, server => client
03:10:46.811301 '\n'
03:10:46.826866 < 16 bytes data, client => server
03:10:46.826897 'USER anonymous\r\n'
03:10:46.827041 Received DATA (on stdin)
03:10:46.827065 > 1 bytes data, server => client
03:10:46.827081 '3'
03:10:46.837146 Received DATA (on stdin)
03:10:46.837203 > 1 bytes data, server => client
03:10:46.837226 '3'
03:10:46.847240 Received DATA (on stdin)
03:10:46.847307 > 1 bytes data, server => client
03:10:46.847334 '1'
03:10:46.857347 Received DATA (on stdin)
03:10:46.857410 > 1 bytes data, server => client
03:10:46.857434 ' '
03:10:46.867433 Received DATA (on stdin)
03:10:46.867511 > 1 bytes data, server => client
03:10:46.867537 'O'
03:10:46.877522 Received DATA (on stdin)
03:10:46.877582 > 1 bytes data, server => client
03:10:46.877609 'K'
03:10:46.887603 Received DATA (on stdin)
03:10:46.887663 > 1 bytes data, server => client
03:10:46.887689 '\r'
03:10:46.897667 Received DATA (on stdin)
03:10:46.897727 > 1 bytes data, server => client
03:10:46.897778 '\n'
03:10:46.902004 < 22 bytes data, client => server
03:10:46.902067 'PASS ftp@example.com\r\n'
03:10:46.908066 Received DATA (on stdin)
03:10:46.908123 > 1 bytes data, server => client
03:10:46.908148 '2'
03:10:46.918141 Received DATA (on stdin)
03:10:46.918182 > 1 bytes data, server => client
03:10:46.918205 '3'
03:10:46.928216 Received DATA (on stdin)
03:10:46.928254 > 1 bytes data, server => client
03:10:46.928266 '0'
03:10:46.938315 Received DATA (on stdin)
03:10:46.938386 > 1 bytes data, server => client
03:10:46.938411 ' '
03:10:46.948423 Received DATA (on stdin)
03:10:46.948489 > 1 bytes data, server => client
03:10:46.948525 'O'
03:10:46.958502 Received DATA (on stdin)
03:10:46.958559 > 1 bytes data, server => client
03:10:46.958588 'K'
03:10:46.968601 Received DATA (on stdin)
03:10:46.968635 > 1 bytes data, server => client
03:10:46.968666 '\r'
03:10:46.978688 Received DATA (on stdin)
03:10:46.978727 > 1 bytes data, server => client
03:10:46.978749 '\n'
03:10:46.981660 < 8 bytes data, client => server
03:10:46.981716 'PBSZ 0\r\n'
03:10:46.989105 Received DATA (on stdin)
03:10:46.989164 > 1 bytes data, server => client
03:10:46.989192 '5'
03:10:46.999194 Received DATA (on stdin)
03:10:46.999262 > 1 bytes data, server => client
03:10:46.999300 '0'
03:10:47.009282 Received DATA (on stdin)
03:10:47.009348 > 1 bytes data, server => client
03:10:47.009375 '0'
03:10:47.019359 Received DATA (on stdin)
03:10:47.019417 > 1 bytes data, server => client
03:10:47.019445 ' '
03:10:47.029421 Received DATA (on stdin)
03:10:47.029474 > 1 bytes data, server => client
03:10:47.029507 'P'
03:10:47.039521 Received DATA (on stdin)
03:10:47.039580 > 1 bytes data, server => client
03:10:47.039607 'B'
03:10:47.049606 Received DATA (on stdin)
03:10:47.049672 > 1 bytes data, server => client
03:10:47.049698 'S'
03:10:47.059688 Received DATA (on stdin)
03:10:47.059747 > 1 bytes data, server => client
03:10:47.059785 'Z'
03:10:47.069760 Received DATA (on stdin)
03:10:47.069817 > 1 bytes data, server => client
03:10:47.069842 ' '
03:10:47.079833 Received DATA (on stdin)
03:10:47.079892 > 1 bytes data, server => client
03:10:47.079920 'n'
03:10:47.089906 Received DATA (on stdin)
03:10:47.089961 > 1 bytes data, server => client
03:10:47.089996 'o'
03:10:47.099990 Received DATA (on stdin)
03:10:47.100029 > 1 bytes data, server => client
03:10:47.100052 't'
03:10:47.110094 Received DATA (on stdin)
03:10:47.110153 > 1 bytes data, server => client
03:10:47.110180 ' '
03:10:47.120156 Received DATA (on stdin)
03:10:47.120216 > 1 bytes data, server => client
03:10:47.120242 'i'
03:10:47.130249 Received DATA (on stdin)
03:10:47.130304 > 1 bytes data, server => client
03:10:47.130330 'm'
03:10:47.140353 Received DATA (on stdin)
03:10:47.140409 > 1 bytes data, server => client
03:10:47.140429 'p'
03:10:47.150433 Received DATA (on stdin)
03:10:47.150499 > 1 bytes data, server => client
03:10:47.150523 'l'
03:10:47.160520 Received DATA (on stdin)
03:10:47.160579 > 1 bytes data, server => client
03:10:47.160606 'e'
03:10:47.170614 Received DATA (on stdin)
03:10:47.170678 > 1 bytes data, server => client
03:10:47.170705 'm'
03:10:47.180699 Received DATA (on stdin)
03:10:47.180759 > 1 bytes data, server => client
03:10:47.180805 'e'
03:10:47.190795 Received DATA (on stdin)
03:10:47.190861 > 1 bytes data, server => client
03:10:47.190888 'n'
03:10:47.200886 Received DATA (on stdin)
03:10:47.200966 > 1 bytes data, server => client
03:10:47.201002 't'
03:10:47.210965 Received DATA (on stdin)
03:10:47.211025 > 1 bytes data, server => client
03:10:47.211052 'e'
03:10:47.221054 Received DATA (on stdin)
03:10:47.221114 > 1 bytes data, server => client
03:10:47.221141 'd'
03:10:47.231148 Received DATA (on stdin)
03:10:47.231207 > 1 bytes data, server => client
03:10:47.231234 '\r'
03:10:47.241217 Received DATA (on stdin)
03:10:47.241271 > 1 bytes data, server => client
03:10:47.241295 '\n'
03:10:47.243959 < 8 bytes data, client => server
03:10:47.244018 'PROT C\r\n'
03:10:47.251657 Received DATA (on stdin)
03:10:47.251719 > 1 bytes data, server => client
03:10:47.251746 '5'
03:10:47.261746 Received DATA (on stdin)
03:10:47.261805 > 1 bytes data, server => client
03:10:47.261832 '0'
03:10:47.271848 Received DATA (on stdin)
03:10:47.271909 > 1 bytes data, server => client
03:10:47.271936 '0'
03:10:47.281912 Received DATA (on stdin)
03:10:47.281970 > 1 bytes data, server => client
03:10:47.281998 ' '
03:10:47.291991 Received DATA (on stdin)
03:10:47.292054 > 1 bytes data, server => client
03:10:47.292079 'P'
03:10:47.302082 Received DATA (on stdin)
03:10:47.302138 > 1 bytes data, server => client
03:10:47.302168 'R'
03:10:47.312170 Received DATA (on stdin)
03:10:47.312211 > 1 bytes data, server => client
03:10:47.312239 'O'
03:10:47.322286 Received DATA (on stdin)
03:10:47.322345 > 1 bytes data, server => client
03:10:47.322372 'T'
03:10:47.332353 Received DATA (on stdin)
03:10:47.332408 > 1 bytes data, server => client
03:10:47.332438 ' '
03:10:47.342446 Received DATA (on stdin)
03:10:47.342504 > 1 bytes data, server => client
03:10:47.342529 'n'
03:10:47.352535 Received DATA (on stdin)
03:10:47.352576 > 1 bytes data, server => client
03:10:47.352599 'o'
03:10:47.362627 Received DATA (on stdin)
03:10:47.362664 > 1 bytes data, server => client
03:10:47.362686 't'
03:10:47.372744 Received DATA (on stdin)
03:10:47.372802 > 1 bytes data, server => client
03:10:47.372829 ' '
03:10:47.382834 Received DATA (on stdin)
03:10:47.382893 > 1 bytes data, server => client
03:10:47.382921 'i'
03:10:47.392926 Received DATA (on stdin)
03:10:47.392984 > 1 bytes data, server => client
03:10:47.393012 'm'
03:10:47.403031 Received DATA (on stdin)
03:10:47.403096 > 1 bytes data, server => client
03:10:47.403122 'p'
03:10:47.413139 Received DATA (on stdin)
03:10:47.413197 > 1 bytes data, server => client
03:10:47.413225 'l'
03:10:47.423238 Received DATA (on stdin)
03:10:47.423316 > 1 bytes data, server => client
03:10:47.423342 'e'
03:10:47.433324 Received DATA (on stdin)
03:10:47.433409 > 1 bytes data, server => client
03:10:47.433433 'm'
03:10:47.443418 Received DATA (on stdin)
03:10:47.443476 > 1 bytes data, server => client
03:10:47.443503 'e'
03:10:47.453513 Received DATA (on stdin)
03:10:47.453577 > 1 bytes data, server => client
03:10:47.453604 'n'
03:10:47.463604 Received DATA (on stdin)
03:10:47.463663 > 1 bytes data, server => client
03:10:47.463691 't'
03:10:47.473696 Received DATA (on stdin)
03:10:47.473756 > 1 bytes data, server => client
03:10:47.473783 'e'
03:10:47.483786 Received DATA (on stdin)
03:10:47.483848 > 1 bytes data, server => client
03:10:47.483874 'd'
03:10:47.493879 Received DATA (on stdin)
03:10:47.493940 > 1 bytes data, server => client
03:10:47.493967 '\r'
03:10:47.503997 Received DATA (on stdin)
03:10:47.504092 > 1 bytes data, server => client
03:10:47.504116 '\n'
03:10:47.507349 < 5 bytes data, client => server
03:10:47.507404 'PWD\r\n'
03:10:47.514381 Received DATA (on stdin)
03:10:47.514440 > 1 bytes data, server => client
03:10:47.514467 '2'
03:10:47.524437 Received DATA (on stdin)
03:10:47.524502 > 1 bytes data, server => client
03:10:47.524542 '5'
03:10:47.534542 Received DATA (on stdin)
03:10:47.534601 > 1 bytes data, server => client
03:10:47.534628 '7'
03:10:47.544656 Received DATA (on stdin)
03:10:47.544717 > 1 bytes data, server => client
03:10:47.544762 ' '
03:10:47.554772 Received DATA (on stdin)
03:10:47.554841 > 1 bytes data, server => client
03:10:47.554867 '"'
03:10:47.564859 Received DATA (on stdin)
03:10:47.564920 > 1 bytes data, server => client
03:10:47.564947 '/'
03:10:47.574933 Received DATA (on stdin)
03:10:47.575000 > 1 bytes data, server => client
03:10:47.575025 '"'
03:10:47.585027 Received DATA (on stdin)
03:10:47.585091 > 1 bytes data, server => client
03:10:47.585126 '\r'
03:10:47.595122 Received DATA (on stdin)
03:10:47.595182 > 1 bytes data, server => client
03:10:47.595206 '\n'
03:10:47.609951 < 6 bytes data, client => server
03:10:47.609983 'EPSV\r\n'
03:10:47.612226 Received DATA (on stdin)
03:10:47.612252 > 1 bytes data, server => client
03:10:47.612262 '2'
03:10:47.622338 Received DATA (on stdin)
03:10:47.622401 > 1 bytes data, server => client
03:10:47.622422 '2'
03:10:47.632422 Received DATA (on stdin)
03:10:47.632476 > 1 bytes data, server => client
03:10:47.632493 '9'
03:10:47.642507 Received DATA (on stdin)
03:10:47.642570 > 1 bytes data, server => client
03:10:47.642595 ' '
03:10:47.652617 Received DATA (on stdin)
03:10:47.652674 > 1 bytes data, server => client
03:10:47.652699 'E'
03:10:47.662702 Received DATA (on stdin)
03:10:47.662762 > 1 bytes data, server => client
03:10:47.662789 'n'
03:10:47.672784 Received DATA (on stdin)
03:10:47.672844 > 1 bytes data, server => client
03:10:47.672871 't'
03:10:47.682887 Received DATA (on stdin)
03:10:47.682948 > 1 bytes data, server => client
03:10:47.682975 'e'
03:10:47.692970 Received DATA (on stdin)
03:10:47.693029 > 1 bytes data, server => client
03:10:47.693056 'r'
03:10:47.703039 Received DATA (on stdin)
03:10:47.703095 > 1 bytes data, server => client
03:10:47.703120 'i'
03:10:47.713152 Received DATA (on stdin)
03:10:47.713211 > 1 bytes data, server => client
03:10:47.713238 'n'
03:10:47.723214 Received DATA (on stdin)
03:10:47.723271 > 1 bytes data, server => client
03:10:47.723306 'g'
03:10:47.733327 Received DATA (on stdin)
03:10:47.733399 > 1 bytes data, server => client
03:10:47.733425 ' '
03:10:47.743420 Received DATA (on stdin)
03:10:47.743481 > 1 bytes data, server => client
03:10:47.743507 'P'
03:10:47.753546 Received DATA (on stdin)
03:10:47.753650 > 1 bytes data, server => client
03:10:47.753691 'a'
03:10:47.763654 Received DATA (on stdin)
03:10:47.763733 > 1 bytes data, server => client
03:10:47.763760 's'
03:10:47.773738 Received DATA (on stdin)
03:10:47.773795 > 1 bytes data, server => client
03:10:47.773821 's'
03:10:47.783868 Received DATA (on stdin)
03:10:47.783926 > 1 bytes data, server => client
03:10:47.783952 'i'
03:10:47.793926 Received DATA (on stdin)
03:10:47.793985 > 1 bytes data, server => client
03:10:47.794013 'v'
03:10:47.804005 Received DATA (on stdin)
03:10:47.804086 > 1 bytes data, server => client
03:10:47.804113 'e'
03:10:47.814095 Received DATA (on stdin)
03:10:47.814181 > 1 bytes data, server => client
03:10:47.814206 ' '
03:10:47.824190 Received DATA (on stdin)
03:10:47.824275 > 1 bytes data, server => client
03:10:47.824302 'M'
03:10:47.834266 Received DATA (on stdin)
03:10:47.834333 > 1 bytes data, server => client
03:10:47.834369 'o'
03:10:47.844383 Received DATA (on stdin)
03:10:47.844444 > 1 bytes data, server => client
03:10:47.844471 'd'
03:10:47.854465 Received DATA (on stdin)
03:10:47.854526 > 1 bytes data, server => client
03:10:47.854553 'e'
03:10:47.864555 Received DATA (on stdin)
03:10:47.864615 > 1 bytes data, server => client
03:10:47.864642 ' '
03:10:47.874638 Received DATA (on stdin)
03:10:47.874699 > 1 bytes data, server => client
03:10:47.874726 '('
03:10:47.884728 Received DATA (on stdin)
03:10:47.884787 > 1 bytes data, server => client
03:10:47.884814 '|'
03:10:47.894825 Received DATA (on stdin)
03:10:47.894884 > 1 bytes data, server => client
03:10:47.894912 '|'
03:10:47.904916 Received DATA (on stdin)
03:10:47.904976 > 1 bytes data, server => client
03:10:47.905003 '|'
03:10:47.915008 Received DATA (on stdin)
03:10:47.915071 > 1 bytes data, server => client
03:10:47.915098 '4'
03:10:47.925080 Received DATA (on stdin)
03:10:47.925154 > 1 bytes data, server => client
03:10:47.925181 '3'
03:10:47.935211 Received DATA (on stdin)
03:10:47.935283 > 1 bytes data, server => client
03:10:47.935310 '6'
03:10:47.945298 Received DATA (on stdin)
03:10:47.945339 > 1 bytes data, server => client
03:10:47.945365 '4'
03:10:47.955381 Received DATA (on stdin)
03:10:47.955437 > 1 bytes data, server => client
03:10:47.955463 '7'
03:10:47.965445 Received DATA (on stdin)
03:10:47.965504 > 1 bytes data, server => client
03:10:47.965531 '|'
03:10:47.975536 Received DATA (on stdin)
03:10:47.975596 > 1 bytes data, server => client
03:10:47.975624 ')'
03:10:47.985622 Received DATA (on stdin)
03:10:47.985681 > 1 bytes data, server => client
03:10:47.985708 '\n'
03:10:48.007188 < 8 bytes data, client => server
03:10:48.007217 'TYPE I\r\n'
03:10:48.007312 Received DATA (on stdin)
03:10:48.007331 > 1 bytes data, server => client
03:10:48.007346 '2'
03:10:48.017455 Received DATA (on stdin)
03:10:48.017493 > 1 bytes data, server => client
03:10:48.017512 '0'
03:10:48.027532 Received DATA (on stdin)
03:10:48.027589 > 1 bytes data, server => client
03:10:48.027611 '0'
03:10:48.037622 Received DATA (on stdin)
03:10:48.037678 > 1 bytes data, server => client
03:10:48.037704 ' '
03:10:48.047703 Received DATA (on stdin)
03:10:48.047812 > 1 bytes data, server => client
03:10:48.047845 'O'
03:10:48.057796 Received DATA (on stdin)
03:10:48.057855 > 1 bytes data, server => client
03:10:48.057881 'K'
03:10:48.067874 Received DATA (on stdin)
03:10:48.067941 > 1 bytes data, server => client
03:10:48.067968 '\r'
03:10:48.077966 Received DATA (on stdin)
03:10:48.078026 > 1 bytes data, server => client
03:10:48.078053 '\n'
03:10:48.082292 < 11 bytes data, client => server
03:10:48.082353 'SIZE 1112\r\n'
03:10:48.089055 Received DATA (on stdin)
03:10:48.089116 > 1 bytes data, server => client
03:10:48.089143 '2'
03:10:48.099131 Received DATA (on stdin)
03:10:48.099190 > 1 bytes data, server => client
03:10:48.099217 '1'
03:10:48.109209 Received DATA (on stdin)
03:10:48.109269 > 1 bytes data, server => client
03:10:48.109296 '3'
03:10:48.119299 Received DATA (on stdin)
03:10:48.119358 > 1 bytes data, server => client
03:10:48.119386 ' '
03:10:48.129382 Received DATA (on stdin)
03:10:48.129444 > 1 bytes data, server => client
03:10:48.129471 '3'
03:10:48.139471 Received DATA (on stdin)
03:10:48.139531 > 1 bytes data, server => client
03:10:48.139558 '6'
03:10:48.149564 Received DATA (on stdin)
03:10:48.149624 > 1 bytes data, server => client
03:10:48.149651 '0'
03:10:48.159646 Received DATA (on stdin)
03:10:48.159705 > 1 bytes data, server => client
03:10:48.159732 '0'
03:10:48.169717 Received DATA (on stdin)
03:10:48.169783 > 1 bytes data, server => client
03:10:48.169810 '\r'
03:10:48.179814 Received DATA (on stdin)
03:10:48.179868 > 1 bytes data, server => client
03:10:48.179893 '\n'
03:10:48.185509 < 11 bytes data, client => server
03:10:48.185568 'RETR 1112\r\n'
03:10:48.190754 Received DATA (on stdin)
03:10:48.190815 > 1 bytes data, server => client
03:10:48.190842 '1'
03:10:48.200818 Received DATA (on stdin)
03:10:48.200873 > 1 bytes data, server => client
03:10:48.200903 '5'
03:10:48.210923 Received DATA (on stdin)
03:10:48.210982 > 1 bytes data, server => client
03:10:48.211009 '0'
03:10:48.221013 Received DATA (on stdin)
03:10:48.221072 > 1 bytes data, server => client
03:10:48.221099 ' '
03:10:48.231099 Received DATA (on stdin)
03:10:48.231159 > 1 bytes data, server => client
03:10:48.231186 'B'
03:10:48.241155 Received DATA (on stdin)
03:10:48.241212 > 1 bytes data, server => client
03:10:48.241246 'i'
03:10:48.251244 Received DATA (on stdin)
03:10:48.251289 > 1 bytes data, server => client
03:10:48.251314 'n'
03:10:48.261359 Received DATA (on stdin)
03:10:48.261418 > 1 bytes data, server => client
03:10:48.261445 'a'
03:10:48.271430 Received DATA (on stdin)
03:10:48.271483 > 1 bytes data, server => client
03:10:48.271507 'r'
03:10:48.281544 Received DATA (on stdin)
03:10:48.281606 > 1 bytes data, server => client
03:10:48.281634 'y'
03:10:48.291614 Received DATA (on stdin)
03:10:48.291669 > 1 bytes data, server => client
03:10:48.291700 ' '
03:10:48.301697 Received DATA (on stdin)
03:10:48.301751 > 1 bytes data, server => client
03:10:48.301775 'd'
03:10:48.311802 Received DATA (on stdin)
03:10:48.311860 > 1 bytes data, server => client
03:10:48.311885 'a'
03:10:48.321920 Received DATA (on stdin)
03:10:48.321987 > 1 bytes data, server => client
03:10:48.322014 't'
03:10:48.332001 Received DATA (on stdin)
03:10:48.332063 > 1 bytes data, server => client
03:10:48.332090 'a'
03:10:48.342091 Received DATA (on stdin)
03:10:48.342152 > 1 bytes data, server => client
03:10:48.342179 ' '
03:10:48.352176 Received DATA (on stdin)
03:10:48.352237 > 1 bytes data, server => client
03:10:48.352265 'c'
03:10:48.362266 Received DATA (on stdin)
03:10:48.362326 > 1 bytes data, server => client
03:10:48.362353 'o'
03:10:48.372354 Received DATA (on stdin)
03:10:48.372414 > 1 bytes data, server => client
03:10:48.372442 'n'
03:10:48.382445 Received DATA (on stdin)
03:10:48.382506 > 1 bytes data, server => client
03:10:48.382533 'n'
03:10:48.392535 Received DATA (on stdin)
03:10:48.392597 > 1 bytes data, server => client
03:10:48.392624 'e'
03:10:48.402633 Received DATA (on stdin)
03:10:48.402696 > 1 bytes data, server => client
03:10:48.402723 'c'
03:10:48.412694 Received DATA (on stdin)
03:10:48.412742 > 1 bytes data, server => client
03:10:48.412765 't'
03:10:48.422796 Received DATA (on stdin)
03:10:48.422860 > 1 bytes data, server => client
03:10:48.422884 'i'
03:10:48.432895 Received DATA (on stdin)
03:10:48.432962 > 1 bytes data, server => client
03:10:48.432987 'o'
03:10:48.443012 Received DATA (on stdin)
03:10:48.443084 > 1 bytes data, server => client
03:10:48.443111 'n'
03:10:48.453105 Received DATA (on stdin)
03:10:48.453165 > 1 bytes data, server => client
03:10:48.453193 ' '
03:10:48.463197 Received DATA (on stdin)
03:10:48.463257 > 1 bytes data, server => client
03:10:48.463284 'f'
03:10:48.473275 Received DATA (on stdin)
03:10:48.473334 > 1 bytes data, server => client
03:10:48.473362 'o'
03:10:48.483379 Received DATA (on stdin)
03:10:48.483439 > 1 bytes data, server => client
03:10:48.483466 'r'
03:10:48.493469 Received DATA (on stdin)
03:10:48.493538 > 1 bytes data, server => client
03:10:48.493566 ' '
03:10:48.503567 Received DATA (on stdin)
03:10:48.503667 > 1 bytes data, server => client
03:10:48.503694 '1'
03:10:48.513662 Received DATA (on stdin)
03:10:48.513705 > 1 bytes data, server => client
03:10:48.513727 '1'
03:10:48.523789 Received DATA (on stdin)
03:10:48.523846 > 1 bytes data, server => client
03:10:48.523872 '1'
03:10:48.533868 Received DATA (on stdin)
03:10:48.533928 > 1 bytes data, server => client
03:10:48.533956 '2'
03:10:48.543932 Received DATA (on stdin)
03:10:48.543985 > 1 bytes data, server => client
03:10:48.544010 ' '
03:10:48.554045 Received DATA (on stdin)
03:10:48.554104 > 1 bytes data, server => client
03:10:48.554131 '('
03:10:48.564133 Received DATA (on stdin)
03:10:48.564191 > 1 bytes data, server => client
03:10:48.564218 ')'
03:10:48.574223 Received DATA (on stdin)
03:10:48.574283 > 1 bytes data, server => client
03:10:48.574310 ' '
03:10:48.584289 Received DATA (on stdin)
03:10:48.584326 > 1 bytes data, server => client
03:10:48.584347 '('
03:10:48.594385 Received DATA (on stdin)
03:10:48.594451 > 1 bytes data, server => client
03:10:48.594490 '3'
03:10:48.604472 Received DATA (on stdin)
03:10:48.604512 > 1 bytes data, server => client
03:10:48.604535 '6'
03:10:48.614590 Received DATA (on stdin)
03:10:48.614663 > 1 bytes data, server => client
03:10:48.614694 '0'
03:10:48.624687 Received DATA (on stdin)
03:10:48.624768 > 1 bytes data, server => client
03:10:48.624795 '0'
03:10:48.634808 Received DATA (on stdin)
03:10:48.634886 > 1 bytes data, server => client
03:10:48.634921 ' '
03:10:48.644897 Received DATA (on stdin)
03:10:48.644965 > 1 bytes data, server => client
03:10:48.644990 'b'
03:10:48.654989 Received DATA (on stdin)
03:10:48.655049 > 1 bytes data, server => client
03:10:48.655076 'y'
03:10:48.665085 Received DATA (on stdin)
03:10:48.665177 > 1 bytes data, server => client
03:10:48.665205 't'
03:10:48.675171 Received DATA (on stdin)
03:10:48.675240 > 1 bytes data, server => client
03:10:48.675267 'e'
03:10:48.685276 Received DATA (on stdin)
03:10:48.685344 > 1 bytes data, server => client
03:10:48.685372 's'
03:10:48.695365 Received DATA (on stdin)
03:10:48.695425 > 1 bytes data, server => client
03:10:48.695451 ')'
03:10:48.705467 Received DATA (on stdin)
03:10:48.705528 > 1 bytes data, server => client
03:10:48.705555 '.'
03:10:48.715528 Received DATA (on stdin)
03:10:48.715582 > 1 bytes data, server => client
03:10:48.715607 '\r'
03:10:48.725641 Received DATA (on stdin)
03:10:48.725701 > 1 bytes data, server => client
03:10:48.725727 '\n'
03:10:59.139651 ====> Client disconnect
=== End of file ftp_sockctrl.log
=== Start of file ftp_sockdata.log
03:10:40.088053 Running IPv4 version
03:10:40.088121 Listening on port 36423
03:10:40.088149 Wrote pid 22104 to ./.ftp_sockdata.pid
03:10:40.088165 Received PING (on stdin)
03:10:40.088239 Received PORT (on stdin)
03:10:40.088624 ====> Client connect
03:10:40.089351 Received DATA (on stdin)
03:10:40.089376 > 17 bytes data, server => client
03:10:40.089396 'WE ROOLZ: 21977\r\n'
03:10:40.089430 Received DISC (on stdin)
03:10:40.089448 ====> Client forcibly disconnected
03:10:40.089474 Received QUIT (on stdin)
03:10:40.089488 quits
03:10:40.089507 ============> sockfilt quits
03:10:47.611813 Running IPv4 version
03:10:47.611902 Listening on port 43647
03:10:47.611959 Wrote pid 22113 to ./.ftp_sockdata.pid
03:10:47.611984 Received PING (on stdin)
03:10:47.612082 Received PORT (on stdin)
03:10:48.000757 ====> Client connect
03:10:48.735915 Received DATA (on stdin)
03:10:48.736022 > 1 bytes data, server => client
03:10:48.736063 'L'
03:10:48.745981 Received DATA (on stdin)
03:10:48.746007 > 1 bytes data, server => client
03:10:48.746023 'o'
03:10:48.756069 Received DATA (on stdin)
03:10:48.756127 > 1 bytes data, server => client
03:10:48.756146 'n'
03:10:48.766160 Received DATA (on stdin)
03:10:48.766213 > 1 bytes data, server => client
03:10:48.766232 'g'
03:10:48.776276 Received DATA (on stdin)
03:10:48.776349 > 1 bytes data, server => client
03:10:48.776383 ' '
03:10:48.786363 Received DATA (on stdin)
03:10:48.786427 > 1 bytes data, server => client
03:10:48.786462 'c'
03:10:48.796492 Received DATA (on stdin)
03:10:48.796577 > 1 bytes data, server => client
03:10:48.796602 'h'
03:10:48.806562 Received DATA (on stdin)
03:10:48.806644 > 1 bytes data, server => client
03:10:48.806670 'u'
03:10:48.816675 Received DATA (on stdin)
03:10:48.816748 > 1 bytes data, server => client
03:10:48.816774 'n'
03:10:48.826762 Received DATA (on stdin)
03:10:48.826817 > 1 bytes data, server => client
03:10:48.826843 'k'
03:10:48.836826 Received DATA (on stdin)
03:10:48.836885 > 1 bytes data, server => client
03:10:48.836913 ' '
03:10:48.846908 Received DATA (on stdin)
03:10:48.846959 > 1 bytes data, server => client
03:10:48.846978 'o'
03:10:48.856974 Received DATA (on stdin)
03:10:48.857025 > 1 bytes data, server => client
03:10:48.857041 'f'
03:10:48.867067 Received DATA (on stdin)
03:10:48.867147 > 1 bytes data, server => client
03:10:48.867169 ' '
03:10:48.877148 Received DATA (on stdin)
03:10:48.877203 > 1 bytes data, server => client
03:10:48.877217 'd'
03:10:48.887234 Received DATA (on stdin)
03:10:48.887295 > 1 bytes data, server => client
03:10:48.887322 'a'
03:10:48.897349 Received DATA (on stdin)
03:10:48.897402 > 1 bytes data, server => client
03:10:48.897421 't'
03:10:48.907451 Received DATA (on stdin)
03:10:48.907509 > 1 bytes data, server => client
03:10:48.907531 'a'
03:10:48.917530 Received DATA (on stdin)
03:10:48.917580 > 1 bytes data, server => client
03:10:48.917607 ' '
03:10:48.927619 Received DATA (on stdin)
03:10:48.927675 > 1 bytes data, server => client
03:10:48.927697 't'
03:10:48.937699 Received DATA (on stdin)
03:10:48.937737 > 1 bytes data, server => client
03:10:48.937747 'h'
03:10:48.947782 Received DATA (on stdin)
03:10:48.947834 > 1 bytes data, server => client
03:10:48.947851 'a'
03:10:48.957877 Received DATA (on stdin)
03:10:48.957919 > 1 bytes data, server => client
03:10:48.957936 't'
03:10:48.967956 Received DATA (on stdin)
03:10:48.968003 > 1 bytes data, server => client
03:10:48.968019 ' '
03:10:48.978033 Received DATA (on stdin)
03:10:48.978075 > 1 bytes data, server => client
03:10:48.978099 'c'
03:10:48.988112 Received DATA (on stdin)
03:10:48.988156 > 1 bytes data, server => client
03:10:48.988174 'o'
03:10:48.998190 Received DATA (on stdin)
03:10:48.998247 > 1 bytes data, server => client
03:10:48.998266 'u'
03:10:49.008270 Received DATA (on stdin)
03:10:49.008325 > 1 bytes data, server => client
03:10:49.008343 'l'
03:10:49.018354 Received DATA (on stdin)
03:10:49.018410 > 1 bytes data, server => client
03:10:49.018430 'd'
03:10:49.028440 Received DATA (on stdin)
03:10:49.028498 > 1 bytes data, server => client
03:10:49.028520 'n'
03:10:49.038518 Received DATA (on stdin)
03:10:49.038555 > 1 bytes data, server => client
03:10:49.038565 '''
03:10:49.048662 Received DATA (on stdin)
03:10:49.048705 > 1 bytes data, server => client
03:10:49.048723 't'
03:10:49.058669 Received DATA (on stdin)
03:10:49.058721 > 1 bytes data, server => client
03:10:49.058735 ' '
03:10:49.068744 Received DATA (on stdin)
03:10:49.068782 > 1 bytes data, server => client
03:10:49.068792 'p'
03:10:49.078824 Received DATA (on stdin)
03:10:49.078866 > 1 bytes data, server => client
03:10:49.078877 'o'
03:10:49.088901 Received DATA (on stdin)
03:10:49.088943 > 1 bytes data, server => client
03:10:49.088954 's'
03:10:49.098982 Received DATA (on stdin)
03:10:49.099029 > 1 bytes data, server => client
03:10:49.099046 's'
03:10:49.109093 Received DATA (on stdin)
03:10:49.109154 > 1 bytes data, server => client
03:10:49.109171 'i'
03:10:49.119164 Received DATA (on stdin)
03:10:49.119223 > 1 bytes data, server => client
03:10:49.119247 'b'
03:10:49.129241 Received DATA (on stdin)
03:10:49.129293 > 1 bytes data, server => client
03:10:49.129311 'l'
03:10:49.139319 Received DATA (on stdin)
03:10:49.139364 > 1 bytes data, server => client
03:10:49.139382 'y'
03:10:49.149436 Received DATA (on stdin)
03:10:49.149482 > 1 bytes data, server => client
03:10:49.149501 ' '
03:10:49.159479 Received DATA (on stdin)
03:10:49.159528 > 1 bytes data, server => client
03:10:49.159543 'b'
03:10:49.169561 Received DATA (on stdin)
03:10:49.169628 > 1 bytes data, server => client
03:10:49.169651 'e'
03:10:49.179643 Received DATA (on stdin)
03:10:49.179707 > 1 bytes data, server => client
03:10:49.179739 ' '
03:10:49.189742 Received DATA (on stdin)
03:10:49.189806 > 1 bytes data, server => client
03:10:49.189829 's'
03:10:49.199828 Received DATA (on stdin)
03:10:49.199880 > 1 bytes data, server => client
03:10:49.199900 'e'
03:10:49.209931 Received DATA (on stdin)
03:10:49.210013 > 1 bytes data, server => client
03:10:49.210049 'n'
03:10:49.220020 Received DATA (on stdin)
03:10:49.220107 > 1 bytes data, server => client
03:10:49.220140 't'
03:10:49.230129 Received DATA (on stdin)
03:10:49.230188 > 1 bytes data, server => client
03:10:49.230216 ' '
03:10:49.240212 Received DATA (on stdin)
03:10:49.240272 > 1 bytes data, server => client
03:10:49.240299 'i'
03:10:49.250301 Received DATA (on stdin)
03:10:49.250360 > 1 bytes data, server => client
03:10:49.250388 'n'
03:10:49.260392 Received DATA (on stdin)
03:10:49.260454 > 1 bytes data, server => client
03:10:49.260481 ' '
03:10:49.270477 Received DATA (on stdin)
03:10:49.270537 > 1 bytes data, server => client
03:10:49.270564 't'
03:10:49.280571 Received DATA (on stdin)
03:10:49.280635 > 1 bytes data, server => client
03:10:49.280668 'h'
03:10:49.290666 Received DATA (on stdin)
03:10:49.290723 > 1 bytes data, server => client
03:10:49.290747 'e'
03:10:49.300760 Received DATA (on stdin)
03:10:49.300820 > 1 bytes data, server => client
03:10:49.300844 ' '
03:10:49.310851 Received DATA (on stdin)
03:10:49.310909 > 1 bytes data, server => client
03:10:49.310933 't'
03:10:49.320944 Received DATA (on stdin)
03:10:49.321004 > 1 bytes data, server => client
03:10:49.321028 'i'
03:10:49.331039 Received DATA (on stdin)
03:10:49.331096 > 1 bytes data, server => client
03:10:49.331121 'm'
03:10:49.341127 Received DATA (on stdin)
03:10:49.341184 > 1 bytes data, server => client
03:10:49.341209 'e'
03:10:49.351220 Received DATA (on stdin)
03:10:49.351279 > 1 bytes data, server => client
03:10:49.351303 ' '
03:10:49.361317 Received DATA (on stdin)
03:10:49.361373 > 1 bytes data, server => client
03:10:49.361398 'a'
03:10:49.371410 Received DATA (on stdin)
03:10:49.371467 > 1 bytes data, server => client
03:10:49.371491 'l'
03:10:49.381497 Received DATA (on stdin)
03:10:49.381554 > 1 bytes data, server => client
03:10:49.381579 'l'
03:10:49.391590 Received DATA (on stdin)
03:10:49.391649 > 1 bytes data, server => client
03:10:49.391674 'o'
03:10:49.401683 Received DATA (on stdin)
03:10:49.401744 > 1 bytes data, server => client
03:10:49.401770 't'
03:10:49.411797 Received DATA (on stdin)
03:10:49.411861 > 1 bytes data, server => client
03:10:49.411886 't'
03:10:49.421886 Received DATA (on stdin)
03:10:49.421964 > 1 bytes data, server => client
03:10:49.422002 'e'
03:10:49.431960 Received DATA (on stdin)
03:10:49.432010 > 1 bytes data, server => client
03:10:49.432027 'd'
03:10:49.442061 Received DATA (on stdin)
03:10:49.442108 > 1 bytes data, server => client
03:10:49.442127 '.'
03:10:49.452180 Received DATA (on stdin)
03:10:49.452250 > 1 bytes data, server => client
03:10:49.452275 '\n'
03:10:49.462301 Received DATA (on stdin)
03:10:49.462379 > 1 bytes data, server => client
03:10:49.462420 'L'
03:10:49.472380 Received DATA (on stdin)
03:10:49.472441 > 1 bytes data, server => client
03:10:49.472468 'o'
03:10:49.482469 Received DATA (on stdin)
03:10:49.482530 > 1 bytes data, server => client
03:10:49.482557 'n'
03:10:49.492537 Received DATA (on stdin)
03:10:49.492592 > 1 bytes data, server => client
03:10:49.492616 'g'
03:10:49.502660 Received DATA (on stdin)
03:10:49.502766 > 1 bytes data, server => client
03:10:49.502794 ' '
03:10:49.512785 Received DATA (on stdin)
03:10:49.512872 > 1 bytes data, server => client
03:10:49.512897 'c'
03:10:49.522874 Received DATA (on stdin)
03:10:49.522933 > 1 bytes data, server => client
03:10:49.522961 'h'
03:10:49.532999 Received DATA (on stdin)
03:10:49.533058 > 1 bytes data, server => client
03:10:49.533085 'u'
03:10:49.543072 Received DATA (on stdin)
03:10:49.543131 > 1 bytes data, server => client
03:10:49.543158 'n'
03:10:49.553148 Received DATA (on stdin)
03:10:49.553208 > 1 bytes data, server => client
03:10:49.553236 'k'
03:10:49.563222 Received DATA (on stdin)
03:10:49.563282 > 1 bytes data, server => client
03:10:49.563309 ' '
03:10:49.573305 Received DATA (on stdin)
03:10:49.573365 > 1 bytes data, server => client
03:10:49.573392 'o'
03:10:49.583373 Received DATA (on stdin)
03:10:49.583427 > 1 bytes data, server => client
03:10:49.583452 'f'
03:10:49.593487 Received DATA (on stdin)
03:10:49.593546 > 1 bytes data, server => client
03:10:49.593574 ' '
03:10:49.603578 Received DATA (on stdin)
03:10:49.603638 > 1 bytes data, server => client
03:10:49.603666 'd'
03:10:49.613674 Received DATA (on stdin)
03:10:49.613734 > 1 bytes data, server => client
03:10:49.613761 'a'
03:10:49.623754 Received DATA (on stdin)
03:10:49.623824 > 1 bytes data, server => client
03:10:49.623852 't'
03:10:49.633861 Received DATA (on stdin)
03:10:49.633921 > 1 bytes data, server => client
03:10:49.633948 'a'
03:10:49.643946 Received DATA (on stdin)
03:10:49.644006 > 1 bytes data, server => client
03:10:49.644033 ' '
03:10:49.654033 Received DATA (on stdin)
03:10:49.654093 > 1 bytes data, server => client
03:10:49.654120 't'
03:10:49.664126 Received DATA (on stdin)
03:10:49.664186 > 1 bytes data, server => client
03:10:49.664214 'h'
03:10:49.674218 Received DATA (on stdin)
03:10:49.674278 > 1 bytes data, server => client
03:10:49.674305 'a'
03:10:49.684312 Received DATA (on stdin)
03:10:49.684372 > 1 bytes data, server => client
03:10:49.684400 't'
03:10:49.694404 Received DATA (on stdin)
03:10:49.694464 > 1 bytes data, server => client
03:10:49.694492 ' '
03:10:49.704493 Received DATA (on stdin)
03:10:49.704556 > 1 bytes data, server => client
03:10:49.704583 'c'
03:10:49.714578 Received DATA (on stdin)
03:10:49.714638 > 1 bytes data, server => client
03:10:49.714665 'o'
03:10:49.724655 Received DATA (on stdin)
03:10:49.724716 > 1 bytes data, server => client
03:10:49.724743 'u'
03:10:49.734733 Received DATA (on stdin)
03:10:49.734796 > 1 bytes data, server => client
03:10:49.734823 'l'
03:10:49.744826 Received DATA (on stdin)
03:10:49.744890 > 1 bytes data, server => client
03:10:49.744918 'd'
03:10:49.754912 Received DATA (on stdin)
03:10:49.754973 > 1 bytes data, server => client
03:10:49.755001 'n'
03:10:49.765005 Received DATA (on stdin)
03:10:49.765064 > 1 bytes data, server => client
03:10:49.765092 '''
03:10:49.775098 Received DATA (on stdin)
03:10:49.775167 > 1 bytes data, server => client
03:10:49.775212 't'
03:10:49.785190 Received DATA (on stdin)
03:10:49.785266 > 1 bytes data, server => client
03:10:49.785294 ' '
03:10:49.795285 Received DATA (on stdin)
03:10:49.795344 > 1 bytes data, server => client
03:10:49.795371 'p'
03:10:49.805376 Received DATA (on stdin)
03:10:49.805436 > 1 bytes data, server => client
03:10:49.805464 'o'
03:10:49.815434 Received DATA (on stdin)
03:10:49.815488 > 1 bytes data, server => client
03:10:49.815513 's'
03:10:49.825551 Received DATA (on stdin)
03:10:49.825611 > 1 bytes data, server => client
03:10:49.825638 's'
03:10:49.835634 Received DATA (on stdin)
03:10:49.835694 > 1 bytes data, server => client
03:10:49.835722 'i'
03:10:49.845727 Received DATA (on stdin)
03:10:49.845788 > 1 bytes data, server => client
03:10:49.845815 'b'
03:10:49.855834 Received DATA (on stdin)
03:10:49.855895 > 1 bytes data, server => client
03:10:49.855922 'l'
03:10:49.865930 Received DATA (on stdin)
03:10:49.865990 > 1 bytes data, server => client
03:10:49.866017 'y'
03:10:49.876001 Received DATA (on stdin)
03:10:49.876077 > 1 bytes data, server => client
03:10:49.876119 ' '
03:10:49.886104 Received DATA (on stdin)
03:10:49.886164 > 1 bytes data, server => client
03:10:49.886192 'b'
03:10:49.896179 Received DATA (on stdin)
03:10:49.896235 > 1 bytes data, server => client
03:10:49.896261 'e'
03:10:49.906290 Received DATA (on stdin)
03:10:49.906350 > 1 bytes data, server => client
03:10:49.906378 ' '
03:10:49.916358 Received DATA (on stdin)
03:10:49.916412 > 1 bytes data, server => client
03:10:49.916437 's'
03:10:49.926465 Received DATA (on stdin)
03:10:49.926546 > 1 bytes data, server => client
03:10:49.926584 'e'
03:10:49.936562 Received DATA (on stdin)
03:10:49.936619 > 1 bytes data, server => client
03:10:49.936644 'n'
03:10:49.946656 Received DATA (on stdin)
03:10:49.946725 > 1 bytes data, server => client
03:10:49.946749 't'
03:10:49.956771 Received DATA (on stdin)
03:10:49.956832 > 1 bytes data, server => client
03:10:49.956859 ' '
03:10:49.966852 Received DATA (on stdin)
03:10:49.966914 > 1 bytes data, server => client
03:10:49.966941 'i'
03:10:49.976950 Received DATA (on stdin)
03:10:49.977010 > 1 bytes data, server => client
03:10:49.977037 'n'
03:10:49.987060 Received DATA (on stdin)
03:10:49.987128 > 1 bytes data, server => client
03:10:49.987155 ' '
03:10:49.997150 Received DATA (on stdin)
03:10:49.997209 > 1 bytes data, server => client
03:10:49.997237 't'
03:10:50.007236 Received DATA (on stdin)
03:10:50.007301 > 1 bytes data, server => client
03:10:50.007328 'h'
03:10:50.017324 Received DATA (on stdin)
03:10:50.017383 > 1 bytes data, server => client
03:10:50.017410 'e'
03:10:50.027415 Received DATA (on stdin)
03:10:50.027474 > 1 bytes data, server => client
03:10:50.027501 ' '
03:10:50.037485 Received DATA (on stdin)
03:10:50.037538 > 1 bytes data, server => client
03:10:50.037568 't'
03:10:50.047566 Received DATA (on stdin)
03:10:50.047625 > 1 bytes data, server => client
03:10:50.047650 'i'
03:10:50.057644 Received DATA (on stdin)
03:10:50.057698 > 1 bytes data, server => client
03:10:50.057722 'm'
03:10:50.067715 Received DATA (on stdin)
03:10:50.067783 > 1 bytes data, server => client
03:10:50.067817 'e'
03:10:50.077822 Received DATA (on stdin)
03:10:50.077883 > 1 bytes data, server => client
03:10:50.077910 ' '
03:10:50.087905 Received DATA (on stdin)
03:10:50.087966 > 1 bytes data, server => client
03:10:50.087993 'a'
03:10:50.097997 Received DATA (on stdin)
03:10:50.098057 > 1 bytes data, server => client
03:10:50.098084 'l'
03:10:50.108078 Received DATA (on stdin)
03:10:50.108151 > 1 bytes data, server => client
03:10:50.108192 'l'
03:10:50.118137 Received DATA (on stdin)
03:10:50.118190 > 1 bytes data, server => client
03:10:50.118215 'o'
03:10:50.128253 Received DATA (on stdin)
03:10:50.128316 > 1 bytes data, server => client
03:10:50.128343 't'
03:10:50.138344 Received DATA (on stdin)
03:10:50.138403 > 1 bytes data, server => client
03:10:50.138430 't'
03:10:50.148413 Received DATA (on stdin)
03:10:50.148471 > 1 bytes data, server => client
03:10:50.148496 'e'
03:10:50.158526 Received DATA (on stdin)
03:10:50.158585 > 1 bytes data, server => client
03:10:50.158629 'd'
03:10:50.168594 Received DATA (on stdin)
03:10:50.168648 > 1 bytes data, server => client
03:10:50.168673 '.'
03:10:50.178684 Received DATA (on stdin)
03:10:50.178726 > 1 bytes data, server => client
03:10:50.178749 '\n'
03:10:50.188806 Received DATA (on stdin)
03:10:50.188860 > 1 bytes data, server => client
03:10:50.188890 'L'
03:10:50.198909 Received DATA (on stdin)
03:10:50.198968 > 1 bytes data, server => client
03:10:50.198996 'o'
03:10:50.208999 Received DATA (on stdin)
03:10:50.209057 > 1 bytes data, server => client
03:10:50.209084 'n'
03:10:50.219090 Received DATA (on stdin)
03:10:50.219150 > 1 bytes data, server => client
03:10:50.219177 'g'
03:10:50.229162 Received DATA (on stdin)
03:10:50.229215 > 1 bytes data, server => client
03:10:50.229240 ' '
03:10:50.239255 Received DATA (on stdin)
03:10:50.239309 > 1 bytes data, server => client
03:10:50.239334 'c'
03:10:50.249343 Received DATA (on stdin)
03:10:50.249385 > 1 bytes data, server => client
03:10:50.249408 'h'
03:10:50.259435 Received DATA (on stdin)
03:10:50.259472 > 1 bytes data, server => client
03:10:50.259494 'u'
03:10:50.269554 Received DATA (on stdin)
03:10:50.269613 > 1 bytes data, server => client
03:10:50.269640 'n'
03:10:50.279623 Received DATA (on stdin)
03:10:50.279677 > 1 bytes data, server => client
03:10:50.279702 'k'
03:10:50.289726 Received DATA (on stdin)
03:10:50.289785 > 1 bytes data, server => client
03:10:50.289812 ' '
03:10:50.299798 Received DATA (on stdin)
03:10:50.299855 > 1 bytes data, server => client
03:10:50.299879 'o'
03:10:50.309887 Received DATA (on stdin)
03:10:50.309946 > 1 bytes data, server => client
03:10:50.309973 'f'
03:10:50.319960 Received DATA (on stdin)
03:10:50.320019 > 1 bytes data, server => client
03:10:50.320046 ' '
03:10:50.330031 Received DATA (on stdin)
03:10:50.330090 > 1 bytes data, server => client
03:10:50.330117 'd'
03:10:50.340105 Received DATA (on stdin)
03:10:50.340164 > 1 bytes data, server => client
03:10:50.340191 'a'
03:10:50.350179 Received DATA (on stdin)
03:10:50.350238 > 1 bytes data, server => client
03:10:50.350266 't'
03:10:50.360252 Received DATA (on stdin)
03:10:50.360311 > 1 bytes data, server => client
03:10:50.360338 'a'
03:10:50.370333 Received DATA (on stdin)
03:10:50.370397 > 1 bytes data, server => client
03:10:50.370425 ' '
03:10:50.380419 Received DATA (on stdin)
03:10:50.380481 > 1 bytes data, server => client
03:10:50.380509 't'
03:10:50.390501 Received DATA (on stdin)
03:10:50.390565 > 1 bytes data, server => client
03:10:50.390592 'h'
03:10:50.400562 Received DATA (on stdin)
03:10:50.400616 > 1 bytes data, server => client
03:10:50.400627 'a'
03:10:50.410648 Received DATA (on stdin)
03:10:50.410682 > 1 bytes data, server => client
03:10:50.410695 't'
03:10:50.420719 Received DATA (on stdin)
03:10:50.420764 > 1 bytes data, server => client
03:10:50.420809 ' '
03:10:50.430800 Received DATA (on stdin)
03:10:50.430856 > 1 bytes data, server => client
03:10:50.430878 'c'
03:10:50.440916 Received DATA (on stdin)
03:10:50.440981 > 1 bytes data, server => client
03:10:50.441006 'o'
03:10:50.451009 Received DATA (on stdin)
03:10:50.451076 > 1 bytes data, server => client
03:10:50.451102 'u'
03:10:50.461092 Received DATA (on stdin)
03:10:50.461154 > 1 bytes data, server => client
03:10:50.461181 'l'
03:10:50.471183 Received DATA (on stdin)
03:10:50.471243 > 1 bytes data, server => client
03:10:50.471271 'd'
03:10:50.481275 Received DATA (on stdin)
03:10:50.481334 > 1 bytes data, server => client
03:10:50.481362 'n'
03:10:50.491344 Received DATA (on stdin)
03:10:50.491414 > 1 bytes data, server => client
03:10:50.491439 '''
03:10:50.501446 Received DATA (on stdin)
03:10:50.501524 > 1 bytes data, server => client
03:10:50.501551 't'
03:10:50.511561 Received DATA (on stdin)
03:10:50.511653 > 1 bytes data, server => client
03:10:50.511678 ' '
03:10:50.521649 Received DATA (on stdin)
03:10:50.521708 > 1 bytes data, server => client
03:10:50.521735 'p'
03:10:50.531741 Received DATA (on stdin)
03:10:50.531817 > 1 bytes data, server => client
03:10:50.531862 'o'
03:10:50.541833 Received DATA (on stdin)
03:10:50.541892 > 1 bytes data, server => client
03:10:50.541919 's'
03:10:50.551918 Received DATA (on stdin)
03:10:50.551980 > 1 bytes data, server => client
03:10:50.552006 's'
03:10:50.561993 Received DATA (on stdin)
03:10:50.562055 > 1 bytes data, server => client
03:10:50.562080 'i'
03:10:50.572090 Received DATA (on stdin)
03:10:50.572129 > 1 bytes data, server => client
03:10:50.572142 'b'
03:10:50.582199 Received DATA (on stdin)
03:10:50.582266 > 1 bytes data, server => client
03:10:50.582288 'l'
03:10:50.592294 Received DATA (on stdin)
03:10:50.592352 > 1 bytes data, server => client
03:10:50.592374 'y'
03:10:50.602391 Received DATA (on stdin)
03:10:50.602450 > 1 bytes data, server => client
03:10:50.602471 ' '
03:10:50.612485 Received DATA (on stdin)
03:10:50.612552 > 1 bytes data, server => client
03:10:50.612577 'b'
03:10:50.622559 Received DATA (on stdin)
03:10:50.622639 > 1 bytes data, server => client
03:10:50.622681 'e'
03:10:50.632654 Received DATA (on stdin)
03:10:50.632704 > 1 bytes data, server => client
03:10:50.632716 ' '
03:10:50.642742 Received DATA (on stdin)
03:10:50.642798 > 1 bytes data, server => client
03:10:50.642830 's'
03:10:50.652864 Received DATA (on stdin)
03:10:50.652923 > 1 bytes data, server => client
03:10:50.652944 'e'
03:10:50.662978 Received DATA (on stdin)
03:10:50.663133 > 1 bytes data, server => client
03:10:50.663165 'n'
03:10:50.673054 Received DATA (on stdin)
03:10:50.673113 > 1 bytes data, server => client
03:10:50.673140 't'
03:10:50.683139 Received DATA (on stdin)
03:10:50.683192 > 1 bytes data, server => client
03:10:50.683231 ' '
03:10:50.693246 Received DATA (on stdin)
03:10:50.693431 > 1 bytes data, server => client
03:10:50.693458 'i'
03:10:50.703338 Received DATA (on stdin)
03:10:50.703400 > 1 bytes data, server => client
03:10:50.703427 'n'
03:10:50.713431 Received DATA (on stdin)
03:10:50.713493 > 1 bytes data, server => client
03:10:50.713520 ' '
03:10:50.723522 Received DATA (on stdin)
03:10:50.723581 > 1 bytes data, server => client
03:10:50.723608 't'
03:10:50.733596 Received DATA (on stdin)
03:10:50.733675 > 1 bytes data, server => client
03:10:50.733721 'h'
03:10:50.743675 Received DATA (on stdin)
03:10:50.743729 > 1 bytes data, server => client
03:10:50.743754 'e'
03:10:50.753774 Received DATA (on stdin)
03:10:50.753833 > 1 bytes data, server => client
03:10:50.753860 ' '
03:10:50.763805 Received DATA (on stdin)
03:10:50.763862 > 1 bytes data, server => client
03:10:50.763886 't'
03:10:50.773899 Received DATA (on stdin)
03:10:50.773961 > 1 bytes data, server => client
03:10:50.773986 'i'
03:10:50.784002 Received DATA (on stdin)
03:10:50.784091 > 1 bytes data, server => client
03:10:50.784135 'm'
03:10:50.794097 Received DATA (on stdin)
03:10:50.794182 > 1 bytes data, server => client
03:10:50.794206 'e'
03:10:50.804193 Received DATA (on stdin)
03:10:50.804239 > 1 bytes data, server => client
03:10:50.804252 ' '
03:10:50.814280 Received DATA (on stdin)
03:10:50.814347 > 1 bytes data, server => client
03:10:50.814364 'a'
03:10:50.824384 Received DATA (on stdin)
03:10:50.824443 > 1 bytes data, server => client
03:10:50.824467 'l'
03:10:50.834508 Received DATA (on stdin)
03:10:50.834575 > 1 bytes data, server => client
03:10:50.834610 'l'
03:10:50.844623 Received DATA (on stdin)
03:10:50.844688 > 1 bytes data, server => client
03:10:50.844702 'o'
03:10:50.854715 Received DATA (on stdin)
03:10:50.854784 > 1 bytes data, server => client
03:10:50.854812 't'
03:10:50.864808 Received DATA (on stdin)
03:10:50.864868 > 1 bytes data, server => client
03:10:50.864895 't'
03:10:50.874885 Received DATA (on stdin)
03:10:50.874978 > 1 bytes data, server => client
03:10:50.875024 'e'
03:10:50.884989 Received DATA (on stdin)
03:10:50.885083 > 1 bytes data, server => client
03:10:50.885096 'd'
03:10:50.895089 Received DATA (on stdin)
03:10:50.895140 > 1 bytes data, server => client
03:10:50.895176 '.'
03:10:50.905214 Received DATA (on stdin)
03:10:50.905280 > 1 bytes data, server => client
03:10:50.905323 '\n'
03:10:50.915332 Received DATA (on stdin)
03:10:50.915400 > 1 bytes data, server => client
03:10:50.915428 'L'
03:10:50.925422 Received DATA (on stdin)
03:10:50.925498 > 1 bytes data, server => client
03:10:50.925538 'o'
03:10:50.935541 Received DATA (on stdin)
03:10:50.935614 > 1 bytes data, server => client
03:10:50.935640 'n'
03:10:50.945648 Received DATA (on stdin)
03:10:50.945724 > 1 bytes data, server => client
03:10:50.945749 'g'
03:10:50.955735 Received DATA (on stdin)
03:10:50.955822 > 1 bytes data, server => client
03:10:50.955842 ' '
03:10:50.965866 Received DATA (on stdin)
03:10:50.965915 > 1 bytes data, server => client
03:10:50.965943 'c'
03:10:50.975931 Received DATA (on stdin)
03:10:50.976003 > 1 bytes data, server => client
03:10:50.976024 'h'
03:10:50.986033 Received DATA (on stdin)
03:10:50.986087 > 1 bytes data, server => client
03:10:50.986112 'u'
03:10:50.996114 Received DATA (on stdin)
03:10:50.996174 > 1 bytes data, server => client
03:10:50.996201 'n'
03:10:51.006173 Received DATA (on stdin)
03:10:51.006231 > 1 bytes data, server => client
03:10:51.006258 'k'
03:10:51.016277 Received DATA (on stdin)
03:10:51.016338 > 1 bytes data, server => client
03:10:51.016365 ' '
03:10:51.026352 Received DATA (on stdin)
03:10:51.026411 > 1 bytes data, server => client
03:10:51.026438 'o'
03:10:51.036419 Received DATA (on stdin)
03:10:51.036474 > 1 bytes data, server => client
03:10:51.036507 'f'
03:10:51.046510 Received DATA (on stdin)
03:10:51.046573 > 1 bytes data, server => client
03:10:51.046600 ' '
03:10:51.056579 Received DATA (on stdin)
03:10:51.056639 > 1 bytes data, server => client
03:10:51.056663 'd'
03:10:51.066673 Received DATA (on stdin)
03:10:51.066726 > 1 bytes data, server => client
03:10:51.066751 'a'
03:10:51.076764 Received DATA (on stdin)
03:10:51.076809 > 1 bytes data, server => client
03:10:51.076837 't'
03:10:51.086853 Received DATA (on stdin)
03:10:51.086926 > 1 bytes data, server => client
03:10:51.086953 'a'
03:10:51.096971 Received DATA (on stdin)
03:10:51.097038 > 1 bytes data, server => client
03:10:51.097065 ' '
03:10:51.107077 Received DATA (on stdin)
03:10:51.107159 > 1 bytes data, server => client
03:10:51.107185 't'
03:10:51.117138 Received DATA (on stdin)
03:10:51.117194 > 1 bytes data, server => client
03:10:51.117205 'h'
03:10:51.127244 Received DATA (on stdin)
03:10:51.127297 > 1 bytes data, server => client
03:10:51.127310 'a'
03:10:51.137307 Received DATA (on stdin)
03:10:51.137360 > 1 bytes data, server => client
03:10:51.137373 't'
03:10:51.147390 Received DATA (on stdin)
03:10:51.147432 > 1 bytes data, server => client
03:10:51.147443 ' '
03:10:51.157477 Received DATA (on stdin)
03:10:51.157531 > 1 bytes data, server => client
03:10:51.157543 'c'
03:10:51.167567 Received DATA (on stdin)
03:10:51.167616 > 1 bytes data, server => client
03:10:51.167630 'o'
03:10:51.177649 Received DATA (on stdin)
03:10:51.177701 > 1 bytes data, server => client
03:10:51.177713 'u'
03:10:51.187721 Received DATA (on stdin)
03:10:51.187789 > 1 bytes data, server => client
03:10:51.187815 'l'
03:10:51.197828 Received DATA (on stdin)
03:10:51.197877 > 1 bytes data, server => client
03:10:51.197890 'd'
03:10:51.207905 Received DATA (on stdin)
03:10:51.207951 > 1 bytes data, server => client
03:10:51.207965 'n'
03:10:51.217978 Received DATA (on stdin)
03:10:51.218010 > 1 bytes data, server => client
03:10:51.218023 '''
03:10:51.228058 Received DATA (on stdin)
03:10:51.228112 > 1 bytes data, server => client
03:10:51.228125 't'
03:10:51.238141 Received DATA (on stdin)
03:10:51.238192 > 1 bytes data, server => client
03:10:51.238206 ' '
03:10:51.248221 Received DATA (on stdin)
03:10:51.248271 > 1 bytes data, server => client
03:10:51.248285 'p'
03:10:51.258280 Received DATA (on stdin)
03:10:51.258329 > 1 bytes data, server => client
03:10:51.258341 'o'
03:10:51.268358 Received DATA (on stdin)
03:10:51.268396 > 1 bytes data, server => client
03:10:51.268408 's'
03:10:51.278440 Received DATA (on stdin)
03:10:51.278488 > 1 bytes data, server => client
03:10:51.278499 's'
03:10:51.288523 Received DATA (on stdin)
03:10:51.288586 > 1 bytes data, server => client
03:10:51.288598 'i'
03:10:51.298607 Received DATA (on stdin)
03:10:51.298658 > 1 bytes data, server => client
03:10:51.298668 'b'
03:10:51.308693 Received DATA (on stdin)
03:10:51.308742 > 1 bytes data, server => client
03:10:51.308752 'l'
03:10:51.318789 Received DATA (on stdin)
03:10:51.318854 > 1 bytes data, server => client
03:10:51.318869 'y'
03:10:51.328901 Received DATA (on stdin)
03:10:51.328992 > 1 bytes data, server => client
03:10:51.329011 ' '
03:10:51.338995 Received DATA (on stdin)
03:10:51.339075 > 1 bytes data, server => client
03:10:51.339096 'b'
03:10:51.349075 Received DATA (on stdin)
03:10:51.349122 > 1 bytes data, server => client
03:10:51.349133 'e'
03:10:51.359185 Received DATA (on stdin)
03:10:51.359263 > 1 bytes data, server => client
03:10:51.359281 ' '
03:10:51.369271 Received DATA (on stdin)
03:10:51.369341 > 1 bytes data, server => client
03:10:51.369363 's'
03:10:51.379369 Received DATA (on stdin)
03:10:51.379436 > 1 bytes data, server => client
03:10:51.379453 'e'
03:10:51.389454 Received DATA (on stdin)
03:10:51.389503 > 1 bytes data, server => client
03:10:51.389522 'n'
03:10:51.399557 Received DATA (on stdin)
03:10:51.399611 > 1 bytes data, server => client
03:10:51.399632 't'
03:10:51.409650 Received DATA (on stdin)
03:10:51.409716 > 1 bytes data, server => client
03:10:51.409738 ' '
03:10:51.419696 Received DATA (on stdin)
03:10:51.419736 > 1 bytes data, server => client
03:10:51.419755 'i'
03:10:51.429807 Received DATA (on stdin)
03:10:51.429888 > 1 bytes data, server => client
03:10:51.429913 'n'
03:10:51.439904 Received DATA (on stdin)
03:10:51.439949 > 1 bytes data, server => client
03:10:51.439959 ' '
03:10:51.450006 Received DATA (on stdin)
03:10:51.450065 > 1 bytes data, server => client
03:10:51.450088 't'
03:10:51.460093 Received DATA (on stdin)
03:10:51.460151 > 1 bytes data, server => client
03:10:51.460176 'h'
03:10:51.470208 Received DATA (on stdin)
03:10:51.470287 > 1 bytes data, server => client
03:10:51.470315 'e'
03:10:51.480295 Received DATA (on stdin)
03:10:51.480354 > 1 bytes data, server => client
03:10:51.480381 ' '
03:10:51.490365 Received DATA (on stdin)
03:10:51.490418 > 1 bytes data, server => client
03:10:51.490442 't'
03:10:51.500470 Received DATA (on stdin)
03:10:51.500530 > 1 bytes data, server => client
03:10:51.500558 'i'
03:10:51.510593 Received DATA (on stdin)
03:10:51.510684 > 1 bytes data, server => client
03:10:51.510710 'm'
03:10:51.520672 Received DATA (on stdin)
03:10:51.520749 > 1 bytes data, server => client
03:10:51.520776 'e'
03:10:51.530751 Received DATA (on stdin)
03:10:51.530809 > 1 bytes data, server => client
03:10:51.530836 ' '
03:10:51.540828 Received DATA (on stdin)
03:10:51.540886 > 1 bytes data, server => client
03:10:51.540913 'a'
03:10:51.550903 Received DATA (on stdin)
03:10:51.550962 > 1 bytes data, server => client
03:10:51.550989 'l'
03:10:51.560991 Received DATA (on stdin)
03:10:51.561050 > 1 bytes data, server => client
03:10:51.561077 'l'
03:10:51.571082 Received DATA (on stdin)
03:10:51.571141 > 1 bytes data, server => client
03:10:51.571168 'o'
03:10:51.581174 Received DATA (on stdin)
03:10:51.581232 > 1 bytes data, server => client
03:10:51.581259 't'
03:10:51.591245 Received DATA (on stdin)
03:10:51.591325 > 1 bytes data, server => client
03:10:51.591357 't'
03:10:51.601341 Received DATA (on stdin)
03:10:51.601407 > 1 bytes data, server => client
03:10:51.601446 'e'
03:10:51.611437 Received DATA (on stdin)
03:10:51.611510 > 1 bytes data, server => client
03:10:51.611537 'd'
03:10:51.621549 Received DATA (on stdin)
03:10:51.621609 > 1 bytes data, server => client
03:10:51.621636 '.'
03:10:51.631638 Received DATA (on stdin)
03:10:51.631710 > 1 bytes data, server => client
03:10:51.631734 '\n'
03:10:51.641747 Received DATA (on stdin)
03:10:51.641824 > 1 bytes data, server => client
03:10:51.641849 'L'
03:10:51.651848 Received DATA (on stdin)
03:10:51.651932 > 1 bytes data, server => client
03:10:51.651958 'o'
03:10:51.661924 Received DATA (on stdin)
03:10:51.662034 > 1 bytes data, server => client
03:10:51.662062 'n'
03:10:51.672050 Received DATA (on stdin)
03:10:51.672105 > 1 bytes data, server => client
03:10:51.672124 'g'
03:10:51.682137 Received DATA (on stdin)
03:10:51.682206 > 1 bytes data, server => client
03:10:51.682230 ' '
03:10:51.692227 Received DATA (on stdin)
03:10:51.692288 > 1 bytes data, server => client
03:10:51.692316 'c'
03:10:51.702320 Received DATA (on stdin)
03:10:51.702383 > 1 bytes data, server => client
03:10:51.702409 'h'
03:10:51.712410 Received DATA (on stdin)
03:10:51.712470 > 1 bytes data, server => client
03:10:51.712497 'u'
03:10:51.722502 Received DATA (on stdin)
03:10:51.722562 > 1 bytes data, server => client
03:10:51.722589 'n'
03:10:51.732593 Received DATA (on stdin)
03:10:51.732655 > 1 bytes data, server => client
03:10:51.732682 'k'
03:10:51.742680 Received DATA (on stdin)
03:10:51.742745 > 1 bytes data, server => client
03:10:51.742772 ' '
03:10:51.752770 Received DATA (on stdin)
03:10:51.752831 > 1 bytes data, server => client
03:10:51.752858 'o'
03:10:51.762861 Received DATA (on stdin)
03:10:51.762920 > 1 bytes data, server => client
03:10:51.762948 'f'
03:10:51.772968 Received DATA (on stdin)
03:10:51.773030 > 1 bytes data, server => client
03:10:51.773057 ' '
03:10:51.783048 Received DATA (on stdin)
03:10:51.783108 > 1 bytes data, server => client
03:10:51.783136 'd'
03:10:51.793136 Received DATA (on stdin)
03:10:51.793205 > 1 bytes data, server => client
03:10:51.793231 'a'
03:10:51.803205 Received DATA (on stdin)
03:10:51.803232 > 1 bytes data, server => client
03:10:51.803245 't'
03:10:51.813292 Received DATA (on stdin)
03:10:51.813362 > 1 bytes data, server => client
03:10:51.813388 'a'
03:10:51.823404 Received DATA (on stdin)
03:10:51.823487 > 1 bytes data, server => client
03:10:51.823511 ' '
03:10:51.833509 Received DATA (on stdin)
03:10:51.833586 > 1 bytes data, server => client
03:10:51.833610 't'
03:10:51.843598 Received DATA (on stdin)
03:10:51.843686 > 1 bytes data, server => client
03:10:51.843722 'h'
03:10:51.853746 Received DATA (on stdin)
03:10:51.853808 > 1 bytes data, server => client
03:10:51.853832 'a'
03:10:51.863838 Received DATA (on stdin)
03:10:51.863897 > 1 bytes data, server => client
03:10:51.863924 't'
03:10:51.873886 Received DATA (on stdin)
03:10:51.873939 > 1 bytes data, server => client
03:10:51.873964 ' '
03:10:51.883969 Received DATA (on stdin)
03:10:51.884013 > 1 bytes data, server => client
03:10:51.884039 'c'
03:10:51.894100 Received DATA (on stdin)
03:10:51.894177 > 1 bytes data, server => client
03:10:51.894202 'o'
03:10:51.904164 Received DATA (on stdin)
03:10:51.904228 > 1 bytes data, server => client
03:10:51.904250 'u'
03:10:51.914254 Received DATA (on stdin)
03:10:51.914311 > 1 bytes data, server => client
03:10:51.914330 'l'
03:10:51.924336 Received DATA (on stdin)
03:10:51.924385 > 1 bytes data, server => client
03:10:51.924402 'd'
03:10:51.934415 Received DATA (on stdin)
03:10:51.934467 > 1 bytes data, server => client
03:10:51.934480 'n'
03:10:51.944511 Received DATA (on stdin)
03:10:51.944566 > 1 bytes data, server => client
03:10:51.944585 '''
03:10:51.954621 Received DATA (on stdin)
03:10:51.954674 > 1 bytes data, server => client
03:10:51.954693 't'
03:10:51.964729 Received DATA (on stdin)
03:10:51.964789 > 1 bytes data, server => client
03:10:51.964811 ' '
03:10:51.974820 Received DATA (on stdin)
03:10:51.974887 > 1 bytes data, server => client
03:10:51.974912 'p'
03:10:51.984902 Received DATA (on stdin)
03:10:51.984964 > 1 bytes data, server => client
03:10:51.984991 'o'
03:10:51.994985 Received DATA (on stdin)
03:10:51.995047 > 1 bytes data, server => client
03:10:51.995074 's'
03:10:52.005055 Received DATA (on stdin)
03:10:52.005124 > 1 bytes data, server => client
03:10:52.005150 's'
03:10:52.015146 Received DATA (on stdin)
03:10:52.015208 > 1 bytes data, server => client
03:10:52.015228 'i'
03:10:52.025261 Received DATA (on stdin)
03:10:52.025344 > 1 bytes data, server => client
03:10:52.025365 'b'
=== File too long: 2370 lines omitted here
03:10:59.784066 Received DATA (on stdin)
03:10:59.784125 > 1 bytes data, server => client
03:10:59.784152 'a'
03:10:59.784170 *** We are disconnected
03:10:59.794145 Received DATA (on stdin)
03:10:59.794210 > 1 bytes data, server => client
03:10:59.794236 't'
03:10:59.794255 *** We are disconnected
03:10:59.804219 Received DATA (on stdin)
03:10:59.804278 > 1 bytes data, server => client
03:10:59.804306 'a'
03:10:59.804324 *** We are disconnected
03:10:59.814298 Received DATA (on stdin)
03:10:59.814367 > 1 bytes data, server => client
03:10:59.814413 ' '
03:10:59.814446 *** We are disconnected
03:10:59.824402 Received DATA (on stdin)
03:10:59.824463 > 1 bytes data, server => client
03:10:59.824490 't'
03:10:59.824508 *** We are disconnected
03:10:59.834489 Received DATA (on stdin)
03:10:59.834549 > 1 bytes data, server => client
03:10:59.834576 'h'
03:10:59.834594 *** We are disconnected
03:10:59.844568 Received DATA (on stdin)
03:10:59.844657 > 1 bytes data, server => client
03:10:59.844702 'a'
03:10:59.844735 *** We are disconnected
03:10:59.854668 Received DATA (on stdin)
03:10:59.854772 > 1 bytes data, server => client
03:10:59.854797 't'
03:10:59.854817 *** We are disconnected
03:10:59.864751 Received DATA (on stdin)
03:10:59.864790 > 1 bytes data, server => client
03:10:59.864812 ' '
03:10:59.864848 *** We are disconnected
03:10:59.874858 Received DATA (on stdin)
03:10:59.874917 > 1 bytes data, server => client
03:10:59.874945 'c'
03:10:59.874963 *** We are disconnected
03:10:59.884937 Received DATA (on stdin)
03:10:59.884997 > 1 bytes data, server => client
03:10:59.885025 'o'
03:10:59.885043 *** We are disconnected
03:10:59.895013 Received DATA (on stdin)
03:10:59.895083 > 1 bytes data, server => client
03:10:59.895110 'u'
03:10:59.895127 *** We are disconnected
03:10:59.905117 Received DATA (on stdin)
03:10:59.905182 > 1 bytes data, server => client
03:10:59.905208 'l'
03:10:59.905227 *** We are disconnected
03:10:59.915199 Received DATA (on stdin)
03:10:59.915258 > 1 bytes data, server => client
03:10:59.915285 'd'
03:10:59.915303 *** We are disconnected
03:10:59.925294 Received DATA (on stdin)
03:10:59.925366 > 1 bytes data, server => client
03:10:59.925409 'n'
03:10:59.925431 *** We are disconnected
03:10:59.935409 Received DATA (on stdin)
03:10:59.935476 > 1 bytes data, server => client
03:10:59.935492 '''
03:10:59.935503 *** We are disconnected
03:10:59.945477 Received DATA (on stdin)
03:10:59.945532 > 1 bytes data, server => client
03:10:59.945543 't'
03:10:59.945550 *** We are disconnected
03:10:59.955576 Received DATA (on stdin)
03:10:59.955627 > 1 bytes data, server => client
03:10:59.955646 ' '
03:10:59.955658 *** We are disconnected
03:10:59.965653 Received DATA (on stdin)
03:10:59.965710 > 1 bytes data, server => client
03:10:59.965730 'p'
03:10:59.965749 *** We are disconnected
03:10:59.975733 Received DATA (on stdin)
03:10:59.975817 > 1 bytes data, server => client
03:10:59.975863 'o'
03:10:59.975928 *** We are disconnected
03:10:59.985847 Received DATA (on stdin)
03:10:59.985907 > 1 bytes data, server => client
03:10:59.985934 's'
03:10:59.985953 *** We are disconnected
03:10:59.995907 Received DATA (on stdin)
03:10:59.995960 > 1 bytes data, server => client
03:10:59.995987 's'
03:10:59.996006 *** We are disconnected
03:11:00.006014 Received DATA (on stdin)
03:11:00.006080 > 1 bytes data, server => client
03:11:00.006107 'i'
03:11:00.006126 *** We are disconnected
03:11:00.016098 Received DATA (on stdin)
03:11:00.016159 > 1 bytes data, server => client
03:11:00.016186 'b'
03:11:00.016204 *** We are disconnected
03:11:00.026187 Received DATA (on stdin)
03:11:00.026247 > 1 bytes data, server => client
03:11:00.026274 'l'
03:11:00.026292 *** We are disconnected
03:11:00.036276 Received DATA (on stdin)
03:11:00.036335 > 1 bytes data, server => client
03:11:00.036362 'y'
03:11:00.036380 *** We are disconnected
03:11:00.046364 Received DATA (on stdin)
03:11:00.046431 > 1 bytes data, server => client
03:11:00.046459 ' '
03:11:00.046477 *** We are disconnected
03:11:00.056476 Received DATA (on stdin)
03:11:00.056549 > 1 bytes data, server => client
03:11:00.056575 'b'
03:11:00.056593 *** We are disconnected
03:11:00.066566 Received DATA (on stdin)
03:11:00.066626 > 1 bytes data, server => client
03:11:00.066653 'e'
03:11:00.066671 *** We are disconnected
03:11:00.076657 Received DATA (on stdin)
03:11:00.076716 > 1 bytes data, server => client
03:11:00.076743 ' '
03:11:00.076761 *** We are disconnected
03:11:00.086749 Received DATA (on stdin)
03:11:00.086808 > 1 bytes data, server => client
03:11:00.086836 's'
03:11:00.086854 *** We are disconnected
03:11:00.096842 Received DATA (on stdin)
03:11:00.096901 > 1 bytes data, server => client
03:11:00.096928 'e'
03:11:00.096946 *** We are disconnected
03:11:00.106935 Received DATA (on stdin)
03:11:00.106998 > 1 bytes data, server => client
03:11:00.107025 'n'
03:11:00.107042 *** We are disconnected
03:11:00.117007 Received DATA (on stdin)
03:11:00.117060 > 1 bytes data, server => client
03:11:00.117085 't'
03:11:00.117103 *** We are disconnected
03:11:00.127100 Received DATA (on stdin)
03:11:00.127158 > 1 bytes data, server => client
03:11:00.127181 ' '
03:11:00.127198 *** We are disconnected
03:11:00.137198 Received DATA (on stdin)
03:11:00.137269 > 1 bytes data, server => client
03:11:00.137306 'i'
03:11:00.137334 *** We are disconnected
03:11:00.147316 Received DATA (on stdin)
03:11:00.147376 > 1 bytes data, server => client
03:11:00.147403 'n'
03:11:00.147421 *** We are disconnected
03:11:00.157377 Received DATA (on stdin)
03:11:00.157430 > 1 bytes data, server => client
03:11:00.157464 ' '
03:11:00.157486 *** We are disconnected
03:11:00.167470 Received DATA (on stdin)
03:11:00.167504 > 1 bytes data, server => client
03:11:00.167526 't'
03:11:00.167543 *** We are disconnected
03:11:00.177587 Received DATA (on stdin)
03:11:00.177645 > 1 bytes data, server => client
03:11:00.177672 'h'
03:11:00.177690 *** We are disconnected
03:11:00.187678 Received DATA (on stdin)
03:11:00.187738 > 1 bytes data, server => client
03:11:00.187765 'e'
03:11:00.187809 *** We are disconnected
03:11:00.197779 Received DATA (on stdin)
03:11:00.197858 > 1 bytes data, server => client
03:11:00.197884 ' '
03:11:00.197902 *** We are disconnected
03:11:00.207842 Received DATA (on stdin)
03:11:00.207901 > 1 bytes data, server => client
03:11:00.207928 't'
03:11:00.207946 *** We are disconnected
03:11:00.217911 Received DATA (on stdin)
03:11:00.217972 > 1 bytes data, server => client
03:11:00.218001 'i'
03:11:00.218019 *** We are disconnected
03:11:00.227996 Received DATA (on stdin)
03:11:00.228035 > 1 bytes data, server => client
03:11:00.228058 'm'
03:11:00.228075 *** We are disconnected
03:11:00.238083 Received DATA (on stdin)
03:11:00.238147 > 1 bytes data, server => client
03:11:00.238174 'e'
03:11:00.238192 *** We are disconnected
03:11:00.248167 Received DATA (on stdin)
03:11:00.248208 > 1 bytes data, server => client
03:11:00.248231 ' '
03:11:00.248249 *** We are disconnected
03:11:00.258258 Received DATA (on stdin)
03:11:00.258292 > 1 bytes data, server => client
03:11:00.258313 'a'
03:11:00.258330 *** We are disconnected
03:11:00.268362 Received DATA (on stdin)
03:11:00.268422 > 1 bytes data, server => client
03:11:00.268449 'l'
03:11:00.268467 *** We are disconnected
03:11:00.278429 Received DATA (on stdin)
03:11:00.278483 > 1 bytes data, server => client
03:11:00.278514 'l'
03:11:00.278539 *** We are disconnected
=== End of file ftp_sockdata.log
=== Start of file ftps_stunnel.log
2019.08.13 03:10:39 LOG5[22099]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:10:39 LOG5[22099]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:10:39 LOG5[22099]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:10:39 LOG5[22099]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:10:39 LOG5[22099]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:10:39 LOG5[22099]: Reading configuration from file /build-17378/tests/ftps_stunnel.conf
2019.08.13 03:10:39 LOG5[22099]: FIPS mode disabled
2019.08.13 03:10:39 LOG5[22099]: Configuration successful
2019.08.13 03:10:40 LOG5[22102]: Service [curltest] accepted connection from 127.0.0.1:42346
2019.08.13 03:10:40 LOG5[22102]: s_connect: connected 127.0.0.1:8992
2019.08.13 03:10:40 LOG5[22102]: Service [curltest] connected remote server from 127.0.0.1:59540
2019.08.13 03:10:41 LOG5[22102]: Connection closed: 459 byte(s) sent to SSL, 121 byte(s) sent to socket
2019.08.13 03:10:43 LOG5[22107]: Service [curltest] accepted connection from 127.0.0.1:42352
2019.08.13 03:10:45 LOG5[22107]: s_connect: connected 127.0.0.1:8992
2019.08.13 03:10:45 LOG5[22107]: Service [curltest] connected remote server from 127.0.0.1:59548
2019.08.13 03:10:59 LOG5[22107]: Connection closed: 347 byte(s) sent to SSL, 95 byte(s) sent to socket
2019.08.13 03:11:00 LOG5[22099]: Terminated
=== End of file ftps_stunnel.log
=== Start of file ftps_verify.log
* STATE: INIT => CONNECT handle 0x560adb510798; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8993...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x560adb510798; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x560adb510798; line 1538 (connection #0)
* Marked for [keep alive]: FTP default
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [126 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* FTP 0x560adb526370 (line 3092) state change from STOP to WAIT220
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x560adb510798; line 1553 (connection #0)
{ [5 bytes data]
< 220- _ _ ____ _
< 220- ___| | | | _ \| |
< 220- / __| | | | |_) | |
< 220- | (__| |_| | _ {| |___
< 220 \___|\___/|_| \_\_____|
} [5 bytes data]
> USER anonymous
* FTP 0x560adb526370 (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 0x560adb526370 (line 2520) state change from USER to PASS
{ [5 bytes data]
< 230 Welcome you silly person
} [5 bytes data]
> PBSZ 0
* FTP 0x560adb526370 (line 2496) state change from PASS to PBSZ
{ [5 bytes data]
< 500 PBSZ not implemented
} [5 bytes data]
> PROT C
* FTP 0x560adb526370 (line 2709) state change from PBSZ to PROT
{ [5 bytes data]
< 500 PROT not implemented
} [5 bytes data]
> PWD
* FTP 0x560adb526370 (line 804) state change from PROT to PWD
{ [5 bytes data]
< 257 "/" is current directory
* Entry path is '/'
* FTP 0x560adb526370 (line 2844) state change from PWD to STOP
* protocol connect phase DONE
* STATE: PROTOCONNECT => DO handle 0x560adb510798; line 1572 (connection #0)
* DO phase starts
} [5 bytes data]
> EPSV
* FTP 0x560adb526370 (line 1330) state change from STOP to PASV
* Connect data stream passively
* ftp_perform ends with SECONDARY: 0
* STATE: DO => DOING handle 0x560adb510798; line 1614 (connection #0)
{ [5 bytes data]
< 229 Entering Passive Mode (|||36423|)
* Trying 127.0.0.1:36423...
* TCP_NODELAY set
* Connecting to 127.0.0.1 (127.0.0.1) port 36423
* FTP 0x560adb526370 (line 1977) state change from PASV to STOP
* DO phase is complete2
* STATE: DOING => DO_MORE handle 0x560adb510798; line 1699 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
* DO-MORE connected phase starts
} [5 bytes data]
> TYPE I
* FTP 0x560adb526370 (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 0x560adb526370 (line 1743) state change from RETR_TYPE to RETR_SIZE
{ [5 bytes data]
< 213 17
} [5 bytes data]
> RETR verifiedserver
* FTP 0x560adb526370 (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 0x560adb526370 (line 477) state change from RETR to STOP
* STATE: DO_MORE => DO_DONE handle 0x560adb510798; line 1724 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x560adb510798; line 1749 (connection #0)
{ [17 bytes data]
* readwrite_data: we're done
* nread <= 0, server closed connection, bailing
* STATE: PERFORM => DONE handle 0x560adb510798; line 1939 (connection #0)
* multi_done
* Remembering we are in dir ""
{ [5 bytes data]
< 226 File transfer complete
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x560adb510798)
=== 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 28 0 0 4 0 0:15:00 0:00:05 0:14:55 4
3 3600 3 127 0 0 18 0 0:03:20 0:00:06 0:03:14 26
6 3600 6 226 0 0 28 0 0:02:08 0:00:07 0:02:01 45
9 3600 9 325 0 0 36 0 0:01:40 0:00:08 0:01:32 65
11 3600 11 424 0 0 42 0 0:01:25 0:00:09 0:01:16 84
14 3600 14 523 0 0 47 0 0:01:16 0:00:10 0:01:06 99
17 3600 17 622 0 0 52 0 0:01:09 0:00:11 0:00:58 99
20 3600 20 721 0 0 55 0 0:01:05 0:00:12 0:00:53 99
22 3600 22 820 0 0 58 0 0:01:02 0:00:13 0:00:49 99
25 3600 25 920 0 0 61 0 0:00:59 0:00:14 0:00:45 99
28 3600 28 1019 0 0 64 0 0:00:56 0:00:15 0:00:41 99
28 3600 28 1029 0 0 64 0 0:00:56 0:00:16 0:00:40 98
curl: (28) Operation timed out after 16000 milliseconds with 1029 out of 3600 bytes received
=== End of file stderr1112
=== Start of file trace1112
03:10:42.100860 == Info: STATE: INIT => CONNECT handle 0x56c52e8; line 1362 (connection #-5000)
03:10:42.157766 == Info: Added connection 0. The cache now contains 1 members
03:10:42.176287 == Info: Trying 127.0.0.1:8993...
03:10:42.176905 == Info: TCP_NODELAY set
03:10:42.181304 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c52e8; line 1418 (connection #0)
03:10:42.192965 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:42.193524 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c52e8; line 1538 (connection #0)
03:10:42.194595 == Info: Marked for [keep alive]: FTP default
03:10:43.681512 == Info: successfully set certificate verify locations:
03:10:43.681781 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:10:43.795824 => Send SSL data, 5 bytes (0x5)
0000: ....~
03:10:43.800868 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:10:43.800925 => Send SSL data, 126 bytes (0x7e)
0000: ...z....,-Bn<%..."M.....-..'..5.y.<.......+./.,.0...............
0040: ../.5.....3...................................................
03:10:43.818175 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:10:43.823904 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:10:43.823961 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..N.E..W~bk..........J(f.dF.....y. '.;*...d.....kr.........T
0040: ....T.../................
03:10:43.868041 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:43.868517 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:10:43.868573 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:10:43.968456 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:10:43.968727 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:10:43.968788 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A...-.....Ru.. .l".........[7F]Sw..[7F]p....S.....U[7F]....j.4..c.
0040: G.x..#G.y........R...+l.....1!..4.K.>Q.].)..:..'..N....%.9k..Q..
0080: ......!rW..P..3..c...Ze+./H./..UQ..]e._D3.....@m..%.-.m....7.<.u
00c0: ..Ct......u6.::?}*b~..3..cD`..yh......W.!.xGP.jT.h#.D[N...0.a...
0100: 3];.......8...]..........]g.z.`X....{.[...........`...._#....5%.
0140: X.......[7F].T..
03:10:44.039862 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.040220 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:10:44.040284 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:10:44.157804 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:10:44.158063 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:10:44.158119 => Send SSL data, 70 bytes (0x46)
0000: ...BA....g...P..8J.f. !kI./B.49...i...P}3...O.!..e..IPM^%.E.O...
0040: .w.\j_
03:10:44.170184 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:44.170795 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:10:44.170853 => Send SSL data, 1 bytes (0x1)
0000: .
03:10:44.192328 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:10:44.192406 => Send SSL data, 16 bytes (0x10)
0000: ........D...[7F].).
03:10:44.205287 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:44.208051 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.209187 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:10:44.209247 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:10:44.211736 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:10:44.217460 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:10:44.217527 <= Recv SSL data, 16 bytes (0x10)
0000: .....&......@...
03:10:44.246209 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:10:44.248523 == Info: Server certificate:
03:10:44.256128 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:44.262392 == Info: start date: Aug 31 23:39:18 2018 GMT
03:10:44.263385 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:10:44.264349 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:10:44.265262 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:10:44.266812 == Info: FTP 0x57410f0 (line 3092) state change from STOP to WAIT220
03:10:44.273267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.276805 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.277094 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.277331 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.277572 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.277803 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.278040 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.278271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.281317 == Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56c52e8; line 1553 (connection #0)
03:10:44.288614 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.297911 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.307954 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.318140 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.328281 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.338448 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.348624 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.358682 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.368834 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.378792 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.388962 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.399108 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.409103 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.419235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.429466 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.439396 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.449545 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.459575 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.469662 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.479749 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.489806 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.499913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.510156 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.520125 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.521136 <= Recv header, 32 bytes (0x20)
0000: 220- _ _ ____ _
03:10:44.529947 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.540170 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.550328 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.560391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.570475 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.580595 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.590693 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.600762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.610884 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.620977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.631069 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.641166 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.651271 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.661346 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.671435 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.681533 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.691625 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.701696 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.711782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.721849 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.732012 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.742072 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.752160 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.762267 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.772386 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.782454 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.792554 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.802658 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.812699 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.822767 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.832870 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.842951 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.843308 <= Recv header, 32 bytes (0x20)
0000: 220- ___| | | | _ \| |
03:10:44.853068 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.863132 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.873186 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.883325 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.893134 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.903429 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.913529 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.923719 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.933782 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.943843 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.953829 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.963981 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.974039 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.984190 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:44.994276 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.004425 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.014606 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.024608 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.034687 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.044758 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.054838 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.064925 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.075077 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.085147 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.095203 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.105338 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.115432 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.125179 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.135339 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.145395 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.155529 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.165665 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.165909 <= Recv header, 32 bytes (0x20)
0000: 220- / __| | | | |_) | |
03:10:45.175764 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.185705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.195797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.205839 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.216062 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.226231 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.236396 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.246457 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.256640 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.266732 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.276798 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.286861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.296983 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.307071 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.317186 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.327276 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.337337 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.347430 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.357607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.367597 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.377731 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.387808 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.397904 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.408035 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.418232 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.428231 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.438191 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.448348 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.458470 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.468538 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.478696 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.488889 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.489310 <= Recv header, 32 bytes (0x20)
0000: 220- | (__| |_| | _ {| |___
03:10:45.498940 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.509126 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.519113 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.529165 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.539261 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.549441 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.559476 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.569637 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.579680 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.589726 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.599813 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.609917 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.620081 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.630119 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.640290 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.650364 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.660391 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.670482 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.680615 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.690704 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.700924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.710926 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.720964 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.731080 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.741024 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.751131 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.761236 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.771355 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.781531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.791783 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.801857 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.811786 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.812158 <= Recv header, 32 bytes (0x20)
0000: 220 \___|\___/|_| \_\_____|
03:10:45.824915 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:10:45.828485 => Send header, 16 bytes (0x10)
0000: USER anonymous
03:10:45.829439 == Info: FTP 0x57410f0 (line 792) state change from WAIT220 to USER
03:10:45.829934 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.868260 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.878092 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.888155 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.898238 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.898562 <= Recv header, 8 bytes (0x8)
0000: 331 OK
03:10:45.901620 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:45.901935 => Send header, 22 bytes (0x16)
0000: PASS ftp@example.com
03:10:45.902925 == Info: FTP 0x57410f0 (line 2520) state change from USER to PASS
03:10:45.908654 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.952239 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.959055 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.969144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.979242 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:45.979599 <= Recv header, 8 bytes (0x8)
0000: 230 OK
03:10:45.981312 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:45.981620 => Send header, 8 bytes (0x8)
0000: PBSZ 0
03:10:45.982509 == Info: FTP 0x57410f0 (line 2496) state change from PASS to PBSZ
03:10:45.989636 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.032330 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.040123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.050224 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.060285 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.070378 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.080416 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.090510 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.100571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.110739 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.120767 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.130841 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.140943 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.151051 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.161098 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.171196 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.181343 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.191401 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.201531 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.211546 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.221617 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.231697 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.241777 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.242135 <= Recv header, 26 bytes (0x1a)
0000: 500 PBSZ not implemented
03:10:46.243604 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:46.243928 => Send header, 8 bytes (0x8)
0000: PROT C
03:10:46.244845 == Info: FTP 0x57410f0 (line 2709) state change from PBSZ to PROT
03:10:46.252259 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.296331 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.302660 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.312731 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.322851 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.332931 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.343063 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.353130 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.363203 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.373352 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.383445 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.393539 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.403591 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.413693 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.423924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.433899 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.443987 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.454079 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.464197 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.474280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.484368 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.494433 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.504696 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.505096 <= Recv header, 26 bytes (0x1a)
0000: 500 PROT not implemented
03:10:46.506985 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:46.507296 => Send header, 5 bytes (0x5)
0000: PWD
03:10:46.508159 == Info: FTP 0x57410f0 (line 804) state change from PROT to PWD
03:10:46.514907 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.556314 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.565443 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.575508 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.585614 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.595674 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.596058 <= Recv header, 9 bytes (0x9)
0000: 257 "/"
03:10:46.598932 == Info: Entry path is '/'
03:10:46.599521 == Info: FTP 0x57410f0 (line 2844) state change from PWD to STOP
03:10:46.599963 == Info: protocol connect phase DONE
03:10:46.600599 == Info: STATE: PROTOCONNECT => DO handle 0x56c52e8; line 1572 (connection #0)
03:10:46.607334 == Info: DO phase starts
03:10:46.609745 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:46.609897 => Send header, 6 bytes (0x6)
0000: EPSV
03:10:46.610375 == Info: FTP 0x57410f0 (line 1330) state change from STOP to PASV
03:10:46.610597 == Info: Connect data stream passively
03:10:46.611465 == Info: ftp_perform ends with SECONDARY: 0
03:10:46.612273 == Info: STATE: DO => DOING handle 0x56c52e8; line 1614 (connection #0)
03:10:46.613463 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.656228 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.663227 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.673269 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.683428 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.693547 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.703619 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.713708 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.723744 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.733957 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.744009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.754434 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.764413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.774314 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.784473 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.794535 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.804820 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.814762 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.824812 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.834861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.845018 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.855059 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.865179 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.875214 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.885319 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.895432 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.905522 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.915738 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.925742 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.935900 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.945900 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.955978 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.966072 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.976123 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.986196 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:46.986553 <= Recv header, 38 bytes (0x26)
0000: 229 Entering Passive Mode (|||43647|).
03:10:47.000563 == Info: Trying 127.0.0.1:43647...
03:10:47.000640 == Info: TCP_NODELAY set
03:10:47.002257 == Info: Connecting to 127.0.0.1 (127.0.0.1) port 43647
03:10:47.003407 == Info: FTP 0x57410f0 (line 1977) state change from PASV to STOP
03:10:47.003964 == Info: DO phase is complete2
03:10:47.004229 == Info: STATE: DOING => DO_MORE handle 0x56c52e8; line 1699 (connection #0)
03:10:47.005434 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8993 (#0)
03:10:47.005653 == Info: DO-MORE connected phase starts
03:10:47.007023 => Send SSL data, 5 bytes (0x5)
0000: ....
03:10:47.007153 => Send header, 8 bytes (0x8)
0000: TYPE I
03:10:47.007550 == Info: FTP 0x57410f0 (line 3418) state change from STOP to RETR_TYPE
03:10:47.007949 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.048653 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.049167 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.058303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.068481 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.078607 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.078982 <= Recv header, 8 bytes (0x8)
0000: 200 OK
03:10:47.081931 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:47.082239 => Send header, 11 bytes (0xb)
0000: SIZE 1112
03:10:47.083168 == Info: FTP 0x57410f0 (line 1743) state change from RETR_TYPE to RETR_SIZE
03:10:47.089612 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.132303 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.140072 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.150173 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.160235 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.170320 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.180417 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.180775 <= Recv header, 10 bytes (0xa)
0000: 213 3600
03:10:47.185100 => Send SSL data, 5 bytes (0x5)
0000: ....#
03:10:47.185410 => Send header, 11 bytes (0xb)
0000: RETR 1112
03:10:47.186289 == Info: FTP 0x57410f0 (line 2229) state change from RETR_SIZE to RETR
03:10:47.191342 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.232321 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.241769 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.251863 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.261971 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.272057 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.282144 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.292162 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.302280 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.312379 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.322498 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.332566 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.342676 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.352705 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.362847 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.372913 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.382995 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.393084 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.403291 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.413274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.423576 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.433518 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.443647 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.453676 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.463840 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.473861 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.483977 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.494009 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.504355 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.514252 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.524408 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.534454 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.544537 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.554652 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.564710 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.574806 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.584858 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.594990 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.605058 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.615274 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.625413 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.635461 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.645505 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.655571 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.665721 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.675757 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.685866 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.695965 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.706063 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.716124 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.726222 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:10:47.726586 <= Recv header, 54 bytes (0x36)
0000: 150 Binary data connection for 1112 () (3600 bytes).
03:10:47.729093 == Info: Maxdownload = -1
03:10:47.729675 == Info: Getting file with size: 3600
03:10:47.733525 == Info: FTP 0x57410f0 (line 477) state change from RETR to STOP
03:10:47.735069 == Info: STATE: DO_MORE => DO_DONE handle 0x56c52e8; line 1724 (connection #0)
03:10:47.736278 == Info: STATE: DO_DONE => PERFORM handle 0x56c52e8; line 1749 (connection #0)
03:10:47.741976 <= Recv data, 1 bytes (0x1)
0000: L
03:10:47.747275 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.756311 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.766449 <= Recv data, 1 bytes (0x1)
0000: g
03:10:47.776689 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.786744 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.796923 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.806983 <= Recv data, 1 bytes (0x1)
0000: u
03:10:47.817040 <= Recv data, 1 bytes (0x1)
0000: n
03:10:47.827172 <= Recv data, 1 bytes (0x1)
0000: k
03:10:47.837176 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.847173 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.857198 <= Recv data, 1 bytes (0x1)
0000: f
03:10:47.867384 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.877443 <= Recv data, 1 bytes (0x1)
0000: d
03:10:47.887541 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.897624 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.907788 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.917851 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.927990 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.937953 <= Recv data, 1 bytes (0x1)
0000: h
03:10:47.948034 <= Recv data, 1 bytes (0x1)
0000: a
03:10:47.958136 <= Recv data, 1 bytes (0x1)
0000: t
03:10:47.968198 <= Recv data, 1 bytes (0x1)
0000:
03:10:47.978262 <= Recv data, 1 bytes (0x1)
0000: c
03:10:47.988362 <= Recv data, 1 bytes (0x1)
0000: o
03:10:47.998461 <= Recv data, 1 bytes (0x1)
0000: u
03:10:48.008507 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.018588 <= Recv data, 1 bytes (0x1)
0000: d
03:10:48.028723 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.038759 <= Recv data, 1 bytes (0x1)
0000: '
03:10:48.048928 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.058992 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.068961 <= Recv data, 1 bytes (0x1)
0000: p
03:10:48.079058 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.089096 <= Recv data, 1 bytes (0x1)
0000: s
03:10:48.099226 <= Recv data, 1 bytes (0x1)
0000: s
03:10:48.109405 <= Recv data, 1 bytes (0x1)
0000: i
03:10:48.119468 <= Recv data, 1 bytes (0x1)
0000: b
03:10:48.129492 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.139550 <= Recv data, 1 bytes (0x1)
0000: y
03:10:48.149687 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.159734 <= Recv data, 1 bytes (0x1)
0000: b
03:10:48.169890 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.179978 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.190147 <= Recv data, 1 bytes (0x1)
0000: s
03:10:48.200137 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.210433 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.220481 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.230448 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.240552 <= Recv data, 1 bytes (0x1)
0000: i
03:10:48.250674 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.260733 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.270843 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.280965 <= Recv data, 1 bytes (0x1)
0000: h
03:10:48.291025 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.301120 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.311268 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.321314 <= Recv data, 1 bytes (0x1)
0000: i
03:10:48.331399 <= Recv data, 1 bytes (0x1)
0000: m
03:10:48.341488 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.351582 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.361676 <= Recv data, 1 bytes (0x1)
0000: a
03:10:48.371779 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.381857 <= Recv data, 1 bytes (0x1)
0000: l
03:10:48.392017 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.402083 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.412168 <= Recv data, 1 bytes (0x1)
0000: t
03:10:48.422303 <= Recv data, 1 bytes (0x1)
0000: e
03:10:48.432307 <= Recv data, 1 bytes (0x1)
0000: d
03:10:48.442414 <= Recv data, 1 bytes (0x1)
0000: .
03:10:48.452538 <= Recv data, 1 bytes (0x1)
0000: .
03:10:48.462713 <= Recv data, 1 bytes (0x1)
0000: L
03:10:48.472745 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.482832 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.492890 <= Recv data, 1 bytes (0x1)
0000: g
03:10:48.503177 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.513226 <= Recv data, 1 bytes (0x1)
0000: c
03:10:48.523239 <= Recv data, 1 bytes (0x1)
0000: h
03:10:48.533374 <= Recv data, 1 bytes (0x1)
0000: u
03:10:48.543425 <= Recv data, 1 bytes (0x1)
0000: n
03:10:48.553513 <= Recv data, 1 bytes (0x1)
0000: k
03:10:48.563586 <= Recv data, 1 bytes (0x1)
0000:
03:10:48.573686 <= Recv data, 1 bytes (0x1)
0000: o
03:10:48.583730 <= Recv data, 1 bytes (0x1)
=== File too long: 1700 lines omitted here
0000: .
03:10:57.170239 <= Recv data, 1 bytes (0x1)
0000: .
03:10:57.180310 <= Recv data, 1 bytes (0x1)
0000: L
03:10:57.190406 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.200550 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.210559 <= Recv data, 1 bytes (0x1)
0000: g
03:10:57.220587 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.230682 <= Recv data, 1 bytes (0x1)
0000: c
03:10:57.240780 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.250919 <= Recv data, 1 bytes (0x1)
0000: u
03:10:57.261007 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.271106 <= Recv data, 1 bytes (0x1)
0000: k
03:10:57.281187 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.291265 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.301314 <= Recv data, 1 bytes (0x1)
0000: f
03:10:57.311439 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.321515 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.331608 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.341697 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.351780 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.361842 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.371976 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.381976 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.392067 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.402148 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.412236 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.422347 <= Recv data, 1 bytes (0x1)
0000: c
03:10:57.432383 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.442476 <= Recv data, 1 bytes (0x1)
0000: u
03:10:57.452586 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.462676 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.472794 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.482879 <= Recv data, 1 bytes (0x1)
0000: '
03:10:57.493010 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.503268 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.513264 <= Recv data, 1 bytes (0x1)
0000: p
03:10:57.523325 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.533397 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.543483 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.553581 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.563647 <= Recv data, 1 bytes (0x1)
0000: b
03:10:57.573752 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.583862 <= Recv data, 1 bytes (0x1)
0000: y
03:10:57.593929 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.604073 <= Recv data, 1 bytes (0x1)
0000: b
03:10:57.613984 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.624036 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.634098 <= Recv data, 1 bytes (0x1)
0000: s
03:10:57.644265 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.654279 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.664466 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.674560 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.684711 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.694816 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.704887 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.715046 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.725166 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.735316 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.745383 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.755356 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.765484 <= Recv data, 1 bytes (0x1)
0000: i
03:10:57.775545 <= Recv data, 1 bytes (0x1)
0000: m
03:10:57.785648 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.795827 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.805812 <= Recv data, 1 bytes (0x1)
0000: a
03:10:57.816018 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.826097 <= Recv data, 1 bytes (0x1)
0000: l
03:10:57.836089 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.846264 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.856261 <= Recv data, 1 bytes (0x1)
0000: t
03:10:57.866377 <= Recv data, 1 bytes (0x1)
0000: e
03:10:57.876543 <= Recv data, 1 bytes (0x1)
0000: d
03:10:57.886620 <= Recv data, 1 bytes (0x1)
0000: .
03:10:57.896704 <= Recv data, 1 bytes (0x1)
0000: .
03:10:57.906826 <= Recv data, 1 bytes (0x1)
0000: L
03:10:57.916908 <= Recv data, 1 bytes (0x1)
0000: o
03:10:57.927154 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.936922 <= Recv data, 1 bytes (0x1)
0000: g
03:10:57.947197 <= Recv data, 1 bytes (0x1)
0000:
03:10:57.957215 <= Recv data, 1 bytes (0x1)
0000: c
03:10:57.967365 <= Recv data, 1 bytes (0x1)
0000: h
03:10:57.977420 <= Recv data, 1 bytes (0x1)
0000: u
03:10:57.987523 <= Recv data, 1 bytes (0x1)
0000: n
03:10:57.997639 <= Recv data, 1 bytes (0x1)
0000: k
03:10:58.007792 <= Recv data, 1 bytes (0x1)
0000:
03:10:58.017949 <= Recv data, 1 bytes (0x1)
0000: o
03:10:58.028010 <= Recv data, 1 bytes (0x1)
0000: f
03:10:58.038021 <= Recv data, 1 bytes (0x1)
0000:
03:10:58.048123 <= Recv data, 1 bytes (0x1)
0000: d
03:10:58.058203 <= Recv data, 1 bytes (0x1)
0000: a
03:10:58.068248 <= Recv data, 1 bytes (0x1)
0000: t
03:10:58.078384 <= Recv data, 1 bytes (0x1)
0000: a
03:10:58.088398 <= Recv data, 1 bytes (0x1)
0000:
03:10:58.098499 <= Recv data, 1 bytes (0x1)
0000: t
03:10:58.108636 <= Recv data, 1 bytes (0x1)
0000: h
03:10:58.119594 == Info: Operation timed out after 16000 milliseconds with 1029 out of 3600 bytes received
03:10:58.120538 == Info: Marked for [closure]: Disconnected with pending data
03:10:58.121019 == Info: multi_done
03:10:58.137785 == Info: Closing connection 0
03:10:58.139460 => Send SSL data, 5 bytes (0x5)
0000: .....
03:10:58.140370 == Info: TLSv1.2 (OUT), TLS alert, close notify (256):
03:10:58.140428 => Send SSL data, 2 bytes (0x2)
0000: ..
03:10:58.198725 == Info: The cache now contains 0 members
03:10:58.205799 == Info: Expire cleared (transfer 0x56c52e8)
=== End of file trace1112
=== Start of file valgrind1112
==22106== Invalid read of size 8
==22106== at 0x53315A5: check_free (dlerror.c:188)
==22106== by 0x5331AB1: free_key_mem (dlerror.c:221)
==22106== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==22106== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==22106== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==22106== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==22106== by 0x4D60EB9: exit (exit.c:139)
==22106== by 0x4D4B0A1: (below main) (libc-start.c:342)
==22106== Address 0x5af4ff0 is 0 bytes after a block of size 32 alloc'd
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
==22106== Invalid free() / delete / delete[] / realloc()
==22106== at 0x48369AB: free (vg_replace_malloc.c:540)
==22106== by 0x5331AB9: free_key_mem (dlerror.c:223)
==22106== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==22106== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==22106== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==22106== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==22106== by 0x4D60EB9: exit (exit.c:139)
==22106== by 0x4D4B0A1: (below main) (libc-start.c:342)
==22106== Address 0x5af4fd8 is 8 bytes inside a block of size 32 alloc'd
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
==22106== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==22106== at 0x483577F: malloc (vg_replace_malloc.c:309)
==22106== by 0x25C282: OPENSSL_malloc (mem.c:106)
==22106== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==22106== by 0x24B104: err_get_state (err.c:210)
==22106== by 0x24BCDA: ERR_put_error (err.c:636)
==22106== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==22106== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==22106== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==22106== by 0x270326: by_file_ctrl (by_file.c:111)
==22106== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==22106== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==22106== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==22106== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==22106== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==22106== by 0x1CADB9: Curl_ossl_connect (openssl.c:3643)
==22106== by 0x17F55C: Curl_ssl_connect (vtls.c:251)
==22106==
=== End of file valgrind1112
test 1113...[FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)]
s-p----emv- OK (789 out of 1250, remaining: 11:27, took 4.0s, duration: 19:37)
test 1114...[FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (DOS)]
s------emv- OK (790 out of 1250, remaining: 11:26, took 1.4s, duration: 19:38)
test 1115...[HTTP GET with unexpected 1xx response]
--pd---emv- OK (791 out of 1250, remaining: 11:24, took 1.2s, duration: 19:39)
test 1116...[HTTP GET with chunked trailer without Trailer:]
--pd--oemv- OK (792 out of 1250, remaining: 11:22, took 1.2s, duration: 19:40)
test 1117...[HTTP with invalid range then another URL]
s-p----emv- OK (793 out of 1250, remaining: 11:34, took 24.1s, duration: 20:04)
test 1118...[URL without slash and @-letter in query]
--pd---emv- OK (794 out of 1250, remaining: 11:32, took 1.2s, duration: 20:06)
test 1119...[Verify that symbols-in-versions and headers are in sync]
-------e-- OK (795 out of 1250, remaining: 11:30, took 0.0s, duration: 20:06)
test 1120...[FTP with 421 timeout response]
--p----emv- OK (796 out of 1250, remaining: 11:28, took 1.2s, duration: 20:07)
test 1121...[HTTP multiple provided Host: headers]
--pd---emv- OK (797 out of 1250, remaining: 11:26, took 1.2s, duration: 20:08)
test 1122...[HTTP GET gzip transfer-encoded content]
--pd---emv- OK (798 out of 1250, remaining: 11:25, took 1.2s, duration: 20:09)
test 1123...[HTTP GET deflate transfer-encoded content]
--pd---emv- OK (799 out of 1250, remaining: 11:23, took 1.3s, duration: 20:11)
test 1124...[HTTP GET gzip+chunked transfer-encoded content]
--pd---emv- OK (800 out of 1250, remaining: 11:21, took 1.2s, duration: 20:12)
test 1125...[HTTP GET transfer-encoding with custom Connection:]
--pd---emv- OK (801 out of 1250, remaining: 11:20, took 1.2s, duration: 20:13)
test 1126...[HTTP 200 If-Modified-Since with newer document]
--pd---emv- OK (802 out of 1250, remaining: 11:18, took 1.2s, duration: 20:14)
test 1127...[HTTP 200 If-Modified-Since with older document]
--pd---emv- OK (803 out of 1250, remaining: 11:16, took 1.2s, duration: 20:15)
test 1128...[HTTP 200 If-Modified-Since with old+new documents]
s-p----emv- OK (804 out of 1250, remaining: 11:15, took 1.2s, duration: 20:17)
test 1129...[HTTP POST expect 100-continue with a 404]
s-p----emv- OK (805 out of 1250, remaining: 11:13, took 1.2s, duration: 20:18)
test 1130...[HTTP POST forced expect 100-continue with a 404]
s-p----emv- OK (806 out of 1250, remaining: 11:11, took 1.2s, duration: 20:19)
test 1131...[HTTP PUT expect 100-continue with a 400]
s-p----emv- OK (807 out of 1250, remaining: 11:10, took 1.2s, duration: 20:20)
test 1132...[Verify memory #include files in libcurl's C source files]
-------e-- OK (808 out of 1250, remaining: 11:07, took 0.0s, duration: 20:20)
test 1133...[HTTP RFC1867-type formposting with filename/data contains ',', ';', '"']
--pd---emv- OK (809 out of 1250, remaining: 11:06, took 2.2s, duration: 20:23)
test 1134...[HTTP connection re-use with different credentials]
--pd---emv- OK (810 out of 1250, remaining: 11:05, took 1.2s, duration: 20:24)
test 1135...[Verify CURL_EXTERN order]
s------e-- OK (811 out of 1250, remaining: 11:02, took 0.0s, duration: 20:24)
test 1136...[Check cookies against PSL]
---d--oemv- OK (812 out of 1250, remaining: 11:01, took 1.3s, duration: 20:25)
test 1137...[FTP RETR --ignore-content-length]
--pd---emv- OK (813 out of 1250, remaining: 10:59, took 1.2s, duration: 20:26)
test 1138...[HTTP redirect with UTF-8 characters]
--pd---emv- OK (814 out of 1250, remaining: 10:57, took 1.3s, duration: 20:28)
test 1139...[Verify that all libcurl options have man pages]
-------e-- OK (815 out of 1250, remaining: 10:55, took 0.1s, duration: 20:28)
test 1140...[Verify the nroff of man pages]
-------e-- OK (816 out of 1250, remaining: 10:53, took 0.0s, duration: 20:28)
test 1141...[HTTP redirect to http:/// (three slashes!)]
--pd---emv- OK (817 out of 1250, remaining: 10:51, took 1.2s, duration: 20:29)
test 1142...[HTTP redirect to http://// (four slashes!)]
--pd---emv- OK (818 out of 1250, remaining: 10:49, took 1.2s, duration: 20:30)
test 1143...[HTTP URL with http:/ (one slash!)]
--pd---emv- OK (819 out of 1250, remaining: 10:48, took 1.2s, duration: 20:31)
test 1144...[HTTP HEAD, receive no headers only body]
--pd---emv- OK (820 out of 1250, remaining: 10:46, took 1.2s, duration: 20:33)
test 1145...[file:// bad host]
-------emv- OK (821 out of 1250, remaining: 10:44, took 1.1s, duration: 20:34)
test 1146...[--proto-default file]
---d---emv- OK (822 out of 1250, remaining: 10:43, took 1.1s, duration: 20:35)
test 1147...[Get -H headers from a file]
--pd---emv- OK (823 out of 1250, remaining: 10:41, took 1.2s, duration: 20:36)
test 1148...[progress-bar]
--pd--oemv- OK (824 out of 1250, remaining: 10:39, took 1.2s, duration: 20:37)
test 1149...[FTP dir list multicwd then again nocwd]
--pd---emv- OK (825 out of 1250, remaining: 10:38, took 1.3s, duration: 20:38)
test 1150...[HTTP proxy with URLs using different ports]
--pd---emv- OK (826 out of 1250, remaining: 10:36, took 1.2s, duration: 20:40)
test 1151...[HTTP with too long cookies]
--pd--oemv- OK (827 out of 1250, remaining: 10:34, took 1.3s, duration: 20:41)
test 1152...[FTP with uneven quote in PWD response]
--pd---emv- OK (828 out of 1250, remaining: 10:33, took 1.2s, duration: 20:42)
test 1153...[FTP with quoted double quotes]
--pd---emv- OK (829 out of 1250, remaining: 10:31, took 1.2s, duration: 20:43)
test 1154...[HTTP GET]
--p----emv- OK (830 out of 1250, remaining: 10:30, took 1.2s, duration: 20:45)
test 1155...[HTTP cookie with parameter word as name]
--pd--oemv- OK (831 out of 1250, remaining: 10:28, took 1.2s, duration: 20:46)
test 1156...[HTTP resume/range fail range-error content-range combinations]
-------emv- OK (832 out of 1250, remaining: 10:26, took 1.1s, duration: 20:47)
test 1157...[Get -H headers from empty file]
--pd---emv- OK (833 out of 1250, remaining: 10:25, took 1.2s, duration: 20:48)
test 1158...[HTTP RFC1867-type formposting with filename containing '"']
--pd---emv- OK (834 out of 1250, remaining: 10:23, took 1.2s, duration: 20:49)
test 1159...[HTTP Location: and 'redirect_url' with non-supported scheme]
s-p----emv- OK (835 out of 1250, remaining: 10:21, took 1.2s, duration: 20:51)
test 1160...[HTTP with long funny format cookie]
--pd--oemv- OK (836 out of 1250, remaining: 10:20, took 1.2s, duration: 20:52)
test 1161...[HTTP cookie with path set twice]
--pd--oemv- OK (837 out of 1250, remaining: 10:18, took 1.2s, duration: 20:53)
test 1162...[FTP wildcard with crazy pattern]
--p----emv- OK (838 out of 1250, remaining: 10:16, took 1.1s, duration: 20:54)
test 1163...[FTP wildcard with pattern ending with an open-bracket]
--p----emv- OK (839 out of 1250, remaining: 10:15, took 1.1s, duration: 20:55)
test 1164...[HTTP/0.9 GET and all zeroes]
s-p----emv- OK (840 out of 1250, remaining: 10:13, took 1.2s, duration: 20:56)
test 1165...[Verify configure.ac and source code CURL_DISABLE_-sync]
-------e-- OK (841 out of 1250, remaining: 10:11, took 0.0s, duration: 20:56)
test 1170...[HTTP GET transfer-encoding with removed Connection:]
--pd---emv- OK (842 out of 1250, remaining: 10:09, took 1.2s, duration: 20:58)
test 1171...[HTTP GET transfer-encoding with blanked Connection:]
--pd---emv- OK (843 out of 1250, remaining: 10:08, took 1.2s, duration: 20:59)
test 1172...[HTTP/0.9 GET response denied]
--p----emv- OK (844 out of 1250, remaining: 10:06, took 1.2s, duration: 21:00)
test 1173...[Basic man page syntax check]
-------e-- OK (845 out of 1250, remaining: 10:04, took 0.0s, duration: 21:00)
test 1174...[HTTP/0.9 GET response denied by default]
--p----emv- OK (846 out of 1250, remaining: 10:02, took 1.2s, duration: 21:01)
test 1200...[Gopher index]
--pd---emv- OK (847 out of 1250, remaining: 10:01, took 3.3s, duration: 21:04)
test 1201...[Gopher selector]
--pd---emv- OK (848 out of 1250, remaining: 10:00, took 1.2s, duration: 21:06)
test 1202...[Gopher query]
--pd---emv- OK (849 out of 1250, remaining: 09:58, took 1.2s, duration: 21:07)
test 1203...[Gopher IPv6 index]
--pd---emv- OK (850 out of 1250, remaining: 09:57, took 3.3s, duration: 21:10)
test 1204...[HTTP with WWW-Authenticate and multiple auths in a single line]
--pd---emv- OK (851 out of 1250, remaining: 09:56, took 1.2s, duration: 21:11)
test 1205...[HTTP GET with 18K HTTP header]
--pd---emv- OK (852 out of 1250, remaining: 09:54, took 1.2s, duration: 21:13)
test 1206...[FTP PORT and 425 on download]
--p----emv- OK (853 out of 1250, remaining: 09:53, took 1.2s, duration: 21:14)
test 1207...[FTP PORT and 421 on download]
--p----emv- OK (854 out of 1250, remaining: 09:51, took 1.2s, duration: 21:15)
test 1208...[FTP PORT download, no data conn and no transient negative reply]
--p----emv- OK (855 out of 1250, remaining: 09:50, took 3.1s, duration: 21:18)
test 1210...[HTTP GET with -J without Content-Disposition]
--p---oemv- OK (856 out of 1250, remaining: 09:49, took 1.2s, duration: 21:19)
test 1212...[noproxy setting together with socks proxy]
--pd---emv- OK (857 out of 1250, remaining: 09:47, took 1.2s, duration: 21:21)
test 1213...[HTTP with proxy and host-only URL]
--pd---emv- OK (858 out of 1250, remaining: 09:45, took 1.2s, duration: 21:22)
test 1214...[HTTP with proxy and URL with ? and no slash separator]
--pd---emv- OK (859 out of 1250, remaining: 09:44, took 1.2s, duration: 21:23)
test 1215...[HTTP with server NTLM authorization using a proxy]
--pd---emv- OK (860 out of 1250, remaining: 09:42, took 1.3s, duration: 21:24)
test 1216...[HTTP cookie domains tailmatching the host name]
--pd---emv- OK (861 out of 1250, remaining: 09:41, took 1.3s, duration: 21:25)
test 1217...[FTP with rubbish before name in 257-response]
--pd---emv- OK (862 out of 1250, remaining: 09:39, took 1.3s, duration: 21:27)
test 1218...[HTTP cookies and domains with same prefix]
--pd---emv- OK (863 out of 1250, remaining: 09:37, took 1.3s, duration: 21:28)
test 1219...[FTP with no user+password required (230 response)]
--pd---emv- OK (864 out of 1250, remaining: 09:36, took 1.2s, duration: 21:29)
test 1220...[file:// URLs with query string]
s------emv- OK (865 out of 1250, remaining: 09:34, took 1.1s, duration: 21:30)
test 1221...[10 chars object name generation testing]
------oe-- OK (866 out of 1250, remaining: 09:32, took 0.4s, duration: 21:31)
test 1222...[8 chars object name generation testing]
------oe-- OK (867 out of 1250, remaining: 09:30, took 0.4s, duration: 21:31)
test 1223...[HTTP GET -w remote_ip and -w remote_port]
s-p----emv- OK (868 out of 1250, remaining: 09:29, took 1.2s, duration: 21:32)
test 1224...[FTP fetch a file from the root directory]
--pd---emv- OK (869 out of 1250, remaining: 09:27, took 1.2s, duration: 21:34)
test 1225...[FTP fetch two files using absolute paths]
--pd---emv- OK (870 out of 1250, remaining: 09:25, took 1.3s, duration: 21:35)
test 1226...[FTP fetch a file from the root directory with singlecwd]
--pd---emv- OK (871 out of 1250, remaining: 09:24, took 1.2s, duration: 21:36)
test 1227...[FTP fetch a file from the root directory with nocwd]
--pd---emv- OK (872 out of 1250, remaining: 09:22, took 1.2s, duration: 21:38)
test 1228...[HTTP cookie path match]
--pd---emv- OK (873 out of 1250, remaining: 09:21, took 1.3s, duration: 21:39)
test 1229...[HTTP with Digest authorization with user name needing escape]
--pd---emv- OK (874 out of 1250, remaining: 09:19, took 1.3s, duration: 21:40)
test 1230...[HTTP CONNECT to IPv6 numerical address]
--pd---emv- OK (875 out of 1250, remaining: 09:17, took 1.2s, duration: 21:41)
test 1231...[HTTP URL with dotdot removal from path]
--pd---emv- OK (876 out of 1250, remaining: 09:16, took 1.2s, duration: 21:42)
test 1232...[HTTP URL with dotdot removal from path using an HTTP proxy]
--pd---emv- OK (877 out of 1250, remaining: 09:14, took 1.2s, duration: 21:44)
test 1233...[FTP failing to connect to EPSV port, switching to PASV]
--pd---emv- OK (878 out of 1250, remaining: 09:13, took 1.3s, duration: 21:45)
test 1234...[abusing {}-globbing]
-------emv- OK (879 out of 1250, remaining: 09:11, took 0.9s, duration: 21:46)
test 1235...[multiple requests using {}{} in the URL]
s-p----emv- OK (880 out of 1250, remaining: 09:09, took 1.3s, duration: 21:47)
test 1236...[[] globbing overflowing the range counter]
-------emv- OK (881 out of 1250, remaining: 09:08, took 0.9s, duration: 21:48)
test 1237...[URL with 1000+ letter user name + password]
--pd---emv- OK (882 out of 1250, remaining: 09:06, took 1.2s, duration: 21:49)
test 1238...[slow TFTP retrieve cancel due to -Y and -y]
--p----emv- OK (883 out of 1250, remaining: 09:06, took 5.1s, duration: 21:54)
test 1239...[HTTP with -z + -w response_code and simulated 304]
s-p----emv- OK (884 out of 1250, remaining: 09:04, took 1.2s, duration: 21:56)
test 1240...[glob [0-1] with stuff after range (7.33.0 regression)]
--pd---emv- OK (885 out of 1250, remaining: 09:03, took 1.2s, duration: 21:57)
test 1241...[HTTP _without_ dotdot removal]
--pd---emv- OK (886 out of 1250, remaining: 09:01, took 1.2s, duration: 21:58)
test 1242...[TFTP retrieve without TFTP options requests]
--pd---emv- OK (887 out of 1250, remaining: 09:00, took 1.1s, duration: 21:59)
test 1243...[TFTP send without TFTP options requests]
Warning: server logs lock timeout (2 seconds) expired
--p-u--emv- OK (888 out of 1250, remaining: 08:59, took 3.2s, duration: 22:02)
test 1244...[HTTP GET same URL - different proxy ports]
--pd---emv- OK (889 out of 1250, remaining: 08:57, took 1.2s, duration: 22:04)
test 1245...[--proto deny must override --proto-redir allow]
--pd---emv- OK (890 out of 1250, remaining: 08:56, took 1.2s, duration: 22:05)
test 1246...[URL with '#' at end of host name instead of '/']
--pd---emv- OK (891 out of 1250, remaining: 08:54, took 1.2s, duration: 22:06)
test 1247...[--fail-early]
-------emv- OK (892 out of 1250, remaining: 08:52, took 1.1s, duration: 22:07)
test 1248...[Access a non-proxied host with using the combination of --proxy option and --noproxy option]
--pd---emv- OK (893 out of 1250, remaining: 08:51, took 1.2s, duration: 22:08)
test 1249...[Access a non-proxied host with using the combination of --proxy option and NO_PROXY env var]
--pd---emv- OK (894 out of 1250, remaining: 08:49, took 1.2s, duration: 22:10)
test 1250...[Access a non-proxied host with using the combination of http_proxy env var and --noproxy option]
--pd---emv- OK (895 out of 1250, remaining: 08:48, took 1.2s, duration: 22:11)
test 1251...[Access a non-proxied host with using the combination of http_proxy env var and NO_PROXY env var]
--pd---emv- OK (896 out of 1250, remaining: 08:46, took 1.2s, duration: 22:12)
test 1252...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (897 out of 1250, remaining: 08:44, took 1.2s, duration: 22:13)
test 1253...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (898 out of 1250, remaining: 08:43, took 1.2s, duration: 22:14)
test 1254...[Under condition using --proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (899 out of 1250, remaining: 08:41, took 1.2s, duration: 22:16)
test 1255...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL directly]
--pd---emv- OK (900 out of 1250, remaining: 08:40, took 1.2s, duration: 22:17)
test 1256...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (901 out of 1250, remaining: 08:38, took 1.2s, duration: 22:18)
test 1257...[Under condition using http_proxy, override NO_PROXY by --nproxy and access target URL through proxy]
--pd---emv- OK (902 out of 1250, remaining: 08:36, took 1.2s, duration: 22:19)
test 1258...[HTTP, use cookies with localhost]
--pd---emv- OK (903 out of 1250, remaining: 08:35, took 1.3s, duration: 22:20)
test 1259...[HTTP URL with semicolon in password]
--pd---emv- OK (904 out of 1250, remaining: 08:33, took 1.2s, duration: 22:22)
test 1260...[HTTP URL with rubbish after port number]
-------emv- OK (905 out of 1250, remaining: 08:32, took 1.1s, duration: 22:23)
test 1261...['redirect_url' with --location and --max-redir]
s-p----emv- OK (906 out of 1250, remaining: 08:30, took 1.2s, duration: 22:24)
test 1262...[FTP request and denied to download an older file with -z]
--p----emv- OK (907 out of 1250, remaining: 08:28, took 1.2s, duration: 22:25)
test 1263...[HTTP URL with rubbish after IPv6 bracket]
-------emv- OK (908 out of 1250, remaining: 08:27, took 1.1s, duration: 22:26)
test 1264...[HTTP URL with space in host name]
-------emv- OK (909 out of 1250, remaining: 08:25, took 1.1s, duration: 22:27)
test 1265...[NO_PROXY with IPv6 numerical address]
--pd---emv- OK (910 out of 1250, remaining: 08:23, took 1.2s, duration: 22:28)
test 1266...[HTTP GET with a single-byte HTTP/0.9 response]
--pd---emv- OK (911 out of 1250, remaining: 08:22, took 1.2s, duration: 22:30)
test 1267...[HTTP GET with a invalid HTTP/1 response line start]
--pd---emv- OK (912 out of 1250, remaining: 08:20, took 1.2s, duration: 22:31)
test 1268...[file name argument looks like a flag]
------oemv- OK (913 out of 1250, remaining: 08:19, took 1.1s, duration: 22:32)
test 1269...[too large --retry-delay value]
-------emv- OK (914 out of 1250, remaining: 08:17, took 0.9s, duration: 22:33)
test 1280...[simple [a-d] globbing]
--pd---emv- OK (915 out of 1250, remaining: 08:15, took 1.3s, duration: 22:34)
test 1281...[reject non-numerical port number in URL]
-------emv- OK (916 out of 1250, remaining: 08:14, took 1.1s, duration: 22:35)
test 1282...[FTP with 633 response before gss initialized]
--p----emv- OK (917 out of 1250, remaining: 08:12, took 1.2s, duration: 22:36)
test 1283...[globbing range with same start and stop]
--p---oemv- OK (918 out of 1250, remaining: 08:11, took 1.2s, duration: 22:37)
test 1284...[HTTP POST --digest with user-specified Content-Length header]
--pd---emv- OK (919 out of 1250, remaining: 08:09, took 1.3s, duration: 22:39)
test 1285...[HTTP PUT --digest with user-specified Content-Length header]
--pd---emv- OK (920 out of 1250, remaining: 08:08, took 2.3s, duration: 22:41)
test 1286...[HTTP GET --digest increasing nonce-count]
--pd---emv- OK (921 out of 1250, remaining: 08:06, took 1.3s, duration: 22:42)
test 1287...[HTTP over proxy-tunnel ignore TE and CL in CONNECT 2xx responses]
--pd-Poemv- OK (922 out of 1250, remaining: 08:05, took 1.7s, duration: 22:44)
test 1288...[Suppress proxy CONNECT response headers]
s-p--P-emv- OK (923 out of 1250, remaining: 08:03, took 1.7s, duration: 22:46)
test 1289...[globbing with overflow and bad syntxx]
-------emv- OK (924 out of 1250, remaining: 08:02, took 0.9s, duration: 22:47)
test 1290...[Verify URL globbing ignores []]
--pd---emv- OK (925 out of 1250, remaining: 08:00, took 1.2s, duration: 22:48)
test 1291...[Attempt to upload 1000 files but fail immediately]
-------emv- OK (926 out of 1250, remaining: 08:03, took 14.1s, duration: 23:02)
test 1292...[Replaced internal headers with a blank one]
--pd---emv- OK (927 out of 1250, remaining: 08:02, took 1.2s, duration: 23:03)
test 1298...[HTTP GET special path with --request-target]
--pd---emv- OK (928 out of 1250, remaining: 08:00, took 1.2s, duration: 23:04)
test 1299...[Send "OPTIONS *" with --request-target]
--pd---emv- OK (929 out of 1250, remaining: 07:58, took 1.2s, duration: 23:05)
test 1300...[llist unit tests]
-------emv- OK (930 out of 1250, remaining: 07:57, took 0.8s, duration: 23:06)
test 1301...[curl_strcasecompare unit tests]
-------emv- OK (931 out of 1250, remaining: 07:55, took 0.8s, duration: 23:07)
test 1302...[base64 encode/decode unit tests]
-------emv- OK (932 out of 1250, remaining: 07:53, took 0.9s, duration: 23:08)
test 1303...[Curl_timeleft unit tests]
-------emv- OK (933 out of 1250, remaining: 07:52, took 0.9s, duration: 23:09)
test 1304...[netrc parsing unit tests]
-------emv- OK (934 out of 1250, remaining: 07:50, took 0.8s, duration: 23:10)
test 1305...[internal hash create/destroy testing]
-------emv- OK (935 out of 1250, remaining: 07:48, took 0.9s, duration: 23:10)
test 1306...[internal hash create/add/destroy testing]
-------emv- OK (936 out of 1250, remaining: 07:46, took 0.9s, duration: 23:11)
test 1308...[formpost unit tests]
-------emv- OK (937 out of 1250, remaining: 07:45, took 0.9s, duration: 23:12)
test 1309...[splay unit tests]
s------emv- OK (938 out of 1250, remaining: 07:43, took 0.9s, duration: 23:13)
test 1310...[HTTP with NTLM delegation to winbind helper]
--pd---emv- OK (939 out of 1250, remaining: 07:41, took 1.2s, duration: 23:14)
test 1311...[HTTP GET with -J and Content-Disposition]
--p---oemv- OK (940 out of 1250, remaining: 07:40, took 1.2s, duration: 23:16)
test 1312...[HTTP GET with -J, Content-Disposition and ; in filename]
--p---oemv- OK (941 out of 1250, remaining: 07:38, took 1.2s, duration: 23:17)
test 1313...[HTTP GET with -J, Content-Disposition, uneven quotes]
--p---oemv- OK (942 out of 1250, remaining: 07:37, took 1.2s, duration: 23:18)
test 1314...[HTTP Location: following a // prefixed url]
--pd---emv- OK (943 out of 1250, remaining: 07:35, took 1.2s, duration: 23:19)
test 1315...[HTTP RFC1867-type formposting - -F with three files, one with explicit type]
--pd---emv- OK (944 out of 1250, remaining: 07:34, took 1.2s, duration: 23:20)
test 1317...[HTTP with --resolve]
--pd---emv- OK (945 out of 1250, remaining: 07:32, took 1.2s, duration: 23:21)
test 1318...[HTTP with --resolve and same host name using different cases]
--pd---emv- OK (946 out of 1250, remaining: 07:30, took 1.2s, duration: 23:23)
test 1319...[POP3 fetch tunneled through HTTP proxy]
--pd-P-emv- OK (947 out of 1250, remaining: 07:29, took 1.7s, duration: 23:24)
test 1320...[SMTP send tunneled through HTTP proxy]
--p-uP-emv- OK (948 out of 1250, remaining: 07:28, took 1.7s, duration: 23:26)
test 1321...[IMAP FETCH tunneled through HTTP proxy]
--pd-P-emv- OK (949 out of 1250, remaining: 07:26, took 1.8s, duration: 23:28)
test 1322...[HTTP with --resolve and hostname with trailing dot]
--pd---emv- OK (950 out of 1250, remaining: 07:25, took 1.2s, duration: 23:29)
test 1323...[curlx_tvdiff]
-------emv- OK (951 out of 1250, remaining: 07:23, took 0.8s, duration: 23:30)
test 1324...[HTTP with --resolve and [ipv6address]]
--pd---emv- OK (952 out of 1250, remaining: 07:21, took 1.2s, duration: 23:31)
test 1325...[HTTP 308-redirect with POST]
--pd---emv- OK (953 out of 1250, remaining: 07:20, took 1.3s, duration: 23:32)
test 1326...[TELNET to HTTP server]
--pd---emv- OK (954 out of 1250, remaining: 07:18, took 1.3s, duration: 23:34)
test 1327...[TELNET check of upload with stdout redirected]
--p----emv- OK (955 out of 1250, remaining: 07:17, took 1.3s, duration: 23:35)
test 1328...[HTTP GET a globbed range with -f]
--pd---emv- OK (956 out of 1250, remaining: 07:15, took 1.2s, duration: 23:36)
test 1329...[/-prefixed proxy name]
-------emv- OK (957 out of 1250, remaining: 07:14, took 1.1s, duration: 23:37)
test 1330...[unit tests memory tracking operational]
------oemv- OK (958 out of 1250, remaining: 07:12, took 0.8s, duration: 23:38)
test 1331...[HTTP --proxy-anyauth and 407 with cookies]
--pd---emv- OK (959 out of 1250, remaining: 07:10, took 1.3s, duration: 23:39)
test 1332...[HTTP POST with 303 redirect and --post303]
--pd---emv- OK (960 out of 1250, remaining: 07:09, took 1.3s, duration: 23:41)
test 1333...[HTTP POST zero length, chunked-encoded]
--pd---emv- OK (961 out of 1250, remaining: 07:07, took 1.2s, duration: 23:42)
test 1334...[HTTP GET with -O without Content-Disposition, -D file]
--p---oemv- OK (962 out of 1250, remaining: 07:06, took 1.2s, duration: 23:43)
test 1335...[HTTP GET with -O without Content-Disposition, -D stdout]
--p---oemv- OK (963 out of 1250, remaining: 07:04, took 1.2s, duration: 23:44)
test 1336...[HTTP GET with -O and Content-Disposition, -D file]
--p---oemv- OK (964 out of 1250, remaining: 07:03, took 1.2s, duration: 23:45)
test 1337...[HTTP GET with -O and Content-Disposition, -D stdout]
--p---oemv- OK (965 out of 1250, remaining: 07:01, took 1.2s, duration: 23:47)
test 1338...[HTTP GET with -O -J without Content-Disposition, -D file]
--p---oemv- OK (966 out of 1250, remaining: 06:59, took 1.2s, duration: 23:48)
test 1339...[HTTP GET with -O -J without Content-Disposition, -D stdout]
--p---oemv- OK (967 out of 1250, remaining: 06:58, took 1.2s, duration: 23:49)
test 1340...[HTTP GET with -O -J and Content-Disposition, -D file]
--p---oemv- OK (968 out of 1250, remaining: 06:56, took 1.2s, duration: 23:50)
test 1341...[HTTP GET with -O -J and Content-Disposition, -D stdout]
--p---oemv- OK (969 out of 1250, remaining: 06:55, took 1.2s, duration: 23:51)
test 1342...[HTTP GET with -O -i without Content-Disposition, -D file]
--p---oemv- OK (970 out of 1250, remaining: 06:53, took 1.2s, duration: 23:53)
test 1343...[HTTP GET with -O -i without Content-Disposition, -D stdout]
--p---oemv- OK (971 out of 1250, remaining: 06:52, took 1.2s, duration: 23:54)
test 1344...[HTTP GET with -O -i and Content-Disposition, -D file]
--p---oemv- OK (972 out of 1250, remaining: 06:50, took 1.2s, duration: 23:55)
test 1345...[HTTP GET with -O -i and Content-Disposition, -D stdout]
--p---oemv- OK (973 out of 1250, remaining: 06:49, took 1.2s, duration: 23:56)
test 1346...[HTTP GET with -O -i without Content-Disposition, without -D]
--p---oemv- OK (974 out of 1250, remaining: 06:47, took 1.2s, duration: 23:57)
test 1347...[HTTP GET with -O -i and Content-Disposition, without -D]
--p---oemv- OK (975 out of 1250, remaining: 06:45, took 1.2s, duration: 23:59)
test 1348...[FTP download, file without Content-Disposition inside, using -O]
--p---oemv- OK (976 out of 1250, remaining: 06:44, took 1.2s, duration: 24:00)
test 1349...[FTP download, file without C-D inside, using -O -D file]
--p---oemv- OK (977 out of 1250, remaining: 06:42, took 1.2s, duration: 24:01)
test 1350...[FTP download, file without C-D inside, using -O -D stdout]
--p---oemv- OK (978 out of 1250, remaining: 06:41, took 1.2s, duration: 24:02)
test 1351...[FTP download, file without C-D inside, using -O -J -D file]
--p---oemv- OK (979 out of 1250, remaining: 06:39, took 1.2s, duration: 24:04)
test 1352...[FTP download, file without C-D inside, using -O -J -D stdout]
--p---oemv- OK (980 out of 1250, remaining: 06:38, took 1.2s, duration: 24:05)
test 1353...[FTP download, file without C-D inside, using -O -i -D file]
--p---oemv- OK (981 out of 1250, remaining: 06:36, took 1.2s, duration: 24:06)
test 1354...[FTP download, file without C-D inside, using -O -i -D stdout]
--p---oemv- OK (982 out of 1250, remaining: 06:35, took 1.2s, duration: 24:07)
test 1355...[FTP download, file without C-D inside, using -O -i, without -D]
--p---oemv- OK (983 out of 1250, remaining: 06:33, took 1.2s, duration: 24:09)
test 1356...[FTP download, file with Content-Disposition inside, using -O]
--p---oemv- OK (984 out of 1250, remaining: 06:32, took 1.2s, duration: 24:10)
test 1357...[FTP download, file with C-D inside, using -O -D file]
--p---oemv- OK (985 out of 1250, remaining: 06:30, took 1.2s, duration: 24:11)
test 1358...[FTP download, file with C-D inside, using -O -D stdout]
--p---oemv- OK (986 out of 1250, remaining: 06:28, took 1.2s, duration: 24:12)
test 1359...[FTP download, file with C-D inside, using -O -J -D file]
--p---oemv- OK (987 out of 1250, remaining: 06:27, took 1.3s, duration: 24:13)
test 1360...[FTP download, file with C-D inside, using -O -J -D stdout]
--p---oemv- OK (988 out of 1250, remaining: 06:25, took 1.2s, duration: 24:15)
test 1361...[FTP download, file with C-D inside, using -O -i -D file]
--p---oemv- OK (989 out of 1250, remaining: 06:24, took 1.3s, duration: 24:16)
test 1362...[FTP download, file with C-D inside, using -O -i -D stdout]
--p---oemv- OK (990 out of 1250, remaining: 06:22, took 1.2s, duration: 24:17)
test 1363...[FTP download, file with C-D inside, using -O -i, without -D]
--p---oemv- OK (991 out of 1250, remaining: 06:21, took 1.2s, duration: 24:18)
test 1364...[HTTP GET -o fname without Content-Disposition, -D file]
--p---oemv- OK (992 out of 1250, remaining: 06:19, took 1.2s, duration: 24:20)
test 1365...[HTTP GET -o fname without Content-Disposition, -D stdout]
--p---oemv- OK (993 out of 1250, remaining: 06:18, took 1.2s, duration: 24:21)
test 1366...[HTTP GET -o fname and Content-Disposition, -D file]
--p---oemv- OK (994 out of 1250, remaining: 06:16, took 1.2s, duration: 24:22)
test 1367...[HTTP GET -o fname and Content-Disposition, -D stdout]
--p---oemv- OK (995 out of 1250, remaining: 06:15, took 1.2s, duration: 24:23)
test 1368...[HTTP GET -o fname -J without Content-Disposition, -D file]
--p---oemv- OK (996 out of 1250, remaining: 06:13, took 1.2s, duration: 24:24)
test 1369...[HTTP GET -o fname -J without Content-Disposition, -D stdout]
--p---oemv- OK (997 out of 1250, remaining: 06:12, took 1.2s, duration: 24:26)
test 1370...[HTTP GET -o fname -J and Content-Disposition, -D file]
--p---oemv- OK (998 out of 1250, remaining: 06:10, took 1.2s, duration: 24:27)
test 1371...[HTTP GET -o fname -J and Content-Disposition, -D stdout]
--p---oemv- OK (999 out of 1250, remaining: 06:08, took 1.2s, duration: 24:28)
test 1372...[HTTP GET -o fname -i without Content-Disposition, -D file]
--p---oemv- OK (1000 out of 1250, remaining: 06:07, took 1.2s, duration: 24:29)
test 1373...[HTTP GET -o fname -i without Content-Disposition, -D stdout]
--p---oemv- OK (1001 out of 1250, remaining: 06:05, took 1.2s, duration: 24:30)
test 1374...[HTTP GET -o fname -i and Content-Disposition, -D file]
--p---oemv- OK (1002 out of 1250, remaining: 06:04, took 1.2s, duration: 24:31)
test 1375...[HTTP GET -o fname -i and Content-Disposition, -D stdout]
--p---oemv- OK (1003 out of 1250, remaining: 06:02, took 1.2s, duration: 24:33)
test 1376...[HTTP GET -o fname -i without Content-Disposition, without -D]
--p---oemv- OK (1004 out of 1250, remaining: 06:01, took 1.2s, duration: 24:34)
test 1377...[HTTP GET -o fname -i and Content-Disposition, without -D]
--p---oemv- OK (1005 out of 1250, remaining: 05:59, took 1.2s, duration: 24:35)
test 1378...[FTP DL, file without Content-Disposition inside, using -o fname]
--p---oemv- OK (1006 out of 1250, remaining: 05:58, took 1.2s, duration: 24:36)
test 1379...[FTP DL, file without C-D inside, using -o fname -D file]
--p---oemv- OK (1007 out of 1250, remaining: 05:56, took 1.3s, duration: 24:38)
test 1380...[FTP DL, file without C-D inside, using -o fname -D stdout]
--p---oemv- OK (1008 out of 1250, remaining: 05:55, took 1.2s, duration: 24:39)
test 1381...[FTP DL, file without C-D inside, using -o fname -J -D file]
--p---oemv- OK (1009 out of 1250, remaining: 05:53, took 1.3s, duration: 24:40)
test 1382...[FTP DL, file without C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1010 out of 1250, remaining: 05:52, took 1.2s, duration: 24:41)
test 1383...[FTP DL, file without C-D inside, using -o fname -i -D file]
--p---oemv- OK (1011 out of 1250, remaining: 05:50, took 1.2s, duration: 24:43)
test 1384...[FTP DL, file without C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1012 out of 1250, remaining: 05:49, took 1.2s, duration: 24:44)
test 1385...[FTP DL, file without C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1013 out of 1250, remaining: 05:47, took 1.2s, duration: 24:45)
test 1386...[FTP DL, file with Content-Disposition inside, using -o fname]
--p---oemv- OK (1014 out of 1250, remaining: 05:46, took 1.3s, duration: 24:46)
test 1387...[FTP DL, file with C-D inside, using -o fname -D file]
--p---oemv- OK (1015 out of 1250, remaining: 05:44, took 1.2s, duration: 24:47)
test 1388...[FTP DL, file with C-D inside, using -o fname -D stdout]
--p---oemv- OK (1016 out of 1250, remaining: 05:42, took 1.2s, duration: 24:49)
test 1389...[FTP DL, file with C-D inside, using -o fname -J -D file]
--p---oemv- OK (1017 out of 1250, remaining: 05:41, took 1.3s, duration: 24:50)
test 1390...[FTP DL, file with C-D inside, using -o fname -J -D stdout]
--p---oemv- OK (1018 out of 1250, remaining: 05:39, took 1.3s, duration: 24:51)
test 1391...[FTP DL, file with C-D inside, using -o fname -i -D file]
--p---oemv- OK (1019 out of 1250, remaining: 05:38, took 1.2s, duration: 24:53)
test 1392...[FTP DL, file with C-D inside, using -o fname -i -D stdout]
--p---oemv- OK (1020 out of 1250, remaining: 05:36, took 1.2s, duration: 24:54)
test 1393...[FTP DL, file with C-D inside, using -o fname -i, without -D]
--p---oemv- OK (1021 out of 1250, remaining: 05:35, took 1.3s, duration: 24:55)
test 1394...[unit test for parse_cert_parameter()]
-------emv- OK (1022 out of 1250, remaining: 05:33, took 0.8s, duration: 24:56)
test 1395...[Curl_dedotdotify]
-------emv- OK (1023 out of 1250, remaining: 05:32, took 0.8s, duration: 24:57)
test 1396...[curl_easy_escape and curl_easy_unescape]
-------emv- OK (1024 out of 1250, remaining: 05:30, took 0.9s, duration: 24:58)
test 1397...[Check wildcard certificate matching function Curl_cert_hostcheck]
-------emv- OK (1025 out of 1250, remaining: 05:29, took 0.8s, duration: 24:58)
test 1398...[curl_msnprintf unit tests]
-------emv- OK (1026 out of 1250, remaining: 05:27, took 0.8s, duration: 24:59)
test 1399...[Curl_pgrsTime unit tests]
-------emv- OK (1027 out of 1250, remaining: 05:25, took 0.8s, duration: 25:00)
test 1400...[--libcurl for simple HTTP GET]
--pd--oemv- OK (1028 out of 1250, remaining: 05:24, took 1.2s, duration: 25:01)
test 1401...[--libcurl for GET with various options]
--pd--oemv- OK (1029 out of 1250, remaining: 05:22, took 1.2s, duration: 25:02)
test 1402...[--libcurl for simple POST]
--pd--oemv- OK (1030 out of 1250, remaining: 05:21, took 1.2s, duration: 25:04)
test 1403...[--libcurl for GET with query]
--pd--oemv- OK (1031 out of 1250, remaining: 05:19, took 1.2s, duration: 25:05)
test 1404...[--libcurl for HTTP RFC1867-type formposting - -F with 3 files, one with explicit type & encoder]
--pd--oemv- OK (1032 out of 1250, remaining: 05:18, took 1.3s, duration: 25:06)
test 1405...[--libcurl for FTP with quote ops]
--pd--oemv- OK (1033 out of 1250, remaining: 05:16, took 1.3s, duration: 25:07)
test 1406...[--libcurl for SMTP]
--p-u-oemv- OK (1034 out of 1250, remaining: 05:15, took 1.3s, duration: 25:09)
test 1407...[--libcurl for POP3 LIST one message]
--p---oemv- OK (1035 out of 1250, remaining: 05:13, took 1.2s, duration: 25:10)
test 1408...[HTTP receive cookies over IPV6]
--p----emv- OK (1036 out of 1250, remaining: 05:12, took 1.2s, duration: 25:11)
test 1409...[Pass in string to -C]
-------emv- OK (1037 out of 1250, remaining: 05:10, took 0.9s, duration: 25:12)
test 1410...[Pass in negative number to --max-time]
-------emv- OK (1038 out of 1250, remaining: 05:09, took 0.9s, duration: 25:13)
test 1411...[HTTP with zero size file PUT]
--pd---emv- OK (1039 out of 1250, remaining: 05:07, took 1.2s, duration: 25:14)
test 1412...[HTTP GET with --anyauth with two URLs (picking Digest) ]
--pd---emv- OK (1040 out of 1250, remaining: 05:06, took 1.3s, duration: 25:15)
test 1413...[HTTP redirect with fragment in new URL]
--pd---emv- OK (1041 out of 1250, remaining: 05:04, took 1.3s, duration: 25:17)
test 1414...[FTP PORT without SIZE or EPRT support]
--pd---emv- OK (1042 out of 1250, remaining: 05:03, took 1.2s, duration: 25:18)
test 1415...[Delete expired cookies]
--pd--oemv- OK (1043 out of 1250, remaining: 05:01, took 1.2s, duration: 25:19)
test 1416...[HTTP GET with chunked Transfer-Encoding overflowed chunked size]
--p----emv- OK (1044 out of 1250, remaining: 05:00, took 1.2s, duration: 25:20)
test 1417...[HTTP GET with chunked encoding and chunked trailer without CRs]
--pd--oemv- OK (1045 out of 1250, remaining: 04:58, took 1.2s, duration: 25:22)
test 1418...[HTTP with --anyauth and connection re-use]
--pd---emv- OK (1046 out of 1250, remaining: 04:57, took 1.3s, duration: 25:23)
test 1419...[HTTP with --anyauth (but no auth!) and connection re-use]
--pd---emv- OK (1047 out of 1250, remaining: 04:55, took 1.2s, duration: 25:24)
test 1420...[--libcurl for IMAP FETCH message]
--pd--oemv- OK (1048 out of 1250, remaining: 04:54, took 1.3s, duration: 25:25)
test 1421...[Re-using HTTP proxy connection for two different host names]
s-p----emv- OK (1049 out of 1250, remaining: 04:52, took 1.2s, duration: 25:27)
test 1422...[HTTP GET with -O -J and Content-Disposition (empty file)]
--p---oemv- OK (1050 out of 1250, remaining: 04:51, took 1.2s, duration: 25:28)
test 1423...[HTTP GET -o fname without Content-Disposition (empty file)]
--p---oemv- OK (1051 out of 1250, remaining: 04:49, took 1.2s, duration: 25:29)
test 1424...[HTTP GET -o fname without Content-Disposition (unmet time condition)]
--p---oemv- OK (1052 out of 1250, remaining: 04:48, took 1.2s, duration: 25:30)
test 1425...[Refuse binary output to terminal]
s-p----emv- OK (1053 out of 1250, remaining: 04:46, took 1.2s, duration: 25:31)
test 1426...[Okay binary output to terminal]
s-p----emv- OK (1054 out of 1250, remaining: 04:45, took 1.2s, duration: 25:33)
test 1427...[too large -m timeout value]
-------emv- OK (1055 out of 1250, remaining: 04:43, took 0.9s, duration: 25:33)
test 1428...[HTTP over proxy-tunnel with --proxy-header and --header]
--pd-P-emv- OK (1056 out of 1250, remaining: 04:42, took 1.7s, duration: 25:35)
test 1429...[HTTP GET with 4-digit response code]
s-p----emv- OK (1057 out of 1250, remaining: 04:40, took 1.2s, duration: 25:36)
test 1430...[HTTP GET with negative response code]
--pd---emv- OK (1058 out of 1250, remaining: 04:39, took 1.2s, duration: 25:38)
test 1431...[HTTP GET with single-digit response code]
--pd---emv- OK (1059 out of 1250, remaining: 04:37, took 1.2s, duration: 25:39)
test 1432...[HTTP GET with 100-digit response code and survive]
--p----emv- OK (1060 out of 1250, remaining: 04:36, took 1.2s, duration: 25:40)
test 1433...[HTTP GET with 100-digit subversion number in response]
--p----emv- OK (1061 out of 1250, remaining: 04:34, took 1.2s, duration: 25:41)
test 1434...[HTTP GET resume at exactly the existing file size is fine]
--pd---emv- OK (1062 out of 1250, remaining: 04:33, took 1.2s, duration: 25:42)
test 1435...[simple HTTP GET over Unix socket]
--pd---emv- OK (1063 out of 1250, remaining: 04:31, took 3.2s, duration: 25:45)
test 1436...[HTTP requests with multiple connections over Unix socket]
s-p----emv- OK (1064 out of 1250, remaining: 04:30, took 1.2s, duration: 25:47)
test 1437...[HTTP with duplicated WWW-Authenticate parameters]
--pd---emv- OK (1065 out of 1250, remaining: 04:28, took 1.3s, duration: 25:48)
test 1438...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1066 out of 1250, remaining: 04:27, took 1.2s, duration: 25:49)
test 1439...[Check if %{scheme} returns HTTP]
s-p----emv- OK (1067 out of 1250, remaining: 04:25, took 1.2s, duration: 25:50)
test 1440...[Check --write-out with trailing %{]
s------emv- OK (1068 out of 1250, remaining: 04:24, took 1.1s, duration: 25:51)
test 1441...[Check --write-out with trailing %]
s------emv- OK (1069 out of 1250, remaining: 04:22, took 1.1s, duration: 25:52)
test 1442...[Check --write-out with trailing \]
s------emv- OK (1070 out of 1250, remaining: 04:21, took 1.1s, duration: 25:54)
test 1443...[HTTP GET with -O and --remote-time]
--p---oemv- OK (1071 out of 1250, remaining: 04:19, took 1.2s, duration: 25:55)
test 1444...[FTP with --remote-time]
--pd---emv- OK (1072 out of 1250, remaining: 04:18, took 1.3s, duration: 25:56)
test 1445...[file:// with --remote-time]
-------emv- OK (1073 out of 1250, remaining: 04:16, took 1.1s, duration: 25:57)
test 1447...[Provide illegal proxy name ]
-------emv- OK (1075 out of 1250, remaining: 04:13, took 1.1s, duration: 25:58)
test 1448...[Redirect following to UTF-8 IDN host name]
s-p----emv- OK (1076 out of 1250, remaining: 04:12, took 1.2s, duration: 25:59)
test 1449...[FTP download range with integer overflow]
Killed
--p----emv- OK (1077 out of 1250, remaining: 04:10, took 1.2s, duration: 26:01)
test 1450...[Basic DICT lookup]
-------emv- OK (1078 out of 1250, remaining: 04:09, took 3.2s, duration: 26:04)
test 1451...[Basic SMB request]
-------emv- OK (1079 out of 1250, remaining: 04:08, took 3.2s, duration: 26:07)
test 1452...[Basic TELNET negotiation]
-------emv- OK (1080 out of 1250, remaining: 04:07, took 3.2s, duration: 26:10)
test 1453...[Too long tftp filename]
-------emv- OK (1081 out of 1250, remaining: 04:05, took 1.1s, duration: 26:11)
test 1454 SKIPPED: curl has ipv6 support
test 1455...[HTTP GET when PROXY Protocol enabled]
--p----emv- OK (1083 out of 1250, remaining: 04:02, took 1.2s, duration: 26:13)
test 1456...[HTTP-IPv6 GET with PROXY protocol]
--p----emv- OK (1084 out of 1250, remaining: 04:01, took 1.2s, duration: 26:14)
test 1457...[Check if %{stderr} and %{stdout} switch between stdout and stderr.]
srp----emv- OK (1085 out of 1250, remaining: 03:59, took 1.2s, duration: 26:15)
test 1458...[HTTP with wildcard --resolve]
--pd---emv- OK (1086 out of 1250, remaining: 03:58, took 1.2s, duration: 26:16)
test 1500...[curl_multi_wait]
---d---emv- OK (1087 out of 1250, remaining: 03:56, took 1.0s, duration: 26:17)
test 1501...[FTP with multi interface and slow LIST response ]
--p----emv- OK (1088 out of 1250, remaining: 03:55, took 5.1s, duration: 26:22)
test 1502...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UA]
--pd---emv- OK (1089 out of 1250, remaining: 03:54, took 1.0s, duration: 26:23)
test 1503...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PA]
--pd---emv- OK (1090 out of 1250, remaining: 03:52, took 1.0s, duration: 26:24)
test 1504...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence UB]
--pd---emv- OK (1091 out of 1250, remaining: 03:51, took 1.1s, duration: 26:25)
test 1505...[HTTP multi with CURLOPT_RESOLVE, cleanup sequence PB]
--pd---emv- OK (1092 out of 1250, remaining: 03:49, took 1.0s, duration: 26:26)
test 1506...[HTTP GET connection cache limit (CURLMOPT_MAXCONNECTS)]
--p---oemv- OK (1093 out of 1250, remaining: 03:48, took 1.1s, duration: 26:28)
test 1507...[SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK]
--p----emv- OK (1094 out of 1250, remaining: 03:46, took 1.0s, duration: 26:29)
test 1508...[Close a multi handle without using it]
------oemv- OK (1095 out of 1250, remaining: 03:45, took 0.9s, duration: 26:29)
test 1509...[simple multi http:// through proxytunnel with authentication info]
--pd-P-emv- OK (1096 out of 1250, remaining: 03:43, took 1.6s, duration: 26:31)
test 1511...[HTTP GET time conditions in repeated requests]
---d---emv- OK (1097 out of 1250, remaining: 03:42, took 1.1s, duration: 26:32)
test 1513...[return failure immediately from progress callback]
s------emv- OK (1098 out of 1250, remaining: 03:40, took 1.0s, duration: 26:33)
test 1514...[HTTP POST with read callback and unknown data size]
--p----emv- OK (1099 out of 1250, remaining: 03:39, took 2.1s, duration: 26:35)
test 1515...[caching of manual libcurl DNS entries after DNS cache timeout]
---d---emv- OK (1100 out of 1250, remaining: 03:38, took 3.1s, duration: 26:38)
test 1516...[caching of manual libcurl DNS entries after dead connection]
-------emv- OK (1101 out of 1250, remaining: 03:36, took 3.1s, duration: 26:41)
test 1517...[HTTP POST, server responds before completed send]
--pd---emv- OK (1102 out of 1250, remaining: 03:35, took 1.0s, duration: 26:42)
test 1518...[Extract Location: with broken URL]
s------emv- OK (1103 out of 1250, remaining: 03:33, took 1.0s, duration: 26:43)
test 1519...[Extract Location: with broken absolute URL]
s------emv- OK (1104 out of 1250, remaining: 03:32, took 1.1s, duration: 26:45)
test 1520...[SMTP with CRLF-dot-CRLF in data]
--p-u--emv- OK (1105 out of 1250, remaining: 03:30, took 1.1s, duration: 26:46)
test 1521...[Test all curl_easy_setopt and curl_easy_getinfo options]
-------emv- OK (1106 out of 1250, remaining: 03:29, took 1.1s, duration: 26:47)
test 1522...[CURLINFO_SIZE_UPLOAD with small SO_SNDBUF]
s------emv- OK (1107 out of 1250, remaining: 03:27, took 1.0s, duration: 26:48)
test 1523...[CURLINFO_LOW_SPEED_LIMIT]
-------emv- OK (1108 out of 1250, remaining: 03:27, took 11.1s, duration: 26:59)
test 1525...[CURLOPT_PROXYHEADER is ignored CURLHEADER_UNIFIED]
--pd-P-emv- OK (1109 out of 1250, remaining: 03:26, took 4.1s, duration: 27:03)
test 1526...[CURLOPT_PROXYHEADER: separate host/proxy headers]
--pd-P-emv- OK (1110 out of 1250, remaining: 03:25, took 2.1s, duration: 27:05)
test 1527...[Check same headers are generated with CURLOPT_HEADEROPT == CURLHEADER_UNIFIED]
--pd-P-emv- OK (1111 out of 1250, remaining: 03:23, took 2.1s, duration: 27:07)
test 1528...[Separately specified proxy/server headers sent in a proxy GET]
---d-P-emv- OK (1112 out of 1250, remaining: 03:22, took 1.1s, duration: 27:08)
test 1529...[HTTP request-injection in URL sent over proxy]
-------emv- OK (1113 out of 1250, remaining: 03:20, took 0.9s, duration: 27:09)
test 1530...[CURLOPT_OPENSOCKETFUNCTION returns bad socket]
-------emv- OK (1114 out of 1250, remaining: 03:19, took 1.0s, duration: 27:10)
test 1531...[CURLOPT_POSTFIELDS with binary data set after multi_add_handle]
--p----emv- OK (1115 out of 1250, remaining: 03:17, took 1.1s, duration: 27:11)
test 1532...[Test CURLINFO_RESPONSE_CODE]
--p----emv- OK (1116 out of 1250, remaining: 03:16, took 1.0s, duration: 27:12)
test 1533...[HTTP with CURLOPT_KEEP_SENDING_ON_ERROR and an early error response]
--p----emv- OK (1117 out of 1250, remaining: 03:14, took 1.1s, duration: 27:13)
test 1534...[CURLINFO_FILETIME init and reset]
--p----emv- OK (1118 out of 1250, remaining: 03:13, took 1.0s, duration: 27:14)
test 1535...[Test CURLINFO_RESPONSE_CODE CURLINFO_PROTOCOL]
--p----emv- OK (1119 out of 1250, remaining: 03:11, took 1.0s, duration: 27:15)
test 1536...[Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME]
--p----emv- OK (1120 out of 1250, remaining: 03:10, took 1.0s, duration: 27:17)
test 1537...[libcurl URL escape/unescape tests]
s------emv- OK (1121 out of 1250, remaining: 03:08, took 0.8s, duration: 27:17)
test 1538...[libcurl strerror API call tests]
s------emv- OK (1122 out of 1250, remaining: 03:06, took 0.8s, duration: 27:18)
test 1540...[chunked with trailers and pausing the receive]
--pd---emv- OK (1123 out of 1250, remaining: 03:05, took 1.0s, duration: 27:19)
test 1541...[connection sharing using 67 parallel threads for 7 seconds]
-------emv- OK (1124 out of 1250, remaining: 03:03, took 0.8s, duration: 27:20)
test 1550...[verify setting pipeling blacklisting options]
-------emv- OK (1125 out of 1250, remaining: 03:02, took 0.9s, duration: 27:21)
test 1551...[re-run redirected transfer without setting URL again]
--pd---emv- OK (1126 out of 1250, remaining: 03:00, took 1.1s, duration: 27:22)
test 1552...[IMAP multi transfer error without curl_multi_remove_handle]
-------emv- OK (1127 out of 1250, remaining: 02:59, took 1.1s, duration: 27:23)
test 1553...[IMAP cleanup before a connection was created]
-------emv- OK (1128 out of 1250, remaining: 02:57, took 1.0s, duration: 27:24)
test 1554...[HTTP with shared connection cache]
---d---emv- OK (1129 out of 1250, remaining: 02:56, took 1.1s, duration: 27:25)
test 1555...[verify api is protected against calls from callbacks]
s------emv- OK (1130 out of 1250, remaining: 02:54, took 1.0s, duration: 27:26)
test 1556...[send long HTTP headers to header callback]
s-p----emv- OK (1131 out of 1250, remaining: 02:53, took 1.0s, duration: 27:27)
test 1557...[Removing easy handle that's in the pending connections list doesn't leave behind a dangling entry]
-------emv- OK (1132 out of 1250, remaining: 02:51, took 1.0s, duration: 27:28)
test 1558...[CURLINFO_PROTOCOL for file:// transfer]
s------emv- OK (1133 out of 1250, remaining: 02:50, took 1.0s, duration: 27:29)
test 1559...[Set excessive URL lengths]
s------emv- OK (1134 out of 1250, remaining: 02:48, took 1.1s, duration: 27:30)
test 1560...[URL API]
s------emv- OK (1135 out of 1250, remaining: 02:47, took 1.1s, duration: 27:31)
test 1561...[Cookies set over HTTP can't override secure ones]
goto problem 33
valgrind ERROR ==24690== Invalid read of size 8
==24690== at 0x53315A5: check_free (dlerror.c:188)
==24690== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24690== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24690== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24690== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24690== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24690== by 0x4D60EB9: exit (exit.c:139)
==24690== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24690== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
==24690== Invalid free() / delete / delete[] / realloc()
==24690== at 0x48369AB: free (vg_replace_malloc.c:540)
==24690== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24690== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24690== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24690== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24690== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24690== by 0x4D60EB9: exit (exit.c:139)
==24690== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24690== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
==24690== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
== Contents of files in the log/ dir after test 1561
=== Start of file curl1561.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: super=secret; domain=example.com; path=/1561; secure;
Set-Cookie: supersuper=secret; domain=example.com; path=/1561/login/; secure;
Set-Cookie: __Secure-SID=12345; Domain=example.com
Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure; Domain=example.com
Set-Cookie: __Host-SID=22345
Set-Cookie: __Host-SID=22346; Secure
Set-Cookie: __Host-SID=22347; Domain=example.com
Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/
Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
Set-Cookie: __Host-SID=12346; Secure; Path=/
Content-Length: 7
nomnom
=== End of file curl1561.out
=== Start of file http_server.log
03:19:05.234755 ====> Client connect
03:19:05.234794 accept_connection 3 returned 4
03:19:05.234810 accept_connection 3 returned 0
03:19:05.234934 Read 96 bytes
03:19:05.234944 Process 96 bytes request
03:19:05.234956 Got request: GET /verifiedserver HTTP/1.1
03:19:05.234974 Are-we-friendly question received
03:19:05.234996 Wrote request (96 bytes) input to log/server.input
03:19:05.235016 Identifying ourselves as friends
03:19:05.235079 Response sent (56 bytes) and written to log/server.response
03:19:05.235102 special request received, no persistency
03:19:05.235114 ====> Client disconnect 0
03:19:09.285553 ====> Client connect
03:19:09.285574 accept_connection 3 returned 4
03:19:09.285588 accept_connection 3 returned 0
03:19:09.374450 Read 91 bytes
03:19:09.374490 Process 91 bytes request
03:19:09.374507 Got request: GET /15610001 HTTP/1.1
03:19:09.374518 Requested test number 1561 part 1
03:19:09.374545 - request found to be complete
03:19:09.374572 Wrote request (91 bytes) input to log/server.input
03:19:09.374595 Send response test1561 section <data1>
03:19:09.374748 Response sent (722 bytes) and written to log/server.response
03:19:09.374759 => persistent connection request ended, awaits new request
03:19:09.501148 ====> Client connect
03:19:09.501187 accept_connection 3 returned 5
03:19:09.501206 accept_connection 3 returned 0
03:19:09.505241 Read 91 bytes
03:19:09.505282 Process 91 bytes request
03:19:09.505299 Got request: GET /15610002 HTTP/1.1
03:19:09.505309 Requested test number 1561 part 2
03:19:09.505338 - request found to be complete
03:19:09.505351 Wrote request (91 bytes) input to log/server.input
03:19:09.505363 Send response test1561 section <data2>
03:19:09.505496 Response sent (966 bytes) and written to log/server.response
03:19:09.505506 => persistent connection request ended, awaits new request
03:19:09.537706 Connection closed by client
03:19:09.537736 ====> Client disconnect 0
03:19:09.604708 Connection closed by client
03:19:09.604746 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file https_stunnel.log
2019.08.13 03:19:04 LOG5[24685]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:19:04 LOG5[24685]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:19:04 LOG5[24685]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:19:04 LOG5[24685]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:19:04 LOG5[24685]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:19:04 LOG5[24685]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 03:19:04 LOG5[24685]: FIPS mode disabled
2019.08.13 03:19:04 LOG5[24685]: Configuration successful
2019.08.13 03:19:05 LOG5[24688]: Service [curltest] accepted connection from 127.0.0.1:35508
2019.08.13 03:19:05 LOG5[24688]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:19:05 LOG5[24688]: Service [curltest] connected remote server from 127.0.0.1:39802
2019.08.13 03:19:05 LOG5[24688]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 03:19:07 LOG5[24691]: Service [curltest] accepted connection from 127.0.0.1:35512
2019.08.13 03:19:09 LOG5[24691]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:19:09 LOG5[24691]: Service [curltest] connected remote server from 127.0.0.1:39806
2019.08.13 03:19:09 LOG5[24691]: 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 0x56002c3ed7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x56002c3ed7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56002c3ed7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x56002c3ed7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1173 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* start date: Aug 31 23:39:18 2018 GMT
* expire date: Aug 28 23:39:18 2028 GMT
* issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x56002c3ed7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x56002c3ed7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x56002c3ed7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x56002c3ed7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x56002c3ed7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 24589
=== 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: 24589
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 269 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:19:07.187685 == Info: STATE: INIT => CONNECT handle 0x56c7c78; line 1362 (connection #-5000)
03:19:07.244226 == Info: Added connection 0. The cache now contains 1 members
03:19:07.262337 == Info: Trying 127.0.0.1:8991...
03:19:07.262986 == Info: TCP_NODELAY set
03:19:07.268105 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c7c78; line 1418 (connection #0)
03:19:07.279673 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:07.280243 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c7c78; line 1538 (connection #0)
03:19:07.281324 == Info: Marked for [keep alive]: HTTP default
03:19:07.333985 == Info: ALPN, offering h2
03:19:07.334278 == Info: ALPN, offering http/1.1
03:19:08.766449 == Info: successfully set certificate verify locations:
03:19:08.766709 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:08.879803 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:08.884821 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:08.884887 => Send SSL data, 148 bytes (0x94)
0000: ......)..|. a....^.....?..{>.t.~.H:.......+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:08.901854 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:08.907247 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:08.907305 <= Recv SSL data, 89 bytes (0x59)
0000: ...U...v3}..G.9<oW..\.[..w.E..J....... ...5:..\. 4_hp..U.HR(nk..
0040: o..f..../................
03:19:08.950952 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:08.951408 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:08.951462 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:19:09.052268 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:09.052533 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:09.052591 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....t.[7F]t ..r...~....o&.q...W*3..%.....*2..7M..nO...D..7.
0040: ...............6N..y_3l.g.~...R..g4G...~.....y..Ah.5.%-....I.oU.
0080: .C,..G$_.q...,..R2...S..[7F]L.....R.&S.W..>.%..0..m.[7F].j.....?'..fY\
00c0: ..-hb. ..p..-...t8[..\.g.....I.H....5I`...z..[7F]..q...@....K.g....
0100: .F.........z.I..l..q<.bI.i....h..-.....G.=.[7F].........A...}...M..
0140: [7F]-.......s.H.
03:19:09.121797 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:09.122138 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:09.122193 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:09.237871 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:09.238116 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:09.238170 => Send SSL data, 70 bytes (0x46)
0000: ...BA.Y....B.Z.c..'.....g..Nh@.Yr....9.ti.q".g{.b..F...4..d.qm..
0040: O[7F].c..
03:19:09.250079 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:09.250659 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:09.250715 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:09.272129 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:09.272188 => Send SSL data, 16 bytes (0x10)
0000: .....:Q...9..XJe
03:19:09.284678 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:09.287217 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:09.288316 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:09.288374 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:09.290820 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:09.296518 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:09.296574 <= Recv SSL data, 16 bytes (0x10)
0000: .....l]...`.?...
03:19:09.325686 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:09.326369 == Info: ALPN, server did not agree to a protocol
03:19:09.329233 == Info: Server certificate:
03:19:09.337479 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:09.343898 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:09.344963 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:09.345927 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:09.346835 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:09.348400 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c7c78; line 1556 (connection #0)
03:19:09.372762 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:09.375645 => Send header, 91 bytes (0x5b)
0000: GET /15610001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:09.378596 == Info: STATE: DO => DO_DONE handle 0x56c7c78; line 1627 (connection #0)
03:19:09.379062 == Info: STATE: DO_DONE => PERFORM handle 0x56c7c78; line 1749 (connection #0)
03:19:09.383494 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:09.396420 == Info: Mark bundle as not supporting multiuse
03:19:09.397015 == Info: HTTP 1.1 or later with persistent connection
03:19:09.399707 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:09.403425 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:09.403650 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:09.411009 <= Recv SSL data, 5 bytes (0x5)
0000: ....0
03:19:09.432454 == Info: Added cookie super="secret" for domain example.com, path /1561, expire 0
03:19:09.432855 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; secure
0040: ;.
03:19:09.434048 == Info: Added cookie supersuper="secret" for domain example.com, path /1561/login/, expire 0
03:19:09.434197 <= Recv header, 78 bytes (0x4e)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/; secure;.
03:19:09.436842 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=12345; Domain=example.com.
03:19:09.437497 == Info: Added cookie __Secure-SID="12346" for domain example.com, path /, expire 0
03:19:09.437553 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=12346; Secure; Domain=example.com.
03:19:09.438562 == Info: Added cookie supersupersuper="secret" for domain example.com, path /, expire 0
03:19:09.438619 <= Recv header, 83 bytes (0x53)
0000: Set-Cookie: supersupersuper=secret; __Secure-SID=12346; Secure;
0040: Domain=example.com.
03:19:09.439692 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:09.441497 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=22345.
03:19:09.442558 == Info: Added cookie __Host-SID="22346" for domain www.example.com, path /, expire 0
03:19:09.442616 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=22346; Secure.
03:19:09.443407 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=22347; Domain=example.com.
03:19:09.444305 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=22348; Domain=example.com; Path=/.
03:19:09.444726 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:19:09.445573 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=22349; Secure; Domain=example.com; Path=/
0040: .
03:19:09.448286 == Info: Replaced cookie __Host-SID="12346" for domain www.example.com, path /, expire 0
03:19:09.448393 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=12346; Secure; Path=/.
03:19:09.448773 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:09.449827 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:09.452305 <= Recv header, 1 bytes (0x1)
0000: .
03:19:09.452947 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:09.456553 == Info: STATE: PERFORM => DONE handle 0x56c7c78; line 1939 (connection #0)
03:19:09.456892 == Info: multi_done
03:19:09.465876 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:09.496543 == Info: STATE: INIT => CONNECT handle 0x5722998; line 1362 (connection #-5000)
03:19:09.500298 == Info: Added connection 1. The cache now contains 2 members
03:19:09.500938 == Info: Trying 127.0.0.1:8990...
03:19:09.501013 == Info: TCP_NODELAY set
03:19:09.501176 == Info: STATE: CONNECT => WAITCONNECT handle 0x5722998; line 1418 (connection #1)
03:19:09.502598 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8990 (#1)
03:19:09.502734 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x5722998; line 1538 (connection #1)
03:19:09.502819 == Info: Marked for [keep alive]: HTTP default
03:19:09.503032 == Info: STATE: SENDPROTOCONNECT => DO handle 0x5722998; line 1556 (connection #1)
03:19:09.505571 => Send header, 91 bytes (0x5b)
0000: GET /15610002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:09.506085 == Info: STATE: DO => DO_DONE handle 0x5722998; line 1627 (connection #1)
03:19:09.506182 == Info: STATE: DO_DONE => PERFORM handle 0x5722998; line 1749 (connection #1)
03:19:09.507238 == Info: Mark bundle as not supporting multiuse
03:19:09.507305 == Info: HTTP 1.1 or later with persistent connection
03:19:09.507370 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:09.507534 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:09.507750 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:09.509255 <= Recv header, 68 bytes (0x44)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561; httpon
0040: ly;.
03:19:09.510271 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: super=secret; domain=example.com; path=/1561/; httpo
0040: nly;.
03:19:09.511477 == Info: Replaced cookie super="secret" for domain example.com, path /15, expire 0
03:19:09.511534 <= Recv header, 66 bytes (0x42)
0000: Set-Cookie: super=secret; domain=example.com; path=/15; httponly
0040: ;.
03:19:09.512313 == Info: Added cookie public="yes" for domain example.com, path /foo, expire 0
03:19:09.512368 <= Recv header, 55 bytes (0x37)
0000: Set-Cookie: public=yes; domain=example.com; path=/foo;.
03:19:09.513448 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin/en;.
03:19:09.514495 <= Recv header, 69 bytes (0x45)
0000: Set-Cookie: supersuper=secret; domain=example.com; path=/1561/lo
0040: gin;.
03:19:09.516246 <= Recv header, 72 bytes (0x48)
0000: Set-Cookie: secureoverhttp=yes; domain=example.com; path=/1561;
0040: secure;.
03:19:09.517159 <= Recv header, 51 bytes (0x33)
0000: Set-Cookie: __Secure-SID=22345; Domain=example.com.
03:19:09.517818 <= Recv header, 59 bytes (0x3b)
0000: Set-Cookie: __Secure-SID=22346; Secure; Domain=example.com.
03:19:09.518608 <= Recv header, 29 bytes (0x1d)
0000: Set-Cookie: __Host-SID=32345.
03:19:09.519226 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: __Host-SID=32346; Secure.
03:19:09.520008 <= Recv header, 49 bytes (0x31)
0000: Set-Cookie: __Host-SID=32347; Domain=example.com.
03:19:09.520889 <= Recv header, 57 bytes (0x39)
0000: Set-Cookie: __Host-SID=32348; Domain=example.com; Path=/.
03:19:09.521618 <= Recv header, 65 bytes (0x41)
0000: Set-Cookie: __Host-SID=32349; Secure; Domain=example.com; Path=/
0040: .
03:19:09.522356 <= Recv header, 45 bytes (0x2d)
0000: Set-Cookie: __Host-SID=32350; Secure; Path=/.
03:19:09.522600 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:09.522753 <= Recv header, 1 bytes (0x1)
0000: .
03:19:09.522827 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:09.523222 == Info: STATE: PERFORM => DONE handle 0x5722998; line 1939 (connection #1)
03:19:09.523285 == Info: multi_done
03:19:09.524052 == Info: Connection #1 to host 127.0.0.1 left intact
03:19:09.525240 == Info: Expire cleared (transfer 0x5722998)
=== End of file trace1561
=== Start of file valgrind1561
==24690== Invalid read of size 8
==24690== at 0x53315A5: check_free (dlerror.c:188)
==24690== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24690== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24690== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24690== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24690== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24690== by 0x4D60EB9: exit (exit.c:139)
==24690== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24690== Address 0x5b529b0 is 0 bytes after a block of size 32 alloc'd
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
==24690== Invalid free() / delete / delete[] / realloc()
==24690== at 0x48369AB: free (vg_replace_malloc.c:540)
==24690== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24690== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24690== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24690== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24690== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24690== by 0x4D60EB9: exit (exit.c:139)
==24690== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24690== Address 0x5b52998 is 8 bytes inside a block of size 32 alloc'd
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
==24690== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24690== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24690== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24690== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24690== by 0x24B104: err_get_state (err.c:210)
==24690== by 0x24BCDA: ERR_put_error (err.c:636)
==24690== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24690== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24690== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24690== by 0x270326: by_file_ctrl (by_file.c:111)
==24690== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24690== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24690== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24690== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24690== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24690== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24690== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24690==
=== End of file valgrind1561
test 1562...[Expire secure cookies over HTTPS]
goto problem 34
valgrind ERROR ==24694== Invalid read of size 8
==24694== at 0x53315A5: check_free (dlerror.c:188)
==24694== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24694== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24694== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24694== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24694== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24694== by 0x4D60EB9: exit (exit.c:139)
==24694== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24694== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
==24694== Invalid free() / delete / delete[] / realloc()
==24694== at 0x48369AB: free (vg_replace_malloc.c:540)
==24694== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24694== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24694== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24694== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24694== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24694== by 0x4D60EB9: exit (exit.c:139)
==24694== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24694== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
==24694== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
== Contents of files in the log/ dir after test 1562
=== Start of file curl1562.out
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file curl1562.out
=== Start of file http_server.log
03:19:12.740922 ====> Client connect
03:19:12.740960 accept_connection 3 returned 4
03:19:12.740975 accept_connection 3 returned 0
03:19:12.828865 Read 91 bytes
03:19:12.828899 Process 91 bytes request
03:19:12.828913 Got request: GET /15620001 HTTP/1.1
03:19:12.828923 Requested test number 1562 part 1
03:19:12.828949 - request found to be complete
03:19:12.828977 Wrote request (91 bytes) input to log/server.input
03:19:12.829003 Send response test1562 section <data1>
03:19:12.829080 Response sent (140 bytes) and written to log/server.response
03:19:12.829091 => persistent connection request ended, awaits new request
03:19:12.943358 Read 108 bytes
03:19:12.943390 Process 108 bytes request
03:19:12.943405 Got request: GET /15620002 HTTP/1.1
03:19:12.943415 Requested test number 1562 part 2
03:19:12.943444 - request found to be complete
03:19:12.943458 Wrote request (108 bytes) input to log/server.input
03:19:12.943471 Send response test1562 section <data2>
03:19:12.943545 Response sent (178 bytes) and written to log/server.response
03:19:12.943556 => persistent connection request ended, awaits new request
03:19:12.966279 Read 91 bytes
03:19:12.966310 Process 91 bytes request
03:19:12.966324 Got request: GET /15620001 HTTP/1.1
03:19:12.966333 Requested test number 1562 part 1
03:19:12.966361 - request found to be complete
03:19:12.966376 Wrote request (91 bytes) input to log/server.input
03:19:12.966389 Send response test1562 section <data1>
03:19:12.966449 Response sent (140 bytes) and written to log/server.response
03:19:12.966459 => persistent connection request ended, awaits new request
03:19:12.982777 Connection closed by client
03:19:12.982808 ====> 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 241 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 636 0 --:--:-- --:--:-- --:--:-- 875
=== End of file stderr1562
=== Start of file stdout1562
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Content-Length: 7
nomnom
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Set-Cookie: foo=123; path=/; secure;
Content-Length: 7
nomnom
=== End of file stdout1562
=== Start of file trace1562
03:19:10.618914 == Info: STATE: INIT => CONNECT handle 0x56c73b8; line 1362 (connection #-5000)
03:19:10.673734 == Info: Added connection 0. The cache now contains 1 members
03:19:10.691458 == Info: Trying 127.0.0.1:8991...
03:19:10.692079 == Info: TCP_NODELAY set
03:19:10.697171 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c73b8; line 1418 (connection #0)
03:19:10.708780 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:10.709339 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c73b8; line 1538 (connection #0)
03:19:10.710416 == Info: Marked for [keep alive]: HTTP default
03:19:10.760791 == Info: ALPN, offering h2
03:19:10.761072 == Info: ALPN, offering http/1.1
03:19:12.209682 == Info: successfully set certificate verify locations:
03:19:12.209944 == Info: CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
03:19:12.325834 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:12.330930 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:19:12.330992 => Send SSL data, 148 bytes (0x94)
0000: ......[7F]..._S....^..jT..>...L..+..?..i.....+./.,.0...............
0040: ../.5.....I..................................h2.http/1.1........
0080: ................3t..
03:19:12.348613 <= Recv SSL data, 5 bytes (0x5)
0000: ....Y
03:19:12.354104 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:19:12.354165 <= Recv SSL data, 89 bytes (0x59)
0000: ...U..+.?...#..xD..p[7F]-..Q..d......h<.. .q...>jW}.]X`..b.......D.
0040: .n....../................
03:19:12.397924 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:12.398411 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:19:12.398476 <= Recv SSL data, 1173 bytes (0x495)
0000: ..........0...0..o...............g0...*.H........0r1.0...U....SE
0040: 1.0...U....Solna1.0...U....Mooo1.0...U....Haxx1.0...U....Coolx1.
0080: 0...U....storbror1.0...U....localhost0...180831233918Z..28082823
00c0: 3918Z0r1.0...U....SE1.0...U....Solna1.0...U....Mooo1.0...U....Ha
0100: xx1.0...U....Coolx1.0...U....storbror1.0...U....localhost0.."0..
0140: .*.H.............0.........o...7.^...~..we.U...E.:.1...?>.M3....
0180: .F...Sl.......2....\bAF.,.)._*[j+&d.....P....b.'...Q...m[7F]T.)....
01c0: W!.q...6...L.P.....z..g.,...~....F".mp...........#a.L.q[7.....=.
0200: ...F:S^R.3..m..../..R.%..;i.KZ...(eht..H..._<.CL.z..6|P#5....XU.
0240: j.....4{..0....Kf....hy............0...0...U....0...localhost0..
0280: .`.H...B.......@03..`.H...B...&.$CURL stunnel server test certif
02c0: icate0...U........0...U.%..0...+.......0...U....0.0...U......]..
0300: Z.m1...MGP......706..+........*0(0&..+.....0...https://localhost
0340: :8433/50906..+........*0(0&..+.....0...https://localhost:8433/50
0380: 90...*.H.............c&r..h..0`N...7>..kCn..gI....#.uF....a!..k.
03c0: ....[......#&..9......O` .+J..N=....%.V......W..&.F..I~t.w.TR0.o
0400: X5.c........*.\....X[7F].PP........|.)...o?...!?./.<(.t.C..F.K..uP[
0440: ..u...,mkj..7_.R..j...v.;;P...P...T../..n..d...$zZ...y.(...E.*..
0480: ..j.+...!m8.R`^P.%.Oi
03:19:12.501265 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:19:12.501646 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:19:12.501741 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A....t.[7F]t ..r...~....o&.q...W*3..%.....*2..7M..nO...D..7.
0040: ................4..Dx*..\.....8..../%.=9....N.eb&k..1....U..1G*.
0080: ..5..<..[....t....Z.......`.P.....x....FIsffD.oW...39....E.,...O
00c0: ..1.jp.6+...L`wS..+[7.yl.....Ef:LJ..1.cLlV...@..../`B..E....o<A.
0100: ...5PFi.,...;.G....g..<g..nM..$...%..."..a...o.........(.m.....Y
0140: ...'o...P.{..
03:19:12.572039 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:12.572388 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:19:12.572449 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:19:12.691321 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:19:12.691572 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:19:12.691633 => Send SSL data, 70 bytes (0x46)
0000: ...BA..T_.i..Q..U.sL[.~......{gB.....B...7...<.!>"1.B.L;..l*.S.{
0040: ...=..
03:19:12.704321 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:12.704913 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:19:12.704969 => Send SSL data, 1 bytes (0x1)
0000: .
03:19:12.727190 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:19:12.727256 => Send SSL data, 16 bytes (0x10)
0000: ....O....S..].`.
03:19:12.740053 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:19:12.742583 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:12.743678 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:19:12.743735 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:19:12.746204 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:19:12.752150 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:19:12.752208 <= Recv SSL data, 16 bytes (0x10)
0000: .......:[7F]..:Oh..
03:19:12.780914 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:19:12.781592 == Info: ALPN, server did not agree to a protocol
03:19:12.784291 == Info: Server certificate:
03:19:12.791907 == Info: subject: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:12.798127 == Info: start date: Aug 31 23:39:18 2018 GMT
03:19:12.799096 == Info: expire date: Aug 28 23:39:18 2028 GMT
03:19:12.800040 == Info: issuer: C=SE; ST=Solna; L=Mooo; O=Haxx; OU=Coolx; CN=storbror; CN=localhost
03:19:12.800906 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
03:19:12.802405 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c73b8; line 1556 (connection #0)
03:19:12.827201 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:12.830113 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:12.833048 == Info: STATE: DO => DO_DONE handle 0x56c73b8; line 1627 (connection #0)
03:19:12.833521 == Info: STATE: DO_DONE => PERFORM handle 0x56c73b8; line 1749 (connection #0)
03:19:12.837964 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:12.847078 == Info: Mark bundle as not supporting multiuse
03:19:12.847675 == Info: HTTP 1.1 or later with persistent connection
03:19:12.850420 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:12.862056 <= Recv SSL data, 5 bytes (0x5)
0000: ....h
03:19:12.862342 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:12.862575 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:12.863497 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:19:12.877526 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:12.877927 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:12.879044 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:12.881568 <= Recv header, 1 bytes (0x1)
0000: .
03:19:12.882214 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:12.885827 == Info: STATE: PERFORM => DONE handle 0x56c73b8; line 1939 (connection #0)
03:19:12.886155 == Info: multi_done
03:19:12.895232 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:12.921346 == Info: STATE: INIT => CONNECT handle 0x5722138; line 1362 (connection #-5000)
03:19:12.925445 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:12.925770 == Info: Can not multiplex, even if we wanted to
03:19:12.934142 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:12.934962 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:12.935170 == Info: STATE: CONNECT => DO handle 0x5722138; line 1411 (connection #0)
03:19:12.943182 => Send SSL data, 5 bytes (0x5)
0000: .....
03:19:12.943328 => Send header, 108 bytes (0x6c)
0000: GET /15620002 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059: Cookie: foo=123
006a:
03:19:12.943885 == Info: STATE: DO => DO_DONE handle 0x5722138; line 1627 (connection #0)
03:19:12.943972 == Info: STATE: DO_DONE => PERFORM handle 0x5722138; line 1749 (connection #0)
03:19:12.944151 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:12.944334 == Info: Mark bundle as not supporting multiuse
03:19:12.944397 == Info: HTTP 1.1 or later with persistent connection
03:19:12.944459 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:12.944766 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:19:12.944923 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:12.945144 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:12.945446 <= Recv SSL data, 5 bytes (0x5)
0000: ....@
03:19:12.949283 == Info: Replaced cookie foo="" for domain www.example.com, path /, expire 1
03:19:12.949391 <= Recv header, 75 bytes (0x4b)
0000: Set-Cookie: foo=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age
0040: =0; Path=/.
03:19:12.949894 <= Recv SSL data, 5 bytes (0x5)
0000: ....*
03:19:12.950041 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:12.950194 <= Recv header, 1 bytes (0x1)
0000: .
03:19:12.950269 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:12.950662 == Info: STATE: PERFORM => DONE handle 0x5722138; line 1939 (connection #0)
03:19:12.950727 == Info: multi_done
03:19:12.951570 == Info: Connection #0 to host 127.0.0.1 left intact
03:19:12.959726 == Info: STATE: INIT => CONNECT handle 0x577c118; line 1362 (connection #-5000)
03:19:12.961736 == Info: Found bundle for host 127.0.0.1: 0x5807108 [serially]
03:19:12.961803 == Info: Can not multiplex, even if we wanted to
03:19:12.962796 == Info: Re-using existing connection! (#0) with host 127.0.0.1
03:19:12.962976 == Info: Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
03:19:12.963058 == Info: STATE: CONNECT => DO handle 0x577c118; line 1411 (connection #0)
03:19:12.966063 => Send SSL data, 5 bytes (0x5)
0000: ....s
03:19:12.966248 => Send header, 91 bytes (0x5b)
0000: GET /15620001 HTTP/1.1
0018: Host: www.example.com
002f: User-Agent: curl/7.66.0-DEV
004c: Accept: */*
0059:
03:19:12.966951 == Info: STATE: DO => DO_DONE handle 0x577c118; line 1627 (connection #0)
03:19:12.967089 == Info: STATE: DO_DONE => PERFORM handle 0x577c118; line 1749 (connection #0)
03:19:12.967344 <= Recv SSL data, 5 bytes (0x5)
0000: ....,
03:19:12.967598 == Info: Mark bundle as not supporting multiuse
03:19:12.967689 == Info: HTTP 1.1 or later with persistent connection
03:19:12.967789 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:19:12.968214 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:19:12.968764 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:19:12.969090 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:19:12.969964 == Info: Added cookie foo="123" for domain www.example.com, path /, expire 0
03:19:12.970050 <= Recv header, 37 bytes (0x25)
0000: Set-Cookie: foo=123; path=/; secure;.
03:19:12.970379 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:19:12.970536 <= Recv header, 1 bytes (0x1)
0000: .
03:19:12.970619 <= Recv data, 7 bytes (0x7)
0000: nomnom.
03:19:12.970794 == Info: STATE: PERFORM => DONE handle 0x577c118; line 1939 (connection #0)
03:19:12.970863 == Info: multi_done
03:19:12.971677 == Info: Connection #0 to host 127.0.0.1 left intact
=== End of file trace1562
=== Start of file valgrind1562
==24694== Invalid read of size 8
==24694== at 0x53315A5: check_free (dlerror.c:188)
==24694== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24694== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24694== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24694== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24694== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24694== by 0x4D60EB9: exit (exit.c:139)
==24694== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24694== Address 0x5bad0b0 is 0 bytes after a block of size 32 alloc'd
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
==24694== Invalid free() / delete / delete[] / realloc()
==24694== at 0x48369AB: free (vg_replace_malloc.c:540)
==24694== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24694== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24694== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24694== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24694== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24694== by 0x4D60EB9: exit (exit.c:139)
==24694== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24694== Address 0x5bad098 is 8 bytes inside a block of size 32 alloc'd
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
==24694== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24694== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24694== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24694== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24694== by 0x24B104: err_get_state (err.c:210)
==24694== by 0x24BCDA: ERR_put_error (err.c:636)
==24694== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24694== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24694== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24694== by 0x270326: by_file_ctrl (by_file.c:111)
==24694== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24694== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24694== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24694== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24694== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24694== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24694== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24694==
=== End of file valgrind1562
test 1563...[Make sure redirects to CURLPROTO_GOPHER are forbidden by default]
--p----emv- OK (1138 out of 1250, remaining: 02:43, took 1.2s, duration: 27:42)
test 1590...[IMAP cleanup before a connection was created]
-------emv- OK (1139 out of 1250, remaining: 02:42, took 1.1s, duration: 27:43)
test 1591 SKIPPED: curl lacks HTTP support
test 1592...[HTTP request, remove handle while resolving, don't block]
valgrind SKIPPED
-------em-- OK (1141 out of 1250, remaining: 02:38, took 0.0s, duration: 27:43)
test 1593...[HTTP custom header overrides CURLOPT_TIMECONDITION]
--p----emv- OK (1142 out of 1250, remaining: 02:37, took 1.0s, duration: 27:44)
test 1594...[HTTP Retry-After header parsing and extraction]
s-p----emv- OK (1143 out of 1250, remaining: 02:35, took 1.1s, duration: 27:45)
Warning: test1595 not present in tests/data/Makefile.inc
test 1595...[HTTP Retry-After header extraction (without header)]
s-p----emv- OK (1144 out of 1250, remaining: 02:34, took 1.1s, duration: 27:46)
Warning: test1596 not present in tests/data/Makefile.inc
test 1596...[HTTP Retry-After header parsing using a date]
s-p----emv- OK (1145 out of 1250, remaining: 02:32, took 1.1s, duration: 27:47)
test 1600...[NTLM unit tests]
-------emv- OK (1146 out of 1250, remaining: 02:31, took 0.9s, duration: 27:48)
test 1601...[MD5 unit tests]
-------emv- OK (1147 out of 1250, remaining: 02:29, took 0.8s, duration: 27:49)
test 1602...[Internal hash create/add/destroy testing, exercising clean functions]
-------emv- OK (1148 out of 1250, remaining: 02:28, took 0.8s, duration: 27:49)
test 1603...[Internal hash add, retrieval, deletion testing]
-------emv- OK (1149 out of 1250, remaining: 02:26, took 0.8s, duration: 27:50)
test 1604...[Test WIN32/MSDOS filename sanitization]
-------emv- OK (1150 out of 1250, remaining: 02:25, took 0.8s, duration: 27:51)
test 1605...[Test negative data lengths as input to libcurl functions]
-------emv- OK (1151 out of 1250, remaining: 02:23, took 0.9s, duration: 27:52)
test 1606...[verify speedcheck]
-------emv- OK (1152 out of 1250, remaining: 02:22, took 0.9s, duration: 27:53)
test 1607...[CURLOPT_RESOLVE parsing]
-------emv- OK (1153 out of 1250, remaining: 02:20, took 1.0s, duration: 27:54)
test 1608...[verify DNS shuffling]
-------emv- OK (1154 out of 1250, remaining: 02:19, took 0.9s, duration: 27:55)
test 1609...[CURLOPT_RESOLVE parsing]
-------emv- OK (1155 out of 1250, remaining: 02:17, took 0.9s, duration: 27:56)
test 1620...[unit tests for url.c]
-------emv- OK (1156 out of 1250, remaining: 02:16, took 0.9s, duration: 27:56)
test 1621...[unit tests for stripcredentials from URL]
-------emv- OK (1157 out of 1250, remaining: 02:14, took 0.8s, duration: 27:57)
test 1650...[DOH]
-------emv- OK (1158 out of 1250, remaining: 02:13, took 0.8s, duration: 27:58)
test 1651...[x509 parsing]
-------emv- OK (1159 out of 1250, remaining: 02:11, took 0.8s, duration: 27:59)
test 1652...[infof]
-------emv- OK (1160 out of 1250, remaining: 02:10, took 0.9s, duration: 28:00)
test 1653...[urlapi]
-------emv- OK (1161 out of 1250, remaining: 02:08, took 0.8s, duration: 28:01)
test 1654 SKIPPED: curl lacks alt-svc support
RUN: failed to start the HTTP/2 server
test 1700 SKIPPED: failed starting HTTP/2 server
test 1701 SKIPPED: failed starting HTTP/2 server
test 1702 SKIPPED: failed starting HTTP/2 server
test 1800...[HTTP/2 upgrade refused]
--pd---emv- OK (1166 out of 1250, remaining: 02:01, took 1.2s, duration: 28:07)
test 1904...[HTTP CONNECT with 204 response]
--pd-P-emv- OK (1167 out of 1250, remaining: 02:00, took 1.7s, duration: 28:09)
test 1905...[CURLOPT_COOKIELIST set to "FLUSH" of a shared cookie object]
--p---oemv- OK (1168 out of 1250, remaining: 01:58, took 1.1s, duration: 28:10)
test 1906...[CURLOPT_CURLU and CURLOPT_PORT]
--p----emv- OK (1169 out of 1250, remaining: 01:57, took 1.1s, duration: 28:11)
test 2000...[FTP RETR followed by FILE]
s-p----emv- OK (1170 out of 1250, remaining: 01:55, took 1.3s, duration: 28:12)
test 2001...[HTTP GET followed by FTP RETR followed by FILE]
s-p----emv- OK (1171 out of 1250, remaining: 01:54, took 1.3s, duration: 28:13)
test 2002...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ]
s-p----emv- OK (1172 out of 1250, remaining: 01:52, took 1.4s, duration: 28:15)
test 2003...[HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order]
s-p----emv- OK (1173 out of 1250, remaining: 01:51, took 1.5s, duration: 28:16)
test 2005 SKIPPED: curl lacks Metalink support
test 2006 SKIPPED: curl lacks Metalink support
test 2007 SKIPPED: curl lacks Metalink support
test 2023...[HTTP authorization retry (Basic)]
--pd---emv- OK (1193 out of 1250, remaining: 01:21, took 1.1s, duration: 28:17)
test 2024...[HTTP authorization retry (Basic switching to Digest)]
--pd---emv- OK (1194 out of 1250, remaining: 01:19, took 1.1s, duration: 28:18)
test 2025...[HTTP authorization retry (Basic switching to NTLM)]
--pd---emv- OK (1195 out of 1250, remaining: 01:18, took 1.2s, duration: 28:20)
test 2026...[HTTP authorization retry (Digest switching to Basic)]
--pd---emv- OK (1196 out of 1250, remaining: 01:16, took 1.2s, duration: 28:21)
test 2027...[HTTP authorization retry (Digest)]
--pd---emv- OK (1197 out of 1250, remaining: 01:15, took 1.2s, duration: 28:22)
test 2028...[HTTP authorization retry (Digest switching to NTLM)]
--pd---emv- OK (1198 out of 1250, remaining: 01:13, took 1.2s, duration: 28:23)
test 2029...[HTTP authorization retry (NTLM switching to Basic)]
--pd---emv- OK (1199 out of 1250, remaining: 01:12, took 1.2s, duration: 28:24)
test 2030...[HTTP authorization retry (NTLM switching to Digest)]
--pd---emv- OK (1200 out of 1250, remaining: 01:11, took 1.2s, duration: 28:26)
test 2031...[HTTP authorization retry (NTLM)]
--pd---emv- OK (1201 out of 1250, remaining: 01:09, took 1.2s, duration: 28:27)
test 2032...[NTLM connection mapping]
--pd---emv- OK (1202 out of 1250, remaining: 01:08, took 1.2s, duration: 28:28)
test 2034...[simple HTTPS GET with DER public key pinning]
goto problem 35
valgrind ERROR ==24896== Invalid read of size 8
==24896== at 0x53315A5: check_free (dlerror.c:188)
==24896== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24896== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24896== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24896== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24896== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24896== by 0x4D60EB9: exit (exit.c:139)
==24896== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24896== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
==24896== Invalid free() / delete / delete[] / realloc()
==24896== at 0x48369AB: free (vg_replace_malloc.c:540)
==24896== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24896== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24896== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24896== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24896== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24896== by 0x4D60EB9: exit (exit.c:139)
==24896== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24896== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
==24896== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
== 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:20:00.730372 signalled to die
03:20:00.730491 ========> IPv4 sws (port 8990 pid: 24589) exits with signal (15)
03:20:05.752385 Running HTTP IPv4 version on port 8990
03:20:05.752629 Wrote pid 24883 to .http_server.pid
03:20:06.750638 ====> Client connect
03:20:06.750691 accept_connection 3 returned 4
03:20:06.750735 accept_connection 3 returned 0
03:20:06.750828 Read 96 bytes
03:20:06.750870 Process 96 bytes request
03:20:06.750917 Got request: GET /verifiedserver HTTP/1.1
03:20:06.750952 Are-we-friendly question received
03:20:06.751011 Wrote request (96 bytes) input to log/server.input
03:20:06.751056 Identifying ourselves as friends
03:20:06.751194 Response sent (56 bytes) and written to log/server.response
03:20:06.751213 special request received, no persistency
03:20:06.751227 ====> Client disconnect 0
03:20:08.797492 ====> Client connect
03:20:08.797520 accept_connection 3 returned 4
03:20:08.797537 accept_connection 3 returned 0
03:20:08.797673 Read 96 bytes
03:20:08.797701 Process 96 bytes request
03:20:08.797726 Got request: GET /verifiedserver HTTP/1.1
03:20:08.797743 Are-we-friendly question received
03:20:08.797766 Wrote request (96 bytes) input to log/server.input
03:20:08.797793 Identifying ourselves as friends
03:20:08.797881 Response sent (56 bytes) and written to log/server.response
03:20:08.797902 special request received, no persistency
03:20:08.797917 ====> Client disconnect 0
03:20:11.578345 ====> Client connect
03:20:11.578372 accept_connection 3 returned 4
03:20:11.578391 accept_connection 3 returned 0
03:20:11.672246 Read 86 bytes
03:20:11.672275 Process 86 bytes request
03:20:11.672288 Got request: GET /2034 HTTP/1.1
03:20:11.672299 Requested test number 2034 part 0
03:20:11.672329 - request found to be complete
03:20:11.672356 Wrote request (86 bytes) input to log/server.input
03:20:11.672376 Send response test2034 section <data>
03:20:11.672437 Response sent (103 bytes) and written to log/server.response
03:20:11.672447 => persistent connection request ended, awaits new request
03:20:11.746884 Connection closed by client
03:20:11.746917 ====> Client disconnect 0
=== End of file http_server.log
=== Start of file http_verify.log
* STATE: INIT => CONNECT handle 0x55b52b7537c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8990...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55b52b7537c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8990 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55b52b7537c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* STATE: SENDPROTOCONNECT => DO handle 0x55b52b7537c8; line 1556 (connection #0)
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8990
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55b52b7537c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55b52b7537c8; line 1749 (connection #0)
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [1 bytes data]
* STATE: PERFORM => DONE handle 0x55b52b7537c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55b52b7537c8)
=== End of file http_verify.log
=== Start of file http_verify.out
WE ROOLZ: 24883
=== End of file http_verify.out
=== Start of file https_stunnel.log
2019.08.13 03:20:07 LOG5[24889]: stunnel 5.01 on x86_64-pc-linux-gnu platform
2019.08.13 03:20:07 LOG5[24889]: Compiled with OpenSSL 1.0.1g 7 Apr 2014
2019.08.13 03:20:07 LOG5[24889]: Running with OpenSSL 1.0.2d 9 Jul 2015
2019.08.13 03:20:07 LOG5[24889]: Update OpenSSL shared libraries or rebuild stunnel
2019.08.13 03:20:07 LOG5[24889]: Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP
2019.08.13 03:20:07 LOG5[24889]: Reading configuration from file /build-17378/tests/https_stunnel.conf
2019.08.13 03:20:07 LOG5[24889]: FIPS mode disabled
2019.08.13 03:20:07 LOG5[24889]: Configuration successful
2019.08.13 03:20:08 LOG5[24892]: Service [curltest] accepted connection from 127.0.0.1:35634
2019.08.13 03:20:08 LOG5[24892]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:20:08 LOG5[24892]: Service [curltest] connected remote server from 127.0.0.1:39928
2019.08.13 03:20:08 LOG5[24892]: Connection closed: 56 byte(s) sent to SSL, 96 byte(s) sent to socket
2019.08.13 03:20:10 LOG5[24899]: Service [curltest] accepted connection from 127.0.0.1:35640
2019.08.13 03:20:11 LOG5[24899]: s_connect: connected 127.0.0.1:8990
2019.08.13 03:20:11 LOG5[24899]: Service [curltest] connected remote server from 127.0.0.1:39934
2019.08.13 03:20:11 LOG5[24899]: 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 0x55df7de8b7c8; line 1362 (connection #-5000)
* Added connection 0. The cache now contains 1 members
* Trying 127.0.0.1:8991...
* TCP_NODELAY set
* STATE: CONNECT => WAITCONNECT handle 0x55df7de8b7c8; line 1418 (connection #0)
* Connected to 127.0.0.1 (127.0.0.1) port 8991 (#0)
* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x55df7de8b7c8; line 1538 (connection #0)
* Marked for [keep alive]: HTTP default
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [148 bytes data]
* STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x55df7de8b7c8; line 1553 (connection #0)
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [977 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
* start date: Sep 19 07:13:14 2018 GMT
* expire date: Dec 6 07:13:14 2026 GMT
* issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
* STATE: PROTOCONNECT => DO handle 0x55df7de8b7c8; line 1572 (connection #0)
} [5 bytes data]
> GET /verifiedserver HTTP/1.1
> Host: 127.0.0.1:8991
> User-Agent: curl/7.66.0-DEV
> Accept: */*
>
* STATE: DO => DO_DONE handle 0x55df7de8b7c8; line 1627 (connection #0)
* STATE: DO_DONE => PERFORM handle 0x55df7de8b7c8; line 1749 (connection #0)
{ [5 bytes data]
* Mark bundle as not supporting multiuse
* HTTP 1.1 or later with persistent connection
< HTTP/1.1 200 OK
< Content-Length: 17
<
{ [17 bytes data]
* STATE: PERFORM => DONE handle 0x55df7de8b7c8; line 1939 (connection #0)
* multi_done
* Connection #0 to host 127.0.0.1 left intact
* Expire cleared (transfer 0x55df7de8b7c8)
=== End of file https_verify.log
=== Start of file https_verify.out
WE ROOLZ: 24883
=== 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: 24883
HTTP/1.1 200 OK
Content-Length: 17
WE ROOLZ: 24883
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 7
MooMoo
=== End of file server.response
=== Start of file stderr2034
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7 100 7 0 0 7 0 0:00:01 --:--:-- 0:00:01 8
=== End of file stderr2034
=== Start of file trace2034
03:20:10.745037 == Info: STATE: INIT => CONNECT handle 0x56c5c98; line 1362 (connection #-5000)
03:20:10.800219 == Info: Added connection 0. The cache now contains 1 members
03:20:10.855595 == Info: Trying ::1:8991...
03:20:10.856278 == Info: TCP_NODELAY set
03:20:10.861315 == Info: STATE: CONNECT => WAITCONNECT handle 0x56c5c98; line 1418 (connection #0)
03:20:10.875983 == Info: connect to ::1 port 8991 failed: Connection refused
03:20:10.878120 == Info: Trying 127.0.0.1:8991...
03:20:10.878183 == Info: TCP_NODELAY set
03:20:10.886429 == Info: Connected to localhost (127.0.0.1) port 8991 (#0)
03:20:10.886948 == Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x56c5c98; line 1538 (connection #0)
03:20:10.887988 == Info: Marked for [keep alive]: HTTP default
03:20:10.939263 == Info: ALPN, offering h2
03:20:10.939550 == Info: ALPN, offering http/1.1
03:20:11.030807 == Info: successfully set certificate verify locations:
03:20:11.031088 == Info: CAfile: /tests/certs/EdelCurlRoot-ca.crt
CApath: none
03:20:11.152156 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:11.157243 == Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
03:20:11.157316 => Send SSL data, 166 bytes (0xa6)
0000: ......Z(....v....V....L..O......o/5..a....+./.,.0...............
0040: ../.5.....[.........localhost..................................h
0080: 2.http/1.1........................3t..
03:20:11.174844 <= Recv SSL data, 5 bytes (0x5)
0000: ....]
03:20:11.180361 == Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
03:20:11.180420 <= Recv SSL data, 93 bytes (0x5d)
0000: ...Y...=q[7F]......P....>w..\.);-.:.../.U .}jN..1.-..Zm..B.BY.Ly.^O
0040: ^.^.1.../....................
03:20:11.225646 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:11.226090 == Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
03:20:11.226145 <= Recv SSL data, 977 bytes (0x3d1)
0000: ..........0...0............f..S0...*.H........0h1.0...U....NN110
0040: /..U...(Edel Curl Arctic Illudium Research Cloud1&0$..U....North
0080: ern Nowhere Trust Anchor0...180919071314Z..261206071314Z0T1.0...
00c0: U....NN110/..U...(Edel Curl Arctic Illudium Research Cloud1.0...
0100: U....localhost0.."0...*.H.............0..........0P.p.3[7F]...^Z...
0140: ."..:A.v....$."yG&Mj.A.1. ._:./O.\#.g...X.G.v.S...#.....G.`.....
0180: .......FTB.+.5.j.F..G.w..H.\.....=). ...`'b.s....-<...>.....P...
01c0: .2.-.a.....)?I..J.u0.b..k.MqD@9....sA.....].)v.k...,C^...P.-.m..
0200: ....F.;.....T..&,O.`..!9.D(...y..D. ..eT.'Vg..'........0..0...U.
0240: ...0...localhost0...U........0...U.%..0...+.......0...U.......6.
0280: S...dG.S..i......0...U.#..0......KF..u.,..T...e.{.0...U....0.0..
02c0: .*.H.............*....Ic/....C......k.@+..X.$W..Q..".}W........x
0300: Y4#.h......ve..$..C..+..K.i....TS.%.]."........;o<..s_..l;A.;..h
0340: ......(.8#.......g......-v.zUw1I-@z.?..P..:...u6P)\&.EC.%x.....9
0380: ppFwH.dz.W_M...W......&.KT-.*..o..J.L.....Z'..l.U,cP.6.....h ~..
03c0: |....h[7F]O>.....4..
03:20:11.400639 <= Recv SSL data, 5 bytes (0x5)
0000: ....M
03:20:11.400911 == Info: TLSv1.2 (IN), TLS handshake, Server key exchange (12):
03:20:11.400969 <= Recv SSL data, 333 bytes (0x14d)
0000: ...I...A.f;I&[7F]T...S>..u_...e.U..L!.."+....k0...[.uW..O._g)[.....
0040: 7......9y.....X.....|g.C.[7F]Q.........z1.mF.9...Y..s..#O/....Y...)
0080: Md.oZ...B-..vKh.=6.$].|Q..@.o.q..q.jS...m.m...*.!..s..h....Hk..h
00c0: :.Rg..b0.B@:.h[.PpX.= j.N..~....!..Bl.....#..l.S.d3..lW../.6>.=.
0100: .z....>[7F]7.....X......F.......]...V.XI.i...f._.)rd.N).//.......}.
0140: .JVE.$I5:s.*.
03:20:11.415629 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:11.415946 == Info: TLSv1.2 (IN), TLS handshake, Server finished (14):
03:20:11.416001 <= Recv SSL data, 4 bytes (0x4)
0000: ....
03:20:11.530852 => Send SSL data, 5 bytes (0x5)
0000: ....F
03:20:11.531102 == Info: TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
03:20:11.531159 => Send SSL data, 70 bytes (0x46)
0000: ...BA....Deb.....(}..$,L...P+.$;%..2.]+.h.}k.....4......6/y...0$
0040: ..>.ja
03:20:11.543044 => Send SSL data, 5 bytes (0x5)
0000: .....
03:20:11.543626 == Info: TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
03:20:11.543686 => Send SSL data, 1 bytes (0x1)
0000: .
03:20:11.564951 == Info: TLSv1.2 (OUT), TLS handshake, Finished (20):
03:20:11.565009 => Send SSL data, 16 bytes (0x10)
0000: ....."Z.o..X...J
03:20:11.577468 => Send SSL data, 5 bytes (0x5)
0000: ....(
03:20:11.580208 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:11.581291 == Info: TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
03:20:11.581347 <= Recv SSL data, 1 bytes (0x1)
0000: .
03:20:11.583764 <= Recv SSL data, 5 bytes (0x5)
0000: ....(
03:20:11.589421 == Info: TLSv1.2 (IN), TLS handshake, Finished (20):
03:20:11.589476 <= Recv SSL data, 16 bytes (0x10)
0000: ....Q...r..a....
03:20:11.618858 == Info: SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
03:20:11.619528 == Info: ALPN, server did not agree to a protocol
03:20:11.622131 == Info: Server certificate:
03:20:11.630187 == Info: subject: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=localhost
03:20:11.634931 == Info: start date: Sep 19 07:13:14 2018 GMT
03:20:11.636302 == Info: expire date: Dec 6 07:13:14 2026 GMT
03:20:11.639308 == Info: subjectAltName: host "localhost" matched cert's "localhost"
03:20:11.641608 == Info: issuer: C=NN; O=Edel Curl Arctic Illudium Research Cloud; CN=Northern Nowhere Trust Anchor
03:20:11.642283 == Info: SSL certificate verify ok.
03:20:11.649683 == Info: STATE: SENDPROTOCONNECT => DO handle 0x56c5c98; line 1556 (connection #0)
03:20:11.670566 => Send SSL data, 5 bytes (0x5)
0000: ....n
03:20:11.673461 => Send header, 86 bytes (0x56)
0000: GET /2034 HTTP/1.1
0014: Host: localhost:8991
002a: User-Agent: curl/7.66.0-DEV
0047: Accept: */*
0054:
03:20:11.676376 == Info: STATE: DO => DO_DONE handle 0x56c5c98; line 1627 (connection #0)
03:20:11.676842 == Info: STATE: DO_DONE => PERFORM handle 0x56c5c98; line 1749 (connection #0)
03:20:11.681253 <= Recv SSL data, 5 bytes (0x5)
0000: ....|
03:20:11.690679 == Info: Mark bundle as not supporting multiuse
03:20:11.691266 == Info: HTTP 1.1 or later with persistent connection
03:20:11.693985 <= Recv header, 16 bytes (0x10)
0000: HTTP/1.1 200 OK.
03:20:11.697676 <= Recv header, 36 bytes (0x24)
0000: Date: Thu, 09 Nov 2010 14:49:00 GMT.
03:20:11.697910 <= Recv header, 25 bytes (0x19)
0000: Server: test-server/fake.
03:20:11.699054 <= Recv header, 18 bytes (0x12)
0000: Content-Length: 7.
03:20:11.701494 <= Recv header, 1 bytes (0x1)
0000: .
03:20:11.702312 <= Recv data, 4 bytes (0x4)
0000: MooM
03:20:11.707873 <= Recv SSL data, 5 bytes (0x5)
0000: .....
03:20:11.708045 <= Recv data, 3 bytes (0x3)
0000: oo.
03:20:11.709467 == Info: STATE: PERFORM => DONE handle 0x56c5c98; line 1939 (connection #0)
03:20:11.709793 == Info: multi_done
03:20:11.718815 == Info: Connection #0 to host localhost left intact
03:20:11.720650 == Info: Expire cleared (transfer 0x56c5c98)
=== End of file trace2034
=== Start of file valgrind2034
==24896== Invalid read of size 8
==24896== at 0x53315A5: check_free (dlerror.c:188)
==24896== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24896== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24896== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24896== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24896== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24896== by 0x4D60EB9: exit (exit.c:139)
==24896== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24896== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
==24896== Invalid free() / delete / delete[] / realloc()
==24896== at 0x48369AB: free (vg_replace_malloc.c:540)
==24896== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24896== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24896== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24896== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24896== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24896== by 0x4D60EB9: exit (exit.c:139)
==24896== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24896== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
==24896== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24896== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24896== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24896== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24896== by 0x24B104: err_get_state (err.c:210)
==24896== by 0x24BCDA: ERR_put_error (err.c:636)
==24896== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24896== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24896== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24896== by 0x270326: by_file_ctrl (by_file.c:111)
==24896== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24896== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24896== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24896== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24896== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24896== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24896== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24896==
=== End of file valgrind2034
test 2035...[HTTPS wrong DER pinnedpubkey but right CN]
goto problem 36
valgrind ERROR ==24904== Invalid read of size 8
==24904== at 0x53315A5: check_free (dlerror.c:188)
==24904== by 0x5331AB1: free_key_mem (dlerror.c:221)
==24904== by 0x5331AB1: __dlerror_main_freeres (dlerror.c:239)
==24904== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24904== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24904== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24904== by 0x4D60EB9: exit (exit.c:139)
==24904== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24904== Address 0x57644c0 is 0 bytes after a block of size 32 alloc'd
==24904== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24904== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24904== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24904== by 0x24B104: err_get_state (err.c:210)
==24904== by 0x24BCDA: ERR_put_error (err.c:636)
==24904== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24904== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24904== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24904== by 0x270326: by_file_ctrl (by_file.c:111)
==24904== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24904== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24904== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24904== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24904== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24904== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24904== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24904==
==24904== Invalid free() / delete / delete[] / realloc()
==24904== at 0x48369AB: free (vg_replace_malloc.c:540)
==24904== by 0x5331AB9: free_key_mem (dlerror.c:223)
==24904== by 0x5331AB9: __dlerror_main_freeres (dlerror.c:239)
==24904== by 0x4E8FB71: __libc_freeres (in /lib/x86_64-linux-gnu/libc-2.28.so)
==24904== by 0x482D19E: _vgnU_freeres (vg_preloaded.c:77)
==24904== by 0x4D60E89: __run_exit_handlers (exit.c:132)
==24904== by 0x4D60EB9: exit (exit.c:139)
==24904== by 0x4D4B0A1: (below main) (libc-start.c:342)
==24904== Address 0x57644a8 is 8 bytes inside a block of size 32 alloc'd
==24904== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24904== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24904== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24904== by 0x24B104: err_get_state (err.c:210)
==24904== by 0x24BCDA: ERR_put_error (err.c:636)
==24904== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24904== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24904== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24904== by 0x270326: by_file_ctrl (by_file.c:111)
==24904== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24904== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24904== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24904== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24904== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24904== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24904== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24904==
==24904== 744 (32 direct, 712 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
==24904== at 0x483577F: malloc (vg_replace_malloc.c:309)
==24904== by 0x25C282: OPENSSL_malloc (mem.c:106)
==24904== by 0x26EF2E: CRYPTO_set_thread_local (thread_pthread.c:182)
==24904== by 0x24B104: err_get_state (err.c:210)
==24904== by 0x24BCDA: ERR_put_error (err.c:636)
==24904== by 0x26097A: PEM_read_bio (pem_lib.c:622)
==24904== by 0x32E227: PEM_X509_INFO_read_bio (pem_info.c:166)
==24904== by 0x270844: X509_load_cert_crl_file (by_file.c:255)
==24904== by 0x270326: by_file_ctrl (by_file.c:111)
==24904== by 0x273EE0: X509_LOOKUP_ctrl (x509_lu.c:123)
==24904== by 0x2733C1: X509_STORE_load_locations (x509_d2.c:91)
==24904== by 0x1F7345: SSL_CTX_load_verify_locations (ssl_x509.cc:698)
==24904== by 0x1C80F8: ossl_connect_step1 (openssl.c:2599)
==24904== by 0x1CAB0D: ossl_connect_common (openssl.c:3549)
==24904== by 0x1CAD89: Curl_ossl_connect_nonblocking (openssl.c:3635)
==24904== by 0x17F62A: Curl_ssl_connect_nonblocking (vtls.c:275)
==24904==
== Contents of files in the log/ dir after test 2035
=== Start of file http_server.log
03:20:13.645874 ====> Client c