Code Monkey home page Code Monkey logo

brookfreepascal's People

Contributors

al-muhandis avatar silvioprog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brookfreepascal's Issues

Can I suggest a pullrequest/feature for dOPF plugin?

The problem I'm facing is that in the MySQL database I couldn't use a field with "order" name. Because that field name is a reserved keyword. However, its use is possible in the case of a quoted (`) field name. Unfortunately, different DB can use different quote character so this needs to be done optionally or/and cusomizably.

Can you consider this pullrequest ? The dOPF fork in this form I already use and tested. Addionally there is an idea to make isolation of quotes simply obligatory... Maybe possible to create all SQL query with field quote but different for different databases. But not sure if it's right.

P.S. A new parameter in the MakeFields procedures was made with the default value for backward compatibility.

Support IIS?

Hi,

I just build cgi application and tested running well on apache, but when i try to running on IIS, router of brook will be detect as physical path, and it make my cgi application not running as well...

IIS:
iis

apache:
apache

Could you like to give me advice for my case?
Thx...

Installing Brook to FPC - Cannot find CustFCGI

This is a similar issue to (latest version of Brook controls, FPC 3.2 Fixes/Lazarus 2.0 Fixes, Mojave, Parallels VM):
Cannot install brookrt.lpk 1.9.9 on Lazarus 1.6 on Mac OS X

in that trying to build the IDE I get an error that says cannot find CustFCGI in unit BrookFCLFCGIBroker. The CustFCGI.pp file exists and in the IDE if I right click, it is found and displayed. I have posted to the lazarus forum here:
http://forum.lazarus.freepascal.org/index.php/topic,44200.0.html

But no response. It is a blocker for me, any ideas what might be wrong?

How can I intercept an unhandled error?

Hi, @silvioprog !
How can I intercept the error?
It seems the http server thread is crashed.
It is used brookfreepascal in legacy mode with tardigrade broker. libsagui 3.1.3

Nov 04 06:55:54 example.ru systemd[1]: Started Web domain manager.
Nov 04 07:06:52 example.ru wdmd[12286]: An unhandled exception occurred at $00007FA0EF21B811:
Nov 04 07:06:52 example.ru wdmd[12286]: EAccessViolation: Access violation
Nov 04 07:06:52 example.ru wdmd[12286]:   $00007FA0EF21B811

All my code is enclosed in try except, but the error still doesn't intercept my code.

I also used this:

  BrookSettings.LogActive:=True;
  BrookSettings.LogFile:=AppDir+'app.log';
  BrookSettings.OnError:=@AppShowRequestException;
  Application.Server.OnError:[email protected]; 

Nothing helps. I made a hack in the worker thread, in which in case of unexpected behavior, the daemon is rebooted, but I want to solve the problem, since the crash occurs somewhere every 10 minutes.

Lazarus 2.0 error while to try run HTTPServer

Error not only in my projects, but also demo examples do not work. Very strange. Besides the fact that the Lazarus IDE has updated to 2.0 from 1.8.4, the Brook repositories was cloned from new places at https://github.com/risoflora/
Windows 10, Lazarus 2.0.0 32b, fpc 3.0.4

[Debugger Exception Notification]

Project project1 raised exception class 'EInvalidPointer' with message:
Cannot create server handle.

 In file 'C:\lazarus32\ccr\brookframework\Source\BrookHTTPServer.pas' at line 832:
InternalCreateServerHandle;

BrookStaticFileBroker: extentions instead directories

Is it possible to BrookStaticFileBroker by file extensions rather than by directories as of now as well. At the same time, so that we can configure separately for such cache time.
Now I use this nginx, but do not always have the opportunity to use it

Need an example

I would be helpful if there were a few basic security techniques examples using the brook server's ClientConnection event.

Ambiguous units found - BrookLogger.pas

There are two units with the same name:

1. "C:\lazarus-stable\ccr\brookframework\Source\BrookLogger.pas" from BrookTardigrade 5.4.6
2. "C:\lazarus-stable\ccr\brookfreepascal\core\brooklogger.pas" from BrookRT 4.0
Both packages are connected. This means, either one package uses the other, or they are both used by a third package.

What do you recommend? Can this be tweaked at the library level?

Install fails on fresh Lazarus 2.0.2

I cannot install brookfreepascal or brookframework. The file BROOKMEDIATYPES.pas always results in

BrookMediaTypes.pas(331,21) Error: Illegal expression

Any idea what I do wrong? I use Win64

TBrookServer needs to be "isolatable" to a single IP on a physical server

In an attempt to cut out any "layer" higher than my Microsoft Windows .exe BrookServer app, (such as Apache, Nginx, or anything else), I need the ability to configure the TBrookServer component to listen ONLY on one single IP address. My server has 2 different Network Interface Cards, each with it's own IP address (x.11 and x.13). I want one of my BrookServer app exes to listen on port 443 on the x.11 IP address card and a DIFFERENT BrookServer app exe to listen on port 443 on the x.13 IP address card. (More virtual IP address can be configured on my router, so I basically have a huge number of IP + port 443 combinations, all available in software, each accessing their own domain + IP + 443 combination). At the moment, every BrookServer app listens on ALL port 443s on BOTH x.11 and x.13 IP addresses. (cports displays this as a 0.0.0.0)

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.