Ignore:
Timestamp:
Oct 28, 2012, 2:09:47 PM (11 years ago)
Author:
djay
Message:

Print specific headers when a [headers] section was added to the main.cfg file (can add headers such as X-Powered-By for instance). Handle reading file in cache as binary (solving file size not corresponding for text files).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.h

    r364 r375  
    2929
    3030#ifdef WIN32
    31 #define strncasecmp strnicmp
    32 #define strcasecmp stricmp
     31#define strncasecmp _strnicmp
     32#define strcasecmp _stricmp
     33#ifndef snprintf
    3334#define snprintf sprintf_s
     35#endif
    3436#endif
    3537
     
    6365#define SHMSZ     27
    6466
     67
     68#ifdef DEBUG_STACK
     69  void debugStack(const char* file,const int line){
     70    int stack;
     71    fprintf(stderr,"stack %p (%s: %d) \n",&stack,file,line);
     72  }
     73#endif
    6574
    6675  /**
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