Giter Club home page Giter Club logo

Comments (5)

michaelvanham avatar michaelvanham commented on July 19, 2024

I get the same exception frequently when running on Windows 8. When I run on Windows XP the exception happens much less frequently.

The exception also occurs in the httpserver server example provided with fcl-web (/lazarus/fpc/2.6.2/source/packages/fcl-web/examples/httpserver), which I believe Brook's server is based on. I haven't traced it further than that.

from brookframework.

leledumbo avatar leledumbo commented on July 19, 2024

It's a bug in fphttpserver, fixed in trunk. I don't know whether the fix was merged back to 2.6.2 or not (I reported it back when the latest release was 2.6.0), but I have no problem with my app at office. the exception does happen, but is handled internally inside fphttpserver and it never kills my app. either when it's run as normal app or as service.

Sent from my Android phone with mail.com Mail. Please excuse my brevity.

tcaduto [email protected] wrote:

I am using the git master zip from a few days ago.
When I run my project user the embedded http broker it dies with a unhandled exception in
procedure TBrookApplication.Run;
begin
FApp.Run;
end;

After I load the first action and refresh the page it does this every time and returns this exception: Missing http protocol version in request

The app terminates after this exception is raised.


Reply to this email directly or view it on GitHub.

from brookframework.

tcaduto avatar tcaduto commented on July 19, 2024

Ok, thanks, I will install a trunk version of Lazarus and see if it's fixed. It's definitely not back ported to 2.6.2

Would it be possible to make a embedded http server based on the Synapse http server for example?

from brookframework.

leledumbo avatar leledumbo commented on July 19, 2024

It surely is possible, feel free to implement

Sent from my Android phone with mail.com Mail. Please excuse my brevity.

tcaduto [email protected] wrote:

Ok, thanks, I will install a trunk version of Lazarus and see if it's fixed. It's definitely not back ported to 2.6.2

Would it be possible to make a embedded http server based on the Synapse http server for example?


Reply to this email directly or view it on GitHub.

from brookframework.

tcaduto avatar tcaduto commented on July 19, 2024

Works fine in with the 2.7.1 FPC and Laz trunk.

from brookframework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.