Go to file
Javier Sánchez Parra 54d172e972 #915: Reply 413 status code when no payload is too large
If the payload is too long, then the API returns a 413 status code
(following RFC 7231) instead of the resetting the communication without
replying. This way it should be more clear when this problem is
happening.

The other commit I did related to the issue of the payload size
(1d9d93c) said that ogAdmServer do not log anything when it receives a
payload of a bigger size than supported, this is false. ogAdmServer
prints the next message to the syslog when this happens:

  ogAdmServer[6824]: client request from 127.0.0.1:43552 is too long
2020-04-06 16:35:20 +02:00
sources #915: Reply 413 status code when no payload is too large 2020-04-06 16:35:20 +02:00
tests #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
Makefile #967 rename .cpp to .c 2020-03-05 23:45:48 +01:00
ogAdmServer.cfg #915 update installer to add APITOKEN= to ogAdmServer.cfg 2019-06-24 13:46:10 +02:00