Hi, I'm using the latest development version of ape server. In my project I need to use JSON parameters with long string values, let's say maximum 3Kb in one single string. I've already modified the MAX_* constants in main.h as follows and recompiled aped.
#define MAX_IO 8192 #define DEFAULT_BUFFER_SIZE 4096 #define MAX_NICK_LEN 16 // move to module #define MAX_CHAN_LEN 40 #define MAX_MSG_LEN 4096 #define MAX_RAW_LEN 4096 Now, it seems that when the size of a string is higher than aprox. 1.3 Kb, nevertheless the new limits of message and raw length are respected (in my tests the entire APE command was < 2Kb) , the ape server gives a BAD_JSON response. So my questions are: - is it possible to have long json string in the ape command? - where do I set the limit for the size of json strings? Thanks in advance and best regards, Waves -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
