Reference in New Issue
Block a user
Delete Branch "fix/bugs-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes
Issue #194: TCP client only accepts IPv4 addresses, not hostnames
Problem: only parses dotted-decimal IPv4 addresses, so hostnames like fail.
Fix: Replaced with in both (transport_tcp.c) and (transport_tls.c). The new code:
Also changed struct from to to support both IPv4 and IPv6 addresses.
Issue #193: --progress output missing in multithreaded mode
Problem: The progress callback () was only called in single-threaded mode (). In multithreaded mode (), progress was not reported.
Fix:
Files changed
src/shared/transport_tcp.h- sockaddr_storage, tcp_get_contimeout_secsrc/shared/transport_tcp.c- getaddrinfo, deferred socket creationsrc/shared/transport_tls.c- getaddrinfo for TLS connectionssrc/shared/transport_ssh.c- ss_family instead of sin_familysrc/shared/multiprocessing.h- progress fieldssrc/shared/multiprocessing.c- init/destroy progress fieldssrc/client/client_send.c- progress thread, sender progress trackingtests/test_transport_tcp.c- updated for new Client init behaviorPull request closed