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

stream cannot work over a single POST request when using cloudflare #144

Closed
frammaa opened this issue Jan 25, 2024 · 2 comments
Closed

stream cannot work over a single POST request when using cloudflare #144

frammaa opened this issue Jan 25, 2024 · 2 comments
Assignees

Comments

@frammaa
Copy link
Contributor

frammaa commented Jan 25, 2024

Even though we are streaming the data, since the data is collected on a CF datacenter before it's forwarded to our own machines, it won't work unless we chunk it ourselves

@jimdebeer
Copy link
Contributor

jimdebeer commented Feb 8, 2024

  • protocol outgoing (register)
  • store active streams per client
  • protocol chunks
  • start stream
  • handle fileReader (browser)
  • reply (incoming)
  • error handling
  • create chunk from static content
  • test stream buffer
  • min chunk size
  • max chunk size
  • break streaming if connection gets interrupted
  • close if seq ids are incorrect
  • remove old streaming code
  • inflate / deflate
  • handle backpressure (slow consumer)

@jimdebeer
Copy link
Contributor

this does mean we dont support browser that do not have
https://caniuse.com/?search=fileReader

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