mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
conmux: Bump max response length
When a conmux is already attached the motd becomes quite long, surpassing the 128 bytes, bump the max response length. This solves the problem sometimes seen as: bad: parsing reqistry lookup response: truncated percent-encoding Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
4
conmux.c
4
conmux.c
@@ -143,7 +143,7 @@ static int registry_lookup(const char *service, struct conmux_lookup *result)
|
||||
{
|
||||
struct conmux_response resp = {};
|
||||
struct sockaddr_in saddr;
|
||||
char buf[128];
|
||||
char buf[256];
|
||||
ssize_t n;
|
||||
char *p;
|
||||
int ret;
|
||||
@@ -232,7 +232,7 @@ void *conmux_open(struct device *dev)
|
||||
struct hostent *hent;
|
||||
const char *service = dev->cdb_serial;
|
||||
ssize_t n;
|
||||
char req[128];
|
||||
char req[256];
|
||||
int ret;
|
||||
int fd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user