Comments (13)
Which version of openlitespeed are you using?
Do you have a simple script that can be used to reproduce this problem?
from openlitespeed.
Using 1.4.11, can access my websites through SSL but when I'm processing data through POST request doesn't work and output the NSPOSIXErrorDomain.
Can't give you a simple script to reproduce the problem, but here are all the details :
- SSL is working through GET request and everything is working fine, sometimes, Safari throw an error and say that he couldn't establish a secured connection to the server but when reloading, it does work.
- POST requests doesn't work and shuts down the request with NSPOSIXErrorDomain
from openlitespeed.
This bug should have been fixed, please try below patch:
diff --git src/http/httpsession.cpp src/http/httpsession.cpp
index e85b394..afdbba9 100644
--- src/http/httpsession.cpp
+++ src/http/httpsession.cpp
@@ -373,7 +373,7 @@ void HttpSession::setupChunkIS()
assert(m_pChunkIS == NULL);
{
m_pChunkIS = HttpGlobals::getResManager()->getChunkInputStream();
-
m_pChunkIS->setStream(getStream());
-
}
m_pChunkIS->setStream(this); m_pChunkIS->open();
}
diff --git src/http/httpsession.h src/http/httpsession.h
index 6cf1e9c..22e46a3 100644
--- src/http/httpsession.h
+++ src/http/httpsession.h
@@ -73,7 +73,8 @@ enum HttpSessionState
-class HttpSession : public LsiSession, public HioHandler
+
+class HttpSession : public LsiSession, public InputStream, public HioHandler
{
HttpReq m_request;
HttpResp m_response;
from openlitespeed.
error: ‘HttpGlobals’ has not been declared
from openlitespeed.
Sorry, that's for 1.3 branch.
Actually, 1.4.11 includes that fix, maybe it is something else, we need investigate more .
So, this problem even happen to plain http connection? not likely related to SPDY or HTTP/2.
from openlitespeed.
@litespeedtech only occurs on HTTPS, doesn't happen in plain HTTP connection.
It doesn't seems to affect GET requests but it behave like this on POST / FORM POST requests, and sometimes block the connection to the servers, could also be a Safari policy related issues ?
from openlitespeed.
Please turn on full debug logging, reproduce the problem, then send error.log to bug@litespeed...
from openlitespeed.
Which browser are you testing? the one from El Capitan 10.11, earlier version does not support HTTP/2 as I know.
The log shows the response has been successfully processed, what follows that in the log, for that connection xxxxxxxxxxxx? did the connection go away immediately after that?
from openlitespeed.
@litespeedtech Actually on El Capitan can't test now on Yosemite but it does also occurs on SPDY/2 and SPDY/3, but however El Capitan does use Safari 9 and Safari 9 is bassicly supporting HTTP2 see here
I'll do another log with the full stack
from openlitespeed.
The log shows a few crashes. just search for "AutoRestarter", however, there is no core dump created.
We need to make it dump the core file. then we can find out what causing it.
If you server is using abrtd, you may need to stop it and restore /proc/sys/kernel/core_pattern to default core.%p
from openlitespeed.
@litespeedtech These AutoRestarter seems not related to the problem, no core dump are created even through enabling full core dump
from openlitespeed.
@litespeedtech Reinstalled OLSWS and reconfigured, the problem seems to have disappeared..
I'll close this for the moment, I'll re-open this if it occurs again.
from openlitespeed.
ip removed.
from openlitespeed.
Related Issues (20)
- No request delivery notification has been received from LSAPI application, possible dead lock. HOT 12
- Compiling on macos reports errors HOT 4
- percona the infamous one HOT 1
- Please get packages included in all mainstram OS distros.
- FreeBSD support? HOT 1
- cannot run an ESM app HOT 6
- Documentation: Lack of ESI Support Causes issues with WordPress Nonces HOT 2
- v.1.7.19 dowload bug and some errors HOT 6
- Don't support this system? CentOS Stream 8? HOT 3
- QUIC library is ignoring error log settings HOT 3
- Segmentation fault HOT 2
- OLS, Mediawiki, and LiteSpeedCache HOT 1
- FreeBSD: Compilation warnings again with 1.8.0 HOT 2
- Does an expired session ticket key file just get renewed if unchanged? HOT 2
- Requesting security contact HOT 12
- File ".rtreport" affects the useful life of an SSD - WRITE I/O HOT 1
- webp replacment problem HOT 2
- SSL issue with binding multiple alias domains in vhost.conf HOT 1
- wrong header set when loading pre compressed js or css files HOT 1
- How to upgrade to 1.8.0 using apt? HOT 3
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 openlitespeed.