Skip to content

Pass nodelay as a TCP option instead of a TLS option#419

Merged
sleipnir merged 2 commits intoelixir-grpc:masterfrom
v0idpwn:tls-patch
May 9, 2025
Merged

Pass nodelay as a TCP option instead of a TLS option#419
sleipnir merged 2 commits intoelixir-grpc:masterfrom
v0idpwn:tls-patch

Conversation

@v0idpwn
Copy link
Contributor

@v0idpwn v0idpwn commented May 9, 2025

Gun passes tcp options in gen_tcp:connect, and tls options in ssh:connect/2. ssh:connect/2 ignores the nodelay option.

This patch ensures that when using ssl, the client still pass nodelay in tcp_options, which makes sure it's used.

v0idpwn and others added 2 commits May 9, 2025 16:15
Gun passes tcp options in `gen_tcp:connect`, and tls options in
`ssh:connect/2`. `ssh:connect/2` ignores the `nodelay` option.
@sleipnir sleipnir merged commit 917f3ff into elixir-grpc:master May 9, 2025
11 of 14 checks passed
@v0idpwn
Copy link
Contributor Author

v0idpwn commented May 9, 2025

Folks, I'd love if this could get released. I see there's no more changes after v0.10, so perhaps it could make a patch release :)

@v0idpwn v0idpwn deleted the tls-patch branch May 9, 2025 19:50
@sleipnir
Copy link
Collaborator

sleipnir commented May 9, 2025

Folks, I'd love if this could get released. I see there's no more changes after v0.10, so perhaps it could make a patch release :)

I think we can do one of two things:

  • Release v0.10.1 now
  • Wait for this PR and release v1.0.x

Wdyt guys?

@v0idpwn
Copy link
Contributor Author

v0idpwn commented May 9, 2025

I'm biased for the 0.10.1 release. I think this can benefit people now, and I assume 1.0 will probably take some time between RCs and ensuring the new APIs work, so (if I have a right to vote) I'd vote for a quick 0.10.1 :)

@polvalente
Copy link
Contributor

+1 for 0.10.1!

@sleipnir
Copy link
Collaborator

sleipnir commented May 9, 2025

Ok. I will prepare the version!

@sleipnir
Copy link
Collaborator

Release published https://hexdocs.pm/grpc/0.10.1/readme.html
Thanks again @v0idpwn

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