grpc / grpc-haskell

gRPC library binding for Haskell.
Apache License 2.0
154 stars 16 forks source link

Always run RECV_INITIAL_METADATA at least once #16

Closed kolmodin closed 7 years ago

kolmodin commented 7 years ago

Turns out to be really important to do this exactly once. Not doing so can cause RST_STREAM / INTERNAL errors.

  /** Receive initial metadata: one and only one MUST be made on the client,
      must not be made on the server.
      This op completes after all initial metadata has been read from the
      peer. */
kolmodin commented 7 years ago

Fixed by d5420113ff7e810a02c3acfd8a3d21002484f827.