- Timestamp:
- Feb 25, 2018, 3:06:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/response_print.c
r862 r867 2623 2623 if(tmpSess!=NULL){ 2624 2624 map *_tmp=getMapFromMaps(m,"lenv","cookie"); 2625 maps *tmps=getMaps(m,"senv"); 2625 2626 char* sessId=NULL; 2626 2627 if(_tmp!=NULL){ 2627 2628 printf("Set-Cookie: %s; HttpOnly\r\n",_tmp->value); 2629 map *_tmp1=getMapFromMaps(m,"senv","ecookie_length"); 2630 if(_tmp1!=NULL){ 2631 int len=atoi(_tmp1->value); 2632 int cnt=0; 2633 for(cnt=0;cnt<len;cnt++){ 2634 map* _tmp2=getMapArray(tmps->content,"ecookie",cnt); 2635 if(_tmp2!=NULL) 2636 printf("Set-Cookie: %s; HttpOnly\r\n",_tmp->value); 2637 } 2638 } 2628 2639 printf("P3P: CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"\r\n"); 2629 2640 char session_file_path[100];
Note: See TracChangeset
for help on using the changeset viewer.