HTTP/2 with content longer than 16KiB #6842
-
Hello, guys! I'm trying to integrate cats, CE, http4s and sangria to get a GraphQL server in Scala. For subscription I would rather just use fetch + HTTP/2 because I don't want to rely on WebSockets since this isn't really bi-directional communication and WebSockets is kind of obsolete anyway. Here is the code for reference (it's a mess, sorry): I'm having trouble: the introspection query the client does returns normally when I'm using HTTP/1.1, but it fails by not returning the body when using HTTP/2. I experimented a little bit and found that if the response is bigger than 16KiB it doesn't return the body, but if it's less it does! Is this misconfiguration from my part or should I report as bug? TL; DR: Sending responses (strict) >= 16KiB causes the client to receive an empty body, should this be reported as a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
if you can create a minimal, reproducible example, then yes. Separately, you might find Grackle interesting. It's a GraphQL server built with Cats Effect. |
Beta Was this translation helpful? Give feedback.
-
Looks like an actual bug |
Beta Was this translation helpful? Give feedback.
Looks like an actual bug