Skip to content

Commit

Permalink
Merge pull request #4 from shota3506/alloc-http-header-in-connect-req…
Browse files Browse the repository at this point in the history
…uest

Alloc http header in connect request
  • Loading branch information
shota3506 authored Oct 4, 2024
2 parents ff690d5 + edebd28 commit 5986573
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grpcweb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ type connectParams struct {

func (c *client) parseConnectParams(params sobek.Value) (connectParams, error) {
result := connectParams{
reflect: false,
metadata: http.Header{},
reflect: false,
}

if common.IsNullish(params) {
Expand Down

0 comments on commit 5986573

Please sign in to comment.