ArcadeDB Server v26.1.1 (build 78dfc03a6cdb7eb3d54930e754c72bdfbd09e87c/1769193826624/main)
Running on Linux 6.14.0-37-generic - OpenJDK 64-Bit Server VM 21.0.9
Sending queries or commands with large bodies via HTTP produces errors which are likely related to the update of the Undertow server to version 2.3.22.Final
Reproduce given a database test via bash and wget:
echo -n "{\"language\":\"sqlscript\",\"command\":\"CREATE DOCUMENT TYPE doc; INSERT INTO doc CONTENT {'txt':'" > q0.sql
dd if=/dev/urandom bs=2M count=1 | base64 -w0 > q1.txt
cat q0.sql q1.txt q2.sql > q.txt
wget -qO- http://localhost:2480/api/v1/command/test --post-file=q.sql --user root --ask-password --content-on-error
No error is reported by wget, however, our backend server's http client logs a broken pipe, while the ArcadeDB server logs:
[PostCommandHandler] <ArcadeDB_0> Error on transaction execution (PostCommandHandler): Error on executing command
See also: 97da119
ArcadeDB Server v26.1.1 (build 78dfc03a6cdb7eb3d54930e754c72bdfbd09e87c/1769193826624/main)Running on Linux 6.14.0-37-generic - OpenJDK 64-Bit Server VM 21.0.9Sending queries or commands with large bodies via HTTP produces errors which are likely related to the update of the Undertow server to version
2.3.22.FinalReproduce given a database
testviabashandwget:cat q0.sql q1.txt q2.sql > q.txtNo error is reported by
wget, however, our backend server's http client logs abroken pipe, while the ArcadeDB server logs:See also: 97da119