Change-Id: I8107e41c559d96dada2b56c16472d172222984ea
Name: download-provider
Summary: Download the contents in background
-Version: 2.2.9
+Version: 2.2.10
Release: 0
Group: Development/Libraries
License: Apache-2.0
return DOWNLOAD_ADAPTOR_ERROR_INVALID_PARAMETER;
}
if (value == NULL || (value_length = strlen(value)) <= 0 ||
- value_length > DP_MAX_STR_LEN) {
+ value_length > DP_MAX_HEADER_LEN) {
TRACE_ERROR("check value (%zd:%s)", value_length, value);
return DOWNLOAD_ADAPTOR_ERROR_INVALID_PARAMETER;
}
#define MAX_DOWNLOAD_HANDLE 32
#define DP_MAX_STR_LEN 2048
+#define DP_MAX_HEADER_LEN 4096
#define DP_DEFAULT_BUFFER_SIZE 1024
// string to check invalid characters in path before using open() and fopen() API's