You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/03 14:54:00 UTC

[GitHub] [incubator-nuttx-apps] pkarashchenko commented on a diff in pull request #1182: webclient: implement https proxy

pkarashchenko commented on code in PR #1182:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1182#discussion_r889021092


##########
include/netutils/webclient.h:
##########
@@ -420,6 +462,20 @@ struct webclient_poll_info
   unsigned int flags; /* OR'ed WEBCLIENT_POLL_INFO_xxx flags */
 };
 
+struct webclient_conn_s
+{
+  bool tls;
+
+  /* for !tls */
+
+  int sockfd;
+  unsigned int flags;
+
+  /* for tls */
+
+  struct webclient_tls_connection *tls_conn;

Review Comment:
   Good to add `FAR` to all the pointers in future



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org