mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
increase WS payload size to 48K
This commit is contained in:
@@ -290,7 +290,7 @@ class WsRequestor extends BaseRequestor {
|
|||||||
followRedirects: true,
|
followRedirects: true,
|
||||||
maxRedirects: 2,
|
maxRedirects: 2,
|
||||||
handshakeTimeout,
|
handshakeTimeout,
|
||||||
maxPayload: JAMBONES_WS_MAX_PAYLOAD ? parseInt(JAMBONES_WS_MAX_PAYLOAD) : 24 * 1024,
|
maxPayload: JAMBONES_WS_MAX_PAYLOAD ? parseInt(JAMBONES_WS_MAX_PAYLOAD) : 48 * 1024,
|
||||||
headers: {
|
headers: {
|
||||||
...(HTTP_USER_AGENT_HEADER && {'user-agent' : HTTP_USER_AGENT_HEADER})
|
...(HTTP_USER_AGENT_HEADER && {'user-agent' : HTTP_USER_AGENT_HEADER})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user