Comments (10)
If Nginx or other reverse proxy can do this transparently, then http-kit will not duplicate the logic.
From this discussion tornadoweb/tornado#668, it seems that the per-frame compression spec is not finalized yet
Anyway, will look into this, try to write some code to see if it feels right to do so. will keep you updated.
from http-kit.
I wonder if browsers are starting to expect this? I can’t get WebSocket connections to work to http-kit. In Safari attempts result in: [Error] WebSocket connection to 'ws://localhost:16000/ws' failed: Compressed bit must be 0 if no negotiated deflate-frame extension (1, line 0)
, and in Chrome I see: WebSocket connection to 'ws://localhost:16000/ws' failed: Invalid frame header
. So for now I have to give up on the idea of WebSockets, and just have my page poll for new data frequently.
from http-kit.
@brunchboy I followed the sente README to the letter, and I'm also getting the exact same errors in Chrome and Safari.
from http-kit.
I’d love for this to work, so I can stop wasting (albeit small amounts of) CPU polling every 30ms.
from http-kit.
@brunchboy my problem was caused by ring middleware.
from http-kit.
Oh, really? Which piece of middleware, and how were you able to resolve it?
from http-kit.
I really wish I were able to use this functionality. @pate can you tell me what middleware was the issue and how you resolved it?
from http-kit.
@pate or anyone else have any input on this? Thanks!
from http-kit.
Even if not, I don’t think it was inappropriate of you to close the issue, if @pate is correct, the problem is not with http-kit.
from http-kit.
@brunchboy Thanks!
from http-kit.
Related Issues (20)
- 2.8.0 beta1 blows up size of babashka image HOT 1
- Capture number of processors at runtime in a graalvm binary HOT 2
- http-kit client accepts some bad SSL certificates by default HOT 2
- Issue preventing non-keep-alive benchmarks HOT 1
- Race condition in TimerService.scheduleTask HOT 2
- Ring websocket API support HOT 4
- Problem in native-image and HttpUtils when using virtual threads HOT 11
- 2.8.0-beta2 has CIDER dependencies HOT 3
- CURL and finagle failing to parse :set-cookies with '\n' HOT 13
- Unix socket benchmark HOT 1
- It will turn headers into camel format HOT 2
- logger-warn gets rebound HOT 1
- logger-warn and error-warn are passed in wrong order to HttpServer constructor HOT 1
- Requests which throw java.net.ConnectException may actually succeed HOT 3
- Request Map doesn't contain information about authority HOT 8
- http-kit v2.8.0-RC1 HOT 1
- http-kit v2.8.0 final HOT 1
- Consider adding `Content-Type: text/plain` to HTTP 500 response in `org.httpkit.server.HttpHandler#run` HOT 6
- v2.7.0 SNI change broke connections to plain IP addresses with SSLHandshakeException "Hostname or IP address is undefined." HOT 8
- Add options for encoding nested form and query params a la clj-http HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from http-kit.