122 |
int ssl; |
int ssl; |
123 |
int sslversion; |
int sslversion; |
124 |
char *request; |
char *request; |
125 |
|
char *request_checksum; |
126 |
Generic_T generic; |
Generic_T generic; |
127 |
char *pathname; |
char *pathname; |
128 |
char *certmd5; |
char *certmd5; |
207 |
static Service_T depend_list= NULL; |
static Service_T depend_list= NULL; |
208 |
static struct IHavePrecedence ihp= {FALSE, FALSE, FALSE}; |
static struct IHavePrecedence ihp= {FALSE, FALSE, FALSE}; |
209 |
static struct PortSet portset= {-1, NULL, 0, SOCK_STREAM, AF_INET, FALSE, |
static struct PortSet portset= {-1, NULL, 0, SOCK_STREAM, AF_INET, FALSE, |
210 |
SSL_VERSION_AUTO, NULL, NULL, NULL, NULL, NULL, ACTION_ALERT, NET_TIMEOUT}; |
SSL_VERSION_AUTO, NULL,NULL, NULL, NULL, |
211 |
|
NULL, NULL, ACTION_ALERT, NET_TIMEOUT}; |
212 |
static struct ResourceSet resourceset= {0, 0, OPERATOR_EQUAL, 1, |
static struct ResourceSet resourceset= {0, 0, OPERATOR_EQUAL, 1, |
213 |
ACTION_ALERT}; |
ACTION_ALERT}; |
214 |
static struct TimestampSet timestampset= {OPERATOR_EQUAL, 0, 0, ACTION_ALERT}; |
static struct TimestampSet timestampset= {OPERATOR_EQUAL, 0, 0, ACTION_ALERT}; |
734 |
|
|
735 |
request : /* EMPTY */ |
request : /* EMPTY */ |
736 |
| REQUEST PATH { portset.request= url_encode($2); FREE($2); } |
| REQUEST PATH { portset.request= url_encode($2); FREE($2); } |
737 |
|
| REQUEST PATH CHECKSUM STRING { |
738 |
|
portset.request= url_encode($2); FREE($2); |
739 |
|
portset.request_checksum= $4; |
740 |
|
} |
741 |
; |
; |
742 |
|
|
743 |
nettimeout : /* EMPTY */ { |
nettimeout : /* EMPTY */ { |
1337 |
p->protocol= pp->protocol; |
p->protocol= pp->protocol; |
1338 |
p->pathname= pp->pathname; |
p->pathname= pp->pathname; |
1339 |
p->hostname= pp->hostname; |
p->hostname= pp->hostname; |
1340 |
|
p->request_checksum= pp->request_checksum; |
1341 |
|
|
1342 |
if(pp->family == AF_INET) { |
if(pp->family == AF_INET) { |
1343 |
snprintf(address, STRLEN, "INET[%s:%d]", pp->hostname, pp->port); |
snprintf(address, STRLEN, "INET[%s:%d]", pp->hostname, pp->port); |
2208 |
portset.ssl= FALSE; |
portset.ssl= FALSE; |
2209 |
portset.sslversion= SSL_VERSION_AUTO; |
portset.sslversion= SSL_VERSION_AUTO; |
2210 |
portset.request= NULL; |
portset.request= NULL; |
2211 |
|
portset.request_checksum= NULL; |
2212 |
portset.generic= NULL; |
portset.generic= NULL; |
2213 |
portset.protocol= NULL; |
portset.protocol= NULL; |
2214 |
portset.pathname= NULL; |
portset.pathname= NULL; |