-
Notifications
You must be signed in to change notification settings - Fork 8k
[ext-curl] Add \CURLOPT_INFILESIZE_LARGE
#17637
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
Conversation
1637686
to
8678ead
Compare
\CURLOPT_INIFILESIZE_LARGE
8678ead
to
bbad36c
Compare
Two other things: 1/ you very likely edited |
done, thanks |
The existence of two distinct options |
I cannot answer this question, but maybe @nicolas-grekas can, but in the linked PR, we need to behave differently yes |
I'm seeing just now that we already expose other |
\CURLOPT_INIFILESIZE_LARGE
\CURLOPT_INFILESIZE_LARGE
FWIW: The title of the PR typoed the name of the constant, the same issue also exists in the commit message, so probably be careful when merging this. |
Hi @TimWolla can you explain? I can't see the typo |
he meant this Add \CURLOPT_IN I FILESIZE_LARGE you can amend this commit at some point, or the committer will take care of it no worries :) |
Will do |
I don't think a test actually sending data using |
e9ed9d9
to
26ec878
Compare
Please someone take over this PR if needed, I am not into C language and don't know how to test this @cmb69. Thanks |
Hi @OskarStark, The changes from the PR looks good to me. We can't merge this right now, because by the time you submitted the PR and now, the I have a PR against my Otherwise, I will come back to this in a few days and fix conflicts and merge this. Thank you. |
This is my first PR on this repository and is based on: * https://github.com/symfony/symfony/pull/59654/files#r1935358570 So feel free to close it :-)
26ec878
to
fa32c75
Compare
I rebased and regenerated the stubs. I would be grateful if you could add the tests while merging, thanks |
Spot-on :)
I added a test with Caddy to print the incoming |
941a007
to
340166e
Compare
340166e
to
ab88ea3
Compare
ab88ea3
to
b629a73
Compare
Many thanks for the support on this PR 🎉 |
Thank you. We have quite a few Curl options missing in ext-curl. You can see them by running |
Good to know, thanks. Right now I would say only add them when needed. WDYT @nicolas-grekas ? |
This is my first PR on this repository and is based on:
See https://github.com/curl/curl/blob/b13e9066b3dfd65ba8aadc336232ae7832ac687a/include/curl/curl.h#L1541
So feel free to close it :-)