Ignore:
Timestamp:
Aug 31, 2017, 4:14:46 PM (7 years ago)
Author:
djay
Message:

Invoke callback asynchronously. Still the ZOO-Kernel has still to wait for every requests to finish before stoping its execution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/response_print.c

    r850 r851  
    26672667#endif
    26682668      map *gfile=getMap(tmpI->content,"generated_file");
    2669       char *file_name;
     2669      char *file_name=NULL;
    26702670      if(gfile!=NULL){
    26712671        gfile=getMap(tmpI->content,"expected_generated_file");
     
    26762676        file_name=zStrdup((gfile->value)+strlen(tmp1->value));
    26772677      }
    2678 
    26792678      toto=getMap(tmpI->content,"asReference");
    26802679#ifdef USE_MS
     
    27142713              getFileExtension(mtype != NULL ? mtype->value : NULL, file_ext, 32);
    27152714            }
    2716 
     2715            if(file_name!=NULL)
     2716              free(file_name);
    27172717            file_name=(char*)malloc((strlen(s->name)+strlen(usid->value)+strlen(file_ext)+strlen(tmpI->name)+45)*sizeof(char));
    27182718            sprintf(file_name,"%s_%s_%s_%d.%s",s->name,tmpI->name,usid->value,itn,file_ext);
     
    27612761          free(file_name);
    27622762          free(file_url);
    2763          
     2763          file_name=NULL;
    27642764        }
    27652765#ifdef USE_MS
     
    27702770      }
    27712771#endif
     2772      if(file_name!=NULL){
     2773        free(file_name);
     2774        file_name=NULL;
     2775      }
    27722776      tmpI=tmpI->next;
    27732777    }
     
    27772781      if(tmpI!=NULL)
    27782782        goto NESTED0;
    2779     }
     2783    }   
    27802784#ifdef DEBUG
    27812785    fprintf(stderr,"SERVICE : %s\n",s->name);
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png