Ignore:
Timestamp:
Mar 19, 2015, 10:01:11 AM (9 years ago)
Author:
david
Message:

commit of partial async queue process management

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/zoo-project/zoo-kernel/service_internal.c

    r549 r617  
    19771977  xmlDocSetRootElement (doc, nr);
    19781978
    1979   if (hasStoredExecuteResponse == true)
    1980     {
     1979
     1980  map * background = NULL;
     1981  background = getMapFromMaps(m,"lenv","background");
     1982
     1983    if (background != NULL){
     1984        /* requete asynchrone */
    19811985      /* We need to write the ExecuteResponse Document somewhere */
    19821986      FILE *output = fopen (stored_path, "w");
     
    20062010      fclose (output);
    20072011    }
     2012    else {
    20082013  printDocument (m, doc, pid,out);
    2009 
     2014    }
    20102015  xmlCleanupParser ();
    20112016  zooXmlCleanupNs ();
     
    20312036   */
    20322037  xmlDocDumpFormatMemoryEnc (doc, &xmlbuff, &buffersize, encoding, 1);
    2033   FCGX_FPrintF(out,(char *)xmlbuff);
    2034   FCGX_FFlush(out);
     2038 
     2039 
     2040  if (out != NULL){
     2041    FCGX_FPrintF(out,(char *)xmlbuff);
     2042    FCGX_FFlush(out);
     2043    }
    20352044  //printf ("%s", xmlbuff);
    20362045  //fflush (stdout);
     
    36873696  if (fsize == 0)
    36883697    {
     3698     
    36893699      return errorException (*m, _("Unable to download the file."),
    36903700                             "InternalError", NULL,NULL);
     
    36993709  free (tmpMap->value);
    37003710  tmpMap->value = (char *) malloc ((fsize + 1) * sizeof (char));
    3701   if (tmpMap->value == NULL)
     3711  if (tmpMap->value == NULL){
     3712
    37023713    return errorException (*m, _("Unable to allocate memory."),
    37033714                           "InternalError", NULL,NULL);
     3715  }
    37043716  memcpy (tmpMap->value, fcontent, (fsize + 1) * sizeof (char));
    37053717
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