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

Cleanup header initialization to avoid excessive copies #991

Merged
merged 2 commits into from Jan 11, 2023

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Jan 11, 2023

Set keepalive to true by default for tcp layer.
Fix bug where both StatusCodes & Messages were exporting statustext.

@codecov-commenter
Copy link

Codecov Report

Merging #991 (ec99c60) into master (618c270) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #991      +/-   ##
==========================================
+ Coverage   82.56%   82.75%   +0.19%     
==========================================
  Files          37       37              
  Lines        3046     3051       +5     
==========================================
+ Hits         2515     2525      +10     
+ Misses        531      526       -5     
Impacted Files Coverage Δ
src/ConnectionPool.jl 87.76% <ø> (+2.10%) ⬆️
src/HTTP.jl 70.00% <100.00%> (ø)
src/Messages.jl 84.74% <100.00%> (+0.17%) ⬆️
src/clientlayers/MessageRequest.jl 93.75% <100.00%> (+1.44%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -410,7 +410,7 @@ end
function getconnection(::Type{TCPSocket},
host::AbstractString,
port::AbstractString;
keepalive::Bool=false,
keepalive::Bool=true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you add a comment on why this default to true?

Set keepalive to true by default for tcp layer.
Fix bug where both StatusCodes & Messages were exporting `statustext`.
@quinnj quinnj merged commit ea025e1 into master Jan 11, 2023
@quinnj quinnj deleted the jq-various-fixes branch January 11, 2023 23:05
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

3 participants