support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
This commit is contained in:
20
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/http2/http2_config.h
vendored
Normal file
20
components/connectivity/iotkit-embedded-3.0.1/3rdparty/src/http2/http2_config.h
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
|
||||
*/
|
||||
|
||||
#ifndef _HTTP2_CONFIG_H
|
||||
#define _HTTP2_CONFIG_H
|
||||
|
||||
/* maximum packet len in one http2 frame */
|
||||
#ifndef FS_UPLOAD_PACKET_LEN
|
||||
#define FS_UPLOAD_PACKET_LEN 10240 /* must < 16384 */
|
||||
#endif
|
||||
|
||||
/* maximum content len of the http2 request */
|
||||
#ifndef FS_UPLOAD_PART_LEN
|
||||
#define FS_UPLOAD_PART_LEN (1024 * 1024 * 4) /* 100KB ~ 100MB */
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* #ifdef _HTTP2_CONFIG_H */
|
||||
|
Reference in New Issue
Block a user