Lines Matching refs:key
143 static int copy_headers_in(void *vbaton, const char *key, const char *value)
151 switch (key[0]) {
154 if (strcasecmp("Accept-Encoding", key) == 0) {
160 if (strcasecmp("Connection", key) == 0) {
166 if (strcasecmp("Host", key) == 0) {
172 if (strcasecmp("Keep-Alive", key) == 0) {
178 if (strcasecmp("TE", key) == 0) {
181 if (strcasecmp("Trailer", key) == 0) {
187 if (strcasecmp("Upgrade", key) == 0) {
195 serf_bucket_headers_setn(hdrs_bkt, key, value);
199 static int copy_headers_out(void *vbaton, const char *key, const char *value)
205 switch (key[0]) {
208 if (strcasecmp("Content-Type", key) == 0) {
213 else if (strcasecmp("Connection", key) == 0) {
217 else if (strcasecmp("Content-Encoding", key) == 0) {
221 else if (strcasecmp("Content-Length", key) == 0) {
228 if (strcasecmp("Transfer-Encoding", key) == 0) {
238 apr_table_addn(ctx->r->headers_out, key, value);
662 /* SerfCluster <name> <provider> <key=value_params_to_provider> ... */
772 static int hb_table_check(void *rec, const char *key, const char *value)
775 if (strcmp(key, "path") != 0) {
778 key);
818 char *key;
822 key = apr_strtok(str, "&", &strtok_state);
823 while (key) {
824 value = strchr(key, '=');
832 ap_unescape_url(key);
834 apr_table_set(parms, key, value);
835 key = apr_strtok(NULL, "&", &strtok_state);
1005 static int static_table_check(void *rec, const char *key, const char *value)
1008 if (strcmp(key, "hosts") != 0 &&
1009 strcmp(key, "order") != 0) {
1012 key);