Comments (5)
i also tried out file upload requests via curl, and the large files worked, and returned, with no problem.
from ring.
When the request "stops", does the connection close? How are you handling the upload? If this is a learning/hobby project, are you able to provide source code or a working example so the behaviour can be reproduced?
from ring.
the code is here: https://codeberg.org/martianh/ocrpdf-web.
i'm don't know how to see what happens when the connection drops out, or whether the connection closes. using mozilla dev tools console i don't see anything happening after the first POST request begins. the only thing that happens that i can see is that the little animated icon in my browser's tab disappears.
in the repo, in /resources/testfiles, test.pdf works, the humboldt file doesn't.
also, am i adjusting the correct settings? and should longer timeouts be possible? the file that doesn't work only takes just over 1 min to OCR, so the drop out is shorter than that.
i also tried making a binary and running that, and had the same effect. i also don't know if its my browser causing trouble.
from ring.
You mentioned that it worked with curl, but not in your browser. This may be because your browser response timeout is set low: check network.http.response.timeout
in about:config. You might also want to try a different browser.
I'm afraid I can't reproduce your issue, perhaps because the humboldt test file completes in ~40s for me.
from ring.
so it works in links, chromium, and netsurf, but not in firefox, even with that setting changed and even in a blank profile with that setting changed.
obvs not a ring issue tho.
thanks for taking a look!
from ring.
Related Issues (20)
- Multipart params fails on `require` HOT 1
- PROPOSAL: Implement all HTTP response types in ring.util.response HOT 7
- How a middleware take more than one handlers and return a new handler HOT 2
- how to add wasm(WebAssembly)and etc content-type? HOT 7
- Make release 1.9.5 to publish a security fix? HOT 1
- Session and cookie middleware don't share respect options HOT 5
- function ring.util.response/file-response doesn't work with opt. :root like "C:\\" in Windows
- `wrap-nested-params` does not parse `query-params` to produce a nested structure. HOT 3
- Callback after response transmission HOT 2
- ring.util.response/resource-response triggers JDK bug and leaks file descriptors HOT 2
- Consider adding data_readers for clj-time or coercing to timestamp HOT 1
- URL path causes exception in resource middleware HOT 3
- Broken link on https://github.com/ring-clojure/ring/wiki/Creating-responses HOT 2
- Prevent compilation-time jetty log initialization HOT 6
- request: How to register wasm mime on clojure ring server? HOT 2
- Ring Jetty Adapter attempts to handle requests that have already been handled HOT 6
- Release new version of ring-jetty-adapter to avoid CVE-2022-2191 HOT 1
- Can ring use the latest version of Jetty - 9.4.49.v20220914 HOT 1
- upgrade of Apache Commons FileUpload to 1.5 HOT 13
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 ring.