Changeset 864


Ignore:
Timestamp:
Feb 5, 2018, 2:51:19 PM (7 years ago)
Author:
djay
Message:

Use memory=load for downloading body references.

Location:
branches/prototype-v0/zoo-project
Files:
3 edited

Legend:

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

    r863 r864  
    779779                                  xmlGetProp (cur3, BAD_CAST "href");
    780780                                HINTERNET bInternet, res1, res;
     781                                maps *tmpConf=createMaps("main");
     782                                tmpConf->content=createMap("memory","load");
    781783                                bInternet = InternetOpen (
    782784#ifndef WIN32
     
    797799                                                   INTERNET_FLAG_NO_CACHE_WRITE,
    798800                                                   0,
    799                                                    *main_conf);
     801                                                   tmpConf);
    800802                                processDownloads (&bInternet);
     803                                freeMaps(&tmpConf);
     804                                free(tmpConf);
    801805                                char *tmp =
    802806                                  (char *)
  • branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c

    r863 r864  
    503503      else
    504504        sprintf(filename,"/%s/ZOO_Cache%s", tmpPath->value,tmpUuid);
    505       fprintf(stderr," *** %s %d %s",__FILE__,__LINE__,filename);
    506       fflush(stderr);
    507505      free(tmpUuid);
    508506      hInternet->ihandle[hInternet->nb].filename=strdup(filename);
  • branches/prototype-v0/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py

    r863 r864  
    9999        geometry=[]
    100100        ds = osgeo.ogr.Open(obj["cache_file"])
    101         if sql is not None:
    102             if sql.count("from")==0:
    103                 layerName=ds.GetLayerByIndex(0).GetName()
    104                 sql+=" from "+layerName
    105             lyr=ds.ExecuteSQL( sql, None, None )
    106         else:
    107             lyr = ds.GetLayer(0)
     101        lyr = ds.GetLayer(0)
    108102        feat = lyr.GetNextFeature()
    109103        while feat is not None:
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