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

RequestServer: Use libcurl for HTTP and HTTPS downloads #1400

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

awesomekling
Copy link
Member

This replaces the use of our home-grown implementations inherited from SerenityOS.

This replaces the use of our home-grown implementations inherited
from SerenityOS.
This is not relevant anymore when we use CURL.
To prevent deadlocks when both IPC peers are trying to send to each
other but both sides have too much in their buffer already, we now
move the send operation to a secondary thread where it can block until
the peer is able to handle it.
This makes a big difference on macOS, where the default buffer size
for local sockets is 8 KiB. With bigger buffers, we don't have to
block on IPC nearly as often.
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.

1 participant