Michaël Van Canneyt
ab7de66471
* Working thread pool
2021-08-18 16:10:30 +02:00
Michaël Van Canneyt
db0d1501e0
* Correct property name
2021-08-18 14:39:30 +02:00
Michaël Van Canneyt
181653162c
* Finish merge & rebase
2021-08-18 14:38:31 +02:00
Michaël Van Canneyt
f7265bf79e
* Some command-line options
2021-08-18 14:32:24 +02:00
Michaël Van Canneyt
5bf9de22d6
Thread pool start
2021-08-18 14:32:24 +02:00
Michaël Van Canneyt
f6c476ae79
* Start of thread pool.
2021-08-18 14:32:24 +02:00
Ondrej Pokorny
ed861e5343
don't keep alive connections that failed
2021-08-18 14:31:32 +02:00
Ondrej Pokorny
410916ab6b
Fix TFPHTTPConnectionThread.Execute repeat loop
2021-08-18 14:31:32 +02:00
Ondrej Pokorny
8fc1bc276f
Info about active connections
2021-08-18 14:30:31 +02:00
Ondrej Pokorny
c4e2029179
Ignore exceptions
2021-08-18 14:30:31 +02:00
Ondrej Pokorny
da10b8141c
Remove the KeepAlive* properties from TFPCustomHttpServer, rename KeepAliveEnabled to EnableKeepAlive
2021-08-18 14:29:37 +02:00
Ondrej Pokorny
bf2e3bf51a
add threadedhttpserver demo
2021-08-18 14:28:26 +02:00
Ondrej Pokorny
722a37ab2f
Rename KeepAliveSupport->KeepAliveEnabled
2021-08-18 14:26:54 +02:00
Ondrej Pokorny
eaffd1deca
Read out KeepAlive only if enabled
2021-08-18 14:25:47 +02:00
Ondrej Pokorny
1d18f2fdbf
comment
2021-08-18 14:24:12 +02:00
Ondrej Pokorny
162ecdc543
TFPCustomHttpServer KeepAlive* properties
2021-08-18 14:24:12 +02:00
Ondrej Pokorny
9d9128a747
httpserver keep-alive first attempt
2021-08-18 14:23:28 +02:00
Ondrej Pokorny
c68c22e9e8
don't keep alive connections that failed
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
ae1c809a2d
Fix TFPHTTPConnectionThread.Execute repeat loop
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
964a9839d1
Use InterlockedExchangeAdd to get ConnectionCount
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
7ccdcd3d14
Info about active connections
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
52c00037d3
Ignore exceptions
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
6a2f596b8e
Remove the KeepAlive* properties from TFPCustomHttpServer, rename KeepAliveEnabled to EnableKeepAlive
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
af47d108af
add threadedhttpserver demo
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
676c9a7bf6
Rename KeepAliveSupport->KeepAliveEnabled
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
c67a44c07a
Read out KeepAlive only if enabled
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
3814df5b4a
set socket options in TSocketStream.SetSocketOptions
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
7d890608b8
comment
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
8bf5eb8322
TFPCustomHttpServer KeepAlive* properties
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
7fbc82a9ff
httpserver keep-alive first attempt
2021-08-18 14:20:45 +02:00
Michaël Van Canneyt
6b36229d3c
* Allocate min threads
2021-08-17 16:47:00 +02:00
Michaël Van Canneyt
6e8775f2a9
* Add thread pool to fpmake
2021-08-17 16:25:24 +02:00
Michaël Van Canneyt
2e0a88901e
* Initial thread pool implementation
2021-08-17 16:21:21 +02:00
Pierre Muller
c426791a1b
Also ignore compiler/gppc* pattern
2021-08-17 13:49:05 +00:00
florian
4c1eb4e454
+ include -unpushed in revision.inc if not all changes are pushed to the remote
2021-08-17 15:43:53 +02:00
Pierre Muller
b962abc84f
Add compiler/revision.inc to .gitignore list
2021-08-17 12:28:25 +02:00
Ondrej Pokorny
400e11e6cf
Propagate SSL initialization errors as exceptions
2021-08-17 10:20:25 +00:00
florian
d5dfb73898
+ test pastojs with regression tests
...
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)
2021-08-16 23:02:09 +02:00
florian
5995a9909b
* testjson.pp needs to be compiled in objfpc mode, in particular when
...
being used in the regression tests
2021-08-16 21:54:54 +02:00
florian
0ff3f04700
* use git describe to create a revision.inc if a .git dir is found
2021-08-16 21:24:49 +02:00
Yuriy Sydorov
07dcd22b1c
* sizeof(array) and length(array) must return sizeUint in case the array
...
size does not fit in sizeint. This fixes a range check error during
compilation on small CPU targets where allowed array size is 64K, but
sizeint is 32K max.
2021-08-16 21:54:46 +03:00
Ondrej Pokorny
40c359a551
TFPCustomHTTPClient: do not reconnect when terminated
2021-08-16 18:51:02 +00:00
florian
2efaee6d85
* include fcl-json in regression tests
...
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)
2021-08-16 20:20:46 +02:00
Yuriy Sydorov
3ca73da912
* In TP-style INLINE, allowed the > modifier for global vars and relaxed range checks.
2021-08-16 17:36:12 +03:00
Ondrej Pokorny
fdaa1a12d0
fphttpclient: new DoDataWrite/OnDataSent event
2021-08-16 13:59:51 +00:00
Yuriy Sydorov
bd814c58c3
* Instruct GitLab to use the Pascal syntax highlighter for .pp and .inc files.
2021-08-16 16:32:00 +03:00
Yuriy Sydorov
fc3685819c
+ Added a test for the TP-style INLINE() statement.
2021-08-16 16:12:47 +03:00
Ondrej Pokorny
d502a38f20
TFPHTTPConnection: clear FBuffer when read from it in ReadRequestContent
2021-08-16 11:33:53 +02:00
Ondrej Pokorny
675312c201
*http client: rewind RequestBody in SendRequest
2021-08-16 07:04:20 +02:00
Yuriy Sydorov
64ddf22e1b
* TP compatibility: For retro CPUs always copy the function result to
...
the register(s) on function exit if assembler blocks are present.
2021-08-16 00:40:34 +03:00