Changeset 674 for trunk/zoo-project


Ignore:
Timestamp:
Jun 17, 2015, 6:14:41 PM (7 years ago)
Author:
djay
Message:

Do not call errorException when reading the request content.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/zoo_loader.c

    r658 r674  
    115115       }
    116116       delete[] buffer;
    117        if(res==NULL && (strQuery==NULL || strlen(strQuery)==0)){
    118          return errorException(NULL,"ZOO-Kernel failed to process your request because the request was empty.","InternalError",NULL);
    119        }else{
    120          if(strQuery==NULL || strlen(strQuery)==0)
    121            tmpMap=createMap("request",res);
    122        }
     117       if(res!=NULL && (strQuery==NULL || strlen(strQuery)==0))
     118         tmpMap=createMap("request",res);
    123119       if(res!=NULL)
    124120         free(res);
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