http client: add https support, fix parsing header with chained pbufs

This commit is contained in:
goldsimon
2018-02-16 12:29:40 +01:00
parent e87392cc85
commit bd656efd64
2 changed files with 15 additions and 1 deletions

View File

@@ -109,6 +109,10 @@ typedef struct _httpc_connection {
u8_t use_proxy;
/* @todo: add username:pass? */
#if LWIP_ALTCP_TLS
struct altcp_tls_config *tls_config;
#endif
/* this callback is called when the transfer is finished (or aborted) */
httpc_result_fn result_fn;
/* this callback is called after receiving the http headers