mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
79e38de840
Add the ability to set some additional curlopt values via .daprc (aka .dodsrc). This effects both DAP2 and DAP4 protocols. Related issues: [1] re: esupport: KOZ-821332 [2] re: github issue https://github.com/Unidata/netcdf4-python/issues/836 [3] re: github issue https://github.com/Unidata/netcdf-c/issues/1074 1. CURLOPT_BUFFERSIZE: Relevant to [1]. Allow user to set the read/write buffersizes used by curl. This is done by adding the following to .daprc (aka .dodsrc): HTTP.READ.BUFFERSIZE=n where n is the buffersize in bytes. There is a built-in (to curl) limit of 512k for this value. 2. CURLOPT_TCP_KEEPALIVE (and CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL): Relevant (maybe) to [2] and [3]. Allow the user to turn on KEEPALIVE This is done by adding the following to .daprc (aka .dodsrc): HTTP.KEEPALIVE=on|n/m If the value is "on", then simply enable default KEEPALIVE. If the value is n/m, then enable KEEPALIVE and set KEEPIDLE to n and KEEPINTVL to m.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
## This is a automake file, part of Unidata's netCDF package.
|
|
# Copyright 2005, see the COPYRIGHT file for more information.
|
|
|
|
# This automake file generates the Makefile to build netCDF-4. The
|
|
# generated makefile is not run unless the user selected to build
|
|
# netCDF-4.
|
|
|
|
# $Id: Makefile.am,v 1.1 2010/05/23 21:05:33 dmh Exp $
|
|
|
|
# Cause C preprocessor to search current and parent directory.
|
|
AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/include
|
|
|
|
# OC Sources; include the dapy.[ch] to avoid the need for bison by user
|
|
SRC=oc.c \
|
|
daplex.c dapparse.c dapy.c \
|
|
occompile.c occurlfunctions.c \
|
|
ocdata.c ocdebug.c ocdump.c \
|
|
ocinternal.c ocnode.c \
|
|
ochttp.c \
|
|
ocread.c ocutil.c \
|
|
xxdr.c
|
|
|
|
HDRS=oc.h ocx.h \
|
|
dapparselex.h dapy.h \
|
|
occompile.h occonstraints.h occurlfunctions.h \
|
|
ocdata.h ocdatatypes.h ocdebug.h ocdump.h \
|
|
ocinternal.h ocnode.h \
|
|
ochttp.h ocread.h ocutil.h \
|
|
xxdr.h
|
|
|
|
EXTRA_DIST = dap.y CMakeLists.txt auth.html.in oc.css
|
|
|
|
noinst_LTLIBRARIES = liboc.la
|
|
liboc_la_SOURCES = $(SRC) $(HDRS)
|
|
liboc_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
# These rule are used if someone wants to rebuild the grammar files.
|
|
# Otherwise never invoked, but records how to do it.
|
|
# BTW: note that renaming is essential because otherwise
|
|
# autoconf will forcibly delete files of the name *.tab.*
|
|
|
|
.PHONEY: bison
|
|
|
|
bison:: dap.y
|
|
rm -f dap.tab.c dap.tab.h
|
|
bison --debug -d -p dap dap.y
|
|
mv dap.tab.c dapy.c; mv dap.tab.h dapy.h
|