]> granicus.if.org Git - curl/commit
urldata: simplify bytecounters
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Feb 2019 10:36:26 +0000 (11:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Mar 2019 16:30:34 +0000 (17:30 +0100)
commit65eb65fde64bd5faff6d6a7740f9436336e290e0
tree8470a15feed5069a8c17c17137fc54800d58418a
parent8cf6c170cf310626f8008c25df71f43f2a9061a6
urldata: simplify bytecounters

- no need to have them protocol specific

- no need to set pointers to them with the Curl_setup_transfer() call

- make Curl_setup_transfer() operate on a transfer pointer, not
  connection

- switch some counters from long to the more proper curl_off_t type

Closes #3627
22 files changed:
lib/curl_rtmp.c
lib/dict.c
lib/ftp.c
lib/ftp.h
lib/getinfo.c
lib/gopher.c
lib/http.c
lib/http.h
lib/imap.c
lib/ldap.c
lib/openldap.c
lib/pop3.c
lib/rtsp.c
lib/smtp.c
lib/ssh-libssh.c
lib/ssh.c
lib/telnet.c
lib/tftp.c
lib/transfer.c
lib/transfer.h
lib/url.c
lib/urldata.h