Skip to content

Commit 0ee7d8a

Browse files
pavelmashpavel.mash
and
pavel.mash
authored
[mORMot] improved HTTP server performance (#8612)
Co-authored-by: pavel.mash <[email protected]>
1 parent cae068c commit 0ee7d8a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frameworks/Pascal/mormot/setup_and_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ echo "Download statics from $URL ..."
3535
wget -qO- "$URL" | tar -xz -C ./libs/mORMot/static
3636

3737
# uncomment for fixed commit URL
38-
URL=https://github.com/synopse/mORMot2/tarball/c9cefa05e892763ff66a9a51a659b937def36195
38+
URL=https://github.com/synopse/mORMot2/tarball/c68d24054ffd3e5d63ecb33a2eea49055948e816
3939
#URL="https://api.github.com/repos/synopse/mORMot2/tarball/$USED_TAG"
4040
echo "Download and unpacking mORMot sources from $URL ..."
4141
wget -qO- "$URL" | tar -xz -C ./libs/mORMot --strip-components=1

frameworks/Pascal/mormot/src/raw.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ constructor TRawAsyncServer.Create(
201201
hsoNoStats, // disable low-level statistic counters
202202
//hsoThreadCpuAffinity, // worse scaling on multi-servers
203203
hsoThreadSmooting, // seems a good option, even if not magical
204+
hsoEnablePipelining, // as expected by /plaintext
204205
{$ifdef WITH_LOGS}
205206
hsoLogVerbose,
206207
{$endif WITH_LOGS}
207-
hsoIncludeDateHeader // required by TPW General Test Requirements #5
208+
hsoIncludeDateHeader // required by TFB General Test Requirements #5
208209
] + flags);
209210
if pin2Core <> -1 then
210211
fHttpServer.Async.SetCpuAffinity(pin2Core);

0 commit comments

Comments
 (0)