apache / pekko-http

The Streaming-first HTTP server/module of Apache Pekko
https://pekko.apache.org/
Apache License 2.0
152 stars 38 forks source link

issue observed with pekko-http-cors when Scala 3 used #621

Open pjfanning opened 4 hours ago

pjfanning commented 4 hours ago

The issue and POC is described in https://github.com/pjfanning/swagger-pekko-http-sample/issues/3

pjfanning commented 4 hours ago

@lomigmegard Apologies to ping you on this since you probably thought that by donating the http-cors code to Pekko was the end of it. Feel free to ignore this but if you have bandwidth, you know the CORS code best. Any ideas why the cors directive seems to cause this POC to hang when Scala 3 is used? It may not be the cors directive but the Pekko plumbing around combining the directives that might be the issue.

lomigmegard commented 4 hours ago

@pjfanning no worries, happy to help :) I will have a look this weekend, very strange behavior...