41a53b15 | 13-Apr-2023 |
Daniel Stenberg |
ftp: remove dead code This condition can never be true here since it is handled already 28 lines above. Pointed out by PVS. Ref: #10929 Closes #10957 |
aabfa603 | 13-Apr-2023 |
Daniel Stenberg |
cf-h1-proxy: skip an extra NULL assign and use Curl_safefree() once to save another NULL assign. Found by PVS. Ref. #10929 Closes #10953 |
314dc407 | 13-Apr-2023 |
Philip Heiduck |
GHA: suppress git clone output Follow-up: https://github.com/curl/curl/commit/8203aa6ed405ec832d2c62f18dfda293f89a23f9 Closes #10949 |
f67d6a68 | 13-Apr-2023 |
Stefan Eissing |
cf-socket: remove dead code discovered by PVS Closes #10960 |
8b8d7acc | 13-Apr-2023 |
Daniel Stenberg |
http: skip a double NULL assign and also use a local variable to shorten the long names and increase readability in the function. Pointed out by PVS. Ref: #10929 Closes #109
http: skip a double NULL assign and also use a local variable to shorten the long names and increase readability in the function. Pointed out by PVS. Ref: #10929 Closes #10950
show more ...
|
51b615a3 | 13-Apr-2023 |
Daniel Stenberg |
mime: skip NULL assigns after Curl_safefree() Pointed out by PVS. Ref: #10929 Closes #10947 |
aa3ee0a1 | 13-Apr-2023 |
Daniel Stenberg |
rtsp: skip NULL assigns after Curl_safefree() ... since this is a macro that assigns NULL itself. Pointed out by PVS. Ref: #10929 Closes #10946 |
d5004550 | 13-Apr-2023 |
Daniel Stenberg |
smb: remove double assign The same value is assigned the same value already a few lines above. Pointed out by PVS. Ref: #10929 Closes #10945 |
19c36f5c | 13-Apr-2023 |
Daniel Stenberg |
transfer: skip extra assign The 'result' variable already contains CURLE_OK at this point, no use in setting it again. Pointed out by PVS. Ref: #10929 Closes #10944 |
3f1d89ed | 13-Apr-2023 |
Daniel Stenberg |
urlapi: skip a pointless assign It stores a null byte after already having confirmed there is a null byte there. Detected by PVS. Ref: #10929 Closes #10943 |
8203aa6e | 12-Apr-2023 |
Philip Heiduck |
GHA: suppress git clone output Closes #10939 |
5126cbda | 30-Mar-2023 |
Stefan Eissing |
tests: make test_12_01 a bit more forgiving on connection counts |
24726a43 | 30-Mar-2023 |
Stefan Eissing |
cf-socket: add socket recv buffering for most tcp cases - use bufq as recv buffer, also for Windows pre-receive handling - catch small reads followed by larger ones in a single socket
cf-socket: add socket recv buffering for most tcp cases - use bufq as recv buffer, also for Windows pre-receive handling - catch small reads followed by larger ones in a single socket call. A common pattern on TLS connections. Closes #10787
show more ...
|
4cfa5bcc | 11-Apr-2023 |
Daniel Stenberg |
urlapi: cleanups - move host checks together - simplify the scheme parser loop and the end of host name parser - avoid itermediate buffer storing in multiple places - reduce scop
urlapi: cleanups - move host checks together - simplify the scheme parser loop and the end of host name parser - avoid itermediate buffer storing in multiple places - reduce scope for several variables - skip the Curl_dyn_tail() call for speed - detect IPv6 earlier and skip extra checks for such hosts - normalize directly in dynbuf instead of itermediate buffer - split out the IPv6 parser into its own funciton - call the IPv6 parser directly for ipv6 addresses - remove (unused) special treatment of % in host names - junkscan() once in the beginning instead of scattered - make junkscan return error code - remove unused query management from dedotdotify() - make Curl_parse_login_details use memchr - more use of memchr() instead of strchr() and less strlen() calls - make junkscan check and return the URL length An optimized build runs one of my benchmark URL parsing programs ~41% faster using this branch. (compared against the shipped 7.88.1 library in Debian) Closes #10935
show more ...
|
233b4e45 | 12-Apr-2023 |
Josh McCullough |
http2: fix typo in infof() call Closes #10940 |
ca05e1af | 11-Apr-2023 |
Daniel Stenberg |
noproxy: pointer to local array 'hostip' is stored outside scope Ref: #10929 Closes #10933 |
dd813040 | 11-Apr-2023 |
Stefan Eissing |
connect: fix https connection setup to treat ssl_mode correctly - for HTTPS protocol, a disabled ssl should never be acceptables. Closes #10934 |
fb08dd9c | 12-Apr-2023 |
Douglas R. Reno |
CMakeLists.txt: fix typo for Haiku detection Closes #10937 |
8e75c4f9 | 11-Apr-2023 |
Dan Fandrich |
pathhelp: use the cached $use_cygpath when available |
def8dc80 | 10-Apr-2023 |
Dan Fandrich |
runtests: eliminate unneeded variable |
a3605d6a | 09-Apr-2023 |
Dan Fandrich |
runtests: make the # of server start attempts a constant |
44256902 | 09-Apr-2023 |
Dan Fandrich |
runtests: on startup failure call displaylogs only in serverfortest This reduces the number of calls spread throughout the code. Ref: #10818 Closes #10919 |
f82a38e0 | 09-Apr-2023 |
Dan Fandrich |
runtests: return an error code with startservers() The code indicates the kind of failure encountered in starting a server, which can be used by the caller to tailor the user experience.
runtests: return an error code with startservers() The code indicates the kind of failure encountered in starting a server, which can be used by the caller to tailor the user experience. Ref: #10818
show more ...
|
19b062a4 | 08-Apr-2023 |
Dan Fandrich |
runtests: abort early if runpingpongserver is given a bad server type |
f2562701 | 01-Apr-2023 |
Dan Fandrich |
runtests: don't use the SMB server verification time as reference %FTPTIME2 and %FTPTIME3 should be set by the FTP server only, for consistency. |