The maximal length of a called URL for the HTTP-Server (NX_HTTP_MAX_RESOURCE) is with 40 characters way to short for a server.
Unfortunately it is not able to change this length with the SSC and must be patched manually after every SSCs code generation. Additionally there are three files, where this length is defined:
- nxd_http_client.h
- nxd_http_server.h
- nxd_http_common_cfg.h
The #define in nxd_http_client.h has to be patched too even if only the server is used. Because the compiler randomly uses both defines the start of the http-server otherwise fails with a pointer-error because of different calculated structure lenght of the server-structure.
So I would ask to implement the possibility to change this length into the SSC or at least to increase this setting by default to 128.
↧
maximal URL-length in HTTP-server is way to small and not really comfortable to change
↧