Apache Traffic Server
8.1
Preface
Getting Started
Administrator’s Guide
Developer’s Guide
Introduction
Release Process
Contributing to Traffic Server
Using Vagrant to Test Traffic Server
Debugging and Analysis
Threads and Event Processing
Cache Architecture
Logging Architecture
Internal libraries
Plugin Development
Configuration Variable Implementation
API Reference
API Types
API Functions
TSAPI
TSAcceptor
TSActionCancel
TSActionDone
TSCacheRead
TSCacheRemove
TSCacheWrite
TSClientProtocolStack
TSConfigDataGet
TSConfigGet
TSConfigRelease
TSConfigSet
TSContCall
TSContCreate
TSContDataGet
TSContDataSet
TSContDestroy
TSContMutexGet
TSContSchedule
TSDebug
TSHostLookup
TSHostLookupResultAddrGet
TSHttpArgs
TSHttpConnect
TSHttpConnectWithPluginId
TSHttpHdrClone
TSHttpHdrCopy
TSHttpHdrCreate
TSHttpHdrDestroy
TSHttpHdrHostGet
TSHttpHdrLengthGet
TSHttpHdrMethodGet
TSHttpHdrMethodSet
TSHttpHdrPrint
TSHttpHdrReasonGet
TSHttpHdrReasonLookup
TSHttpHdrReasonSet
TSHttpHdrStatusGet
TSHttpHdrStatusSet
TSHttpHdrTypeGet
TSHttpHdrTypeSet
TSHttpHdrUrlGet
TSHttpHdrUrlSet
TSHttpHdrVersionGet
TSHttpHdrVersionSet
TSHttpHookAdd
TSHttpOverridableConfig
TSHttpParserCreate
TSHttpSsnClientFdGet
TSHttpSsnIdGet
TSHttpSsnReenable
TSHttpTxnAborted
TSHttpTxnCacheLookupStatusGet
TSHttpTxnCacheLookupUrlGet
TSHttpTxnCachedReqGet
TSHttpTxnCachedRespGet
TSHttpTxnClientFdGet
TSHttpTxnClientPacketDscpSet
TSHttpTxnClientPacketMarkSet
TSHttpTxnClientPacketTosSet
TSHttpTxnClientReqGet
TSHttpTxnClientRespGet
TSHttpTxnErrorBodySet
TSHttpTxnIncomingAddrGet
TSHttpTxnInfoIntGet
TSHttpTxnIntercept
TSHttpTxnIsInternal
TSHttpTxnIsWebsocket
TSHttpTxnMilestoneGet
TSHttpTxnNextHopAddrGet
Local outbound address
TSHttpTxnParentProxySet
TSHttpTxnParentSelectionUrlSet
TSHttpTxnPluginTagGet
TSHttpTxnReenable
TSHttpTxnServerAddrGet
TSHttpTxnServerAddrSet
TSHttpTxnServerFdGet
TSHttpTxnServerIntercept
TSHttpTxnServerPacketDscpSet
TSHttpTxnServerPacketMarkSet
TSHttpTxnServerPacketTosSet
TSHttpTxnServerPush
TSHttpTxnServerReqGet
TSHttpTxnServerRespGet
TSHttpTxnServerSsnTransactionCount
TSHttpTxnSsnGet
TSHttpTxnTransformRespGet
TSHttpTxnTransformedRespCache
TSHttpTxnUntransformedRespCache
TSIOBufferBlockReadStart
TSIOBufferCopy
TSIOBufferCreate
TSIOBufferReader
TSInstallDirGet
TSIpStringToAddr
TSLifecycleHookAdd
TSMBufferCreate
TSMgmtCounterGet
TSMgmtFloatGet
TSMgmtIntGet
TSMgmtSourceGet
TSMgmtStringGet
TSMgmtUpdateRegister
TSMimeHdrClone
TSMimeHdrCopy
TSMimeHdrCreate
TSMimeHdrDestroy
TSMimeHdrFieldAppend
TSMimeHdrFieldClone
TSMimeHdrFieldCopy
TSMimeHdrFieldCopyValues
TSMimeHdrFieldCreate
TSMimeHdrFieldDestroy
TSMimeHdrFieldFind
TSMimeHdrFieldGet
TSMimeHdrFieldLengthGet
TSMimeHdrFieldNameGet
TSMimeHdrFieldNameSet
TSMimeHdrFieldNext
TSMimeHdrFieldNextDup
TSMimeHdrFieldRemove
TSMimeHdrFieldValueAppend
TSMimeHdrFieldValueDateInsert
TSMimeHdrFieldValueDateSet
TSMimeHdrFieldValueIntSet
TSMimeHdrFieldValueStringGet
TSMimeHdrFieldValueStringInsert
TSMimeHdrFieldValueStringSet
TSMimeHdrFieldValueUintInsert
TSMimeHdrFieldValueUintSet
TSMimeHdrFieldValuesClear
TSMimeHdrFieldValuesCount
TSMimeHdrFieldsClear
TSMimeHdrFieldsCount
TSMimeHdrLengthGet
TSMimeHdrParse
TSMimeHdrPrint
TSMimeParserClear
TSMimeParserCreate
TSMimeParserDestroy
TSMutexCreate
TSMutexDestroy
TSMutexLock
TSMutexLockTry
TSMutexUnlock
TSNetAccept
TSNetAcceptNamedProtocol
TSNetConnect
TSPluginInit
TSProtoSet
Traffic Server Records
TSRemapInit
TSRemapFrom/ToUrlGet
TS SSL Context
TSSslServerContextCreate
TSSslSession
Plugin Statistics
TSTextLogObjectCreate
TSThreadCreate
TSThreadDestroy
TSThreadInit
TSThreadSelf
TSTrafficServerVersionGet
TSTransformCreate
TSTransformOutputVConnGet
TSAPI Types
TSUrlCreate
TSUrlFtpTypeGet
TSUrlFtpTypeSet
TSUrlHostGet
TSUrlHostSet
TSUrlPercentEncode
TSUrlStringGet
TSUuidCreate
TSVConn
TSVConnAbort
TSVConnArgs
TSVConnCacheObjectSizeGet
TSVConnClose
TSVConnClosedGet
TSVConnFdCreate
TSVConnFdGet
TSVConnIsSsl
TSVConnRead
TSVConnReadVIOGet
TSVConnReenable
TSVConnShutdown
TSVConnSslConnectionGet
TSVConnTunnel
TSVConnWrite
TSVConnWriteVIOGet
TSVIOBufferGet
TSVIOContGet
TSVIOMutexGet
TSVIONBytesGet
TSVIONBytesSet
TSVIONDoneGet
TSVIONDoneSet
TSVIONTodoGet
TSVIOReaderGet
TSVIOReenable
TSVIOVConnGet
TSfclose
TSfflush
TSfgets
TSfopen
TSfread
TSfwrite
TSmalloc
Continuous Integration
Documentation
Host Resolution Proposal
An Overview Client Sessions and Transactions
Core Architecture
Appendices
Apache Traffic Server
Developer’s Guide
API Reference
API Functions
TSHttpHdrVersionSet
View page source
TSHttpHdrVersionSet
¶
Synopsis
¶
#include <ts/ts.h>
TSReturnCode
TSHttpHdrVersionSet
(
TSMBuffer
bufp
,
TSMLoc
offset
,
int
ver
)
¶
Description
¶
Apache Traffic Server
v: 8.1
Languages
Versions