Tags: loopholelabs/frpc-go
Tags
Prevent deadlock on connection close and expose connection to the str… …eam context (#52) During an RPC, the generated method blocks until a response is received or the passed context is cancelled, but if the connection is closed while waiting for either event, the method remains blocked. The new generated code also listens for a connection close event, unblocking the method. Signed-off-by: Luiz Aoqui <luizaoqui@loopholelabs.io>
Bump google.golang.org/protobuf from 1.34.2 to 1.35.1 (#50) Bumps google.golang.org/protobuf from 1.34.2 to 1.35.1. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
feat: Contextual Stream handling, Goroutine Leak Prevention (#49) * This PR modifies the generated streaming servers and clients to contain a `CloseChannel` method that returns a channel that will notify when the underlying connection is closed - whether it's on purpose or due to an error. Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io> * This PR modifies the generated streaming servers and clients to contain a `CloseChannel` method that returns a channel that will notify when the underlying connection is closed - whether it's on purpose or due to an error. Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io> * Making sure goroutines exit properly, adding stream context handling Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io> * Bumping frisbee version and updating current_version for release Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io> --------- Signed-off-by: Shivansh Vij <shivanshvij@loopholelabs.io> Signed-off-by: Shivansh Vij <shivanshvij@outlook.com>
refactor: Update frpc to use latest frisbee polyglot etc apis (#41) * Update dependencies Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Remove debug statement Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Updated fRPC to use latest Polyglot and Frisbee versions * Upadted dependency versions * Updated generated code to conform to API changes Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Fix potential newlines in version file breaking code generation Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Bump required go version to 1.20 Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Ensure required go version is passed as string because yaml is dumb Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Update polyglot dependency for v2 structure Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Tidy go mods Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Fix go version in workflows Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io> * Remove accidental debug statement --------- Signed-off-by: Alex Sørlie Glomsaas <alex@sorlie.io>
PreviousNext