loentar / ngrest

Fast and easy C++ RESTful WebServices framework
Apache License 2.0
464 stars 93 forks source link

Problem with requests getting ignored #61

Closed ps100000 closed 6 years ago

ps100000 commented 6 years ago

I'm running ngrest on Windows 8.1. Evry second request i make gets ignored. The other requests return data but also generate an error in console:

E/21-08-2018 19:27:33.776 ClientHandler.cpp:265 readyRead: failed to read block
from client #268: No error

I tryed it with Firefox, Chrome and an Cordova App from different devices and i'm always getting the same error.

loentar commented 6 years ago

Duplicates #36

luxiaojing1985 commented 1 year ago

how to solve this question?I met this question for long time,windows 10,qt 4.8.7,mingw gcc 482, cmake 3.21

luxiaojing1985 commented 1 year ago

but it is ok in ubuntu,why?

luxiaojing1985 commented 1 year ago

E/02-12-2022 20:11:06.485 C:\Users\Administrator\AppData\Roaming\ngrest\ngrest\core\server\src\ClientHandler.cpp:265 readyRead: failed to read block from client #352: No such file or directory Invalid parameter passed to C runtime function. E/02-12-2022 20:11:19.415 C:\Users\Administrator\AppData\Roaming\ngrest\ngrest\core\server\src\ClientHandler.cpp:265 readyRead: failed to read block from client #348: Bad file descriptor Invalid parameter passed to C runtime function. E/Invalid parameter passed to C runtime function.

loentar commented 1 year ago

but it is ok in ubuntu,why?

Windows has different socket layer, so the changes must be applied there.

Also the architecture and implementation of this project is just a mess, ATM I cannot afford to support it.

loentar commented 1 year ago

But If you can fix it and submit a MR, I'll merge it.