Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/loveinsky100/libcurl-nghttp2-mbedtls-ios

libcurl ssl http2 c-ares for ios
https://github.com/loveinsky100/libcurl-nghttp2-mbedtls-ios

c-ares http2 https ios ipv6 libcurl mbedtls nghttp2

Last synced: 1 day ago
JSON representation

libcurl ssl http2 c-ares for ios

Awesome Lists containing this project

README

        

使用build.sh编译

在最新的mac系统中编译需要注意,在curl的configure文件中将curl_func_clock_gettime修改为no,否则ios10一下的设备crash

支持http2.0,支持ipv6,支持https,支持c-areas

脚本使用mbedtls的原因是openssl打出的静态库过于庞大,使用mbedtls构建出的静态库大小大约是openssl的1/4

当然如果不需要http2.0,则可以使用darwin-ssl

修改版本:

MBEDTLS="2.4.0"
LIBCURL="7.51.0"
NGHTTP2="1.14.0"
CARES="1.8.0"

脚本最低支持ios为ios7,如果需要修改,请到相应目录下的shell脚本中修改。

prebuild以在ios设备进行测试,并且成功运行,设备覆盖了ios7-ios11:

```
libcurl/7.54.1 mbedTLS/2.4.0 zlib/1.2.8 c-ares/1.8.0 nghttp2/1.24.0
```

相关链接:

[https://github.com/jasonacox/Build-OpenSSL-cURL.git](https://github.com/jasonacox/Build-OpenSSL-cURL.git)

[https://github.com/mingxinkejian/mbedtls-for-ios.git](https://github.com/mingxinkejian/mbedtls-for-ios.git)