Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated CURLPIPE_HTTP1 support flag #517

Merged
merged 1 commit into from Jun 15, 2019
Merged

remove deprecated CURLPIPE_HTTP1 support flag #517

merged 1 commit into from Jun 15, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jun 14, 2019

cref #515

@ https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html

	HTTP/1 Pipelining support was disabled in 7.62.0. 

here

	lsb_release -rd
		Description:    openSUSE Leap 15.1
		Release:        15.1

	curl -V
		curl 7.65.1 (x86_64-suse-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.0i-fips zlib/1.2.11 libidn2/2.2.0 
		...

manually

	src/CurlDownloader.php

-	        curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_HTTP1 | CURLPIPE_MULTIPLEX*/ 3);
+	        curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_MULTIPLEX*/ 2);

now, check

	composer --version
		Composer version 1.8.6 2019-06-11 15:03:05

@fabpot
Copy link
Member

fabpot commented Jun 15, 2019

Thank you @hal869.

@fabpot fabpot merged commit 0fd8e9a into symfony:master Jun 15, 2019
fabpot added a commit that referenced this pull request Jun 15, 2019
This PR was merged into the 1.2-dev branch.

Discussion
----------

remove deprecated CURLPIPE_HTTP1 support flag

cref #515

@ https://curl.haxx.se/libcurl/c/CURLMOPT_PIPELINING.html
```
	HTTP/1 Pipelining support was disabled in 7.62.0.
```

here
```
	lsb_release -rd
		Description:    openSUSE Leap 15.1
		Release:        15.1

	curl -V
		curl 7.65.1 (x86_64-suse-linux-gnu) libcurl/7.65.1 OpenSSL/1.1.0i-fips zlib/1.2.11 libidn2/2.2.0
		...
```

manually
```
	src/CurlDownloader.php

-	        curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_HTTP1 | CURLPIPE_MULTIPLEX*/ 3);
+	        curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_MULTIPLEX*/ 2);
```

now, check
```
	composer --version
		Composer version 1.8.6 2019-06-11 15:03:05
```

Commits
-------

0fd8e9a remove deprecated CURLPIPE_HTTP1 support flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants