Changeset 850 for branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c
- Timestamp:
- Aug 29, 2017, 10:52:39 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c
r846 r850 286 286 int length=strlen(token)+6; 287 287 char* tmp1=(char*)malloc(length*sizeof(char)); 288 map* tmpMap; 288 289 snprintf(tmp1,6,"HTTP_"); 289 290 int j; … … 296 297 } 297 298 fprintf(stderr,"%s %d %s \n",__FILE__,__LINE__,tmp1); 298 map* tmpMap = getMapFromMaps(conf,"renv",tmp1); 299 if(tmpMap!=NULL) 300 AddMissingHeaderEntry(&handle->ihandle[i],token,tmpMap->value); 299 if(strncmp(tmp1,"HTTP_COOKIE",11)!=0){ 300 tmpMap = getMapFromMaps(conf,"renv",tmp1); 301 if(tmpMap!=NULL) 302 AddMissingHeaderEntry(&handle->ihandle[i],token,tmpMap->value); 303 } 301 304 free(tmp1); 302 305 if(handle->ihandle[i].header!=NULL)
Note: See TracChangeset
for help on using the changeset viewer.