Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] umiJs4 下 sse 无法实时显示 #11321

Closed
zackyoungh opened this issue Jun 27, 2023 · 3 comments
Closed

[Bug] umiJs4 下 sse 无法实时显示 #11321

zackyoungh opened this issue Jun 27, 2023 · 3 comments

Comments

@zackyoungh
Copy link

What happens?

使用代理的模式下,sse不能实时的返回数据,而是需要等sse服务端关闭才会返回数据

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Umi Version:
  • Node Version:
  • Platform:
@github-actions
Copy link

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2023
@fz6m
Copy link
Member

fz6m commented Jun 27, 2023

需要给一个最小复现

@fz6m
Copy link
Member

fz6m commented Mar 17, 2024

关于 SSE 不能流式返回的问题,增加了一个 UMI_DEV_SERVER_COMPRESS=none umi dev 的环境变量来关闭影响 SSE 的压缩中间件,用于 SSE 的测试,预计在下个版本可用。

See #12144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants