Add support to HTTPS SOAP request

This commit is contained in:
vemax78
2013-08-06 22:15:19 +02:00
parent 9a57f2806d
commit 6b424c5406
6 changed files with 503 additions and 45 deletions

View File

@ -16,6 +16,7 @@
#define SOAP_PROTOCOL_REQUEST_TIMEOUT 10000
#define SOAP_PROTOCOL_RESPONSE_TIMEOUT 10000
#define SOAP_PROTOCOL_CLOSE_TIMEOUT 10000
/* */
struct ac_http_soap_server {
@ -24,6 +25,9 @@ struct ac_http_soap_server {
char* host;
char* path;
/* SSL/TLS context */
void* sslcontext;
};
/* */
@ -45,6 +49,9 @@ struct ac_http_soap_request {
int requesttimeout;
int responsetimeout;
/* SSL info */
struct capwap_socket_ssl* sslsock;
/* Information for SOAP Response */
int httpstate;
int responsecode;