diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2016-06-08 13:52:03 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2016-06-08 13:52:05 +0900 |
commit | f204ce5245d7b665d8a03cd42f3e2bb2ee2103be (patch) | |
tree | 5b063f3fa2aead318dbbae11e624e23ef466e881 | |
parent | 381a0e3b62a8d63cc5a1cb5c9c3723e3c785bc19 (diff) | |
download | libsoup-f204ce5245d7b665d8a03cd42f3e2bb2ee2103be.tar.gz libsoup-f204ce5245d7b665d8a03cd42f3e2bb2ee2103be.tar.bz2 libsoup-f204ce5245d7b665d8a03cd42f3e2bb2ee2103be.zip |
Fix limit of HCL length
Change-Id: Ifaae7590e64137a49f72e860ac1a22a03225f57f
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rwxr-xr-x | libsoup/soup-connection.c | 4 | ||||
-rw-r--r-- | libsoup/soup-message-io.c | 4 | ||||
-rwxr-xr-x | libsoup/soup-message.c | 5 | ||||
-rwxr-xr-x | libsoup/soup-session.c | 4 | ||||
-rwxr-xr-x | libsoup/soup-socket.c | 4 |
5 files changed, 10 insertions, 11 deletions
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c index edb398a3..f1ca752a 100755 --- a/libsoup/soup-connection.c +++ b/libsoup/soup-connection.c @@ -21,12 +21,12 @@ #ifndef PR_TASK_PERF_USER_TRACE #define PR_TASK_PERF_USER_TRACE 666 #endif -#define MAX_STRING_LEN 256 +#define MAX_STRING_LEN 512 static void prctl_with_url(const char *prestr, const char *url) { char s[MAX_STRING_LEN] = ""; - int len_max = 120; + int len_max = 450; int len_pre = strlen(prestr); int len_url = strlen(url); diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c index dba5a5ff..28b37126 100644 --- a/libsoup/soup-message-io.c +++ b/libsoup/soup-message-io.c @@ -31,12 +31,12 @@ #define PR_TASK_PERF_USER_TRACE 666 #endif -#define MAX_STRING_LEN 256 +#define MAX_STRING_LEN 512 static void prctl_with_url(const char *prestr, const char *url) { char s[MAX_STRING_LEN] = ""; - int len_max = 120; + int len_max = 450; int len_pre = strlen(prestr); int len_url = strlen(url); diff --git a/libsoup/soup-message.c b/libsoup/soup-message.c index 0e5156dc..ea5c5193 100755 --- a/libsoup/soup-message.c +++ b/libsoup/soup-message.c @@ -20,15 +20,14 @@ #include <sys/prctl.h> #ifndef PR_TASK_PERF_USER_TRACE #define PR_TASK_PERF_USER_TRACE 666 -#define MAX_STRING_LEN 256 #endif -#define MAX_STRING_LEN 256 +#define MAX_STRING_LEN 512 static void prctl_with_url(const char *prestr, const char *url) { char s[MAX_STRING_LEN] = ""; - int len_max = 120; + int len_max = 450; int len_pre = strlen(prestr); int len_url = strlen(url); diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index 36e4b5b2..39157c1a 100755 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -29,13 +29,13 @@ #define PR_TASK_PERF_USER_TRACE 666 #endif -#define MAX_STRING_LEN 256 +#define MAX_STRING_LEN 512 #define HWCLOCK_LOG(s) {const char *str=s; prctl(PR_TASK_PERF_USER_TRACE, str, strlen(str));} static void prctl_with_url(const char *prestr, const char *url) { char s[MAX_STRING_LEN] = ""; - int len_max = 120; + int len_max = 450; int len_pre = strlen(prestr); int len_url = strlen(url); diff --git a/libsoup/soup-socket.c b/libsoup/soup-socket.c index 0e0b123d..f1b5deab 100755 --- a/libsoup/soup-socket.c +++ b/libsoup/soup-socket.c @@ -26,13 +26,13 @@ #define PR_TASK_PERF_USER_TRACE 666 #endif -#define MAX_STRING_LEN 256 +#define MAX_STRING_LEN 512 #define HWCLOCK_LOG(s) {const char *str=s; prctl(PR_TASK_PERF_USER_TRACE, str, strlen(str));} static void prctl_with_url(const char *prestr, const char *url) { char s[MAX_STRING_LEN] = ""; - int len_max = 120; + int len_max = 450; int len_pre = strlen(prestr); int len_url = strlen(url); |