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

Fix HTTP.listen with provided TCP server #857

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Fix HTTP.listen with provided TCP server #857

merged 1 commit into from
Jun 19, 2022

Conversation

fredrikekre
Copy link
Member

Sockets.getsockname returns host as an IPAddr and port as Int, but
HTTP.Listener expects host and port as Strings.

Sockets.getsockname returns host as an IPAddr and port as Int, but
HTTP.Listener expects host and port as Strings.
@fredrikekre fredrikekre requested a review from quinnj June 19, 2022 10:55
@codecov-commenter
Copy link

codecov-commenter commented Jun 19, 2022

Codecov Report

Merging #857 (d46a525) into master (6ec44e2) will increase coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #857      +/-   ##
==========================================
+ Coverage   79.78%   79.99%   +0.21%     
==========================================
  Files          36       36              
  Lines        2849     2849              
==========================================
+ Hits         2273     2279       +6     
+ Misses        576      570       -6     
Impacted Files Coverage Δ
src/Servers.jl 79.16% <100.00%> (+2.60%) ⬆️
src/Messages.jl 88.05% <0.00%> (+0.62%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Pangoraw added a commit to fonsp/Pluto.jl that referenced this pull request Jun 19, 2022
Copy link
Member

@quinnj quinnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@quinnj quinnj merged commit 53e8bc1 into master Jun 19, 2022
@quinnj quinnj deleted the fe/listen branch June 19, 2022 13:58
Pangoraw added a commit to fonsp/Pluto.jl that referenced this pull request Jul 12, 2022
* Update to HTTP.jl 1.0

[HTTP.jl](https://github.com/JuliaWeb/HTTP.jl) is nearing its 1.0
release! This PR is a first draft at updating Pluto to use it.

* Use Accept-Encoding: identity in test/compiletimes.jl

* use JuliaWeb/HTTP.jl#857 for testing

* Allow using IO instead of stream for tests

* soften HTTP.jl constraint for now

* update HTTP.jl to 1.0.2

* remove test install

* close serversocket
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.

3 participants