mirror of https://git.48k.eu/ogserver
#1022 increase maximum API REST request size
Software inventory generates a request larger that 64 Kbytes. Rise the maximum API REST request size to 128 Kbytes.master
parent
85d092864c
commit
0a09c5b09c
|
@ -37,7 +37,7 @@ enum og_cmd_type {
|
|||
OG_CMD_MAX
|
||||
};
|
||||
|
||||
#define OG_MSG_REQUEST_MAXLEN 65536
|
||||
#define OG_MSG_REQUEST_MAXLEN 131072
|
||||
|
||||
struct og_client {
|
||||
struct list_head list;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import requests
|
||||
import unittest
|
||||
|
||||
MAX_REQ_SIZE = 65536
|
||||
MAX_REQ_SIZE = 131072
|
||||
|
||||
class TestBigRequest(unittest.TestCase):
|
||||
|
||||
|
|
Loading…
Reference in New Issue