Apache Traffic Server
10.1.0
Preface
Getting Started
Release Notes
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
Plugin Development Introduction
Getting Started
Building Plugins
Plugin Configuration
Plugin Management
Actions
Hooks and Transactions
Continuations
Mutexes
IO
HTTP Headers
HTTP Transformations
Remap Plugins
New Protocol Plugins
Plugin Interfaces
Adding Statistics
Example Plugins
Cripts
Configuration Variable Implementation
API Reference
Continuous Integration
Documentation
Host Resolution Proposal
An Overview Client Sessions and Transactions
Core Architecture
Design Documents
Layout
Testing Traffic Server
JSONRPC
Appendices
Apache Traffic Server
Developer’s Guide
Plugin Development
View page source
Plugin Development
¶
Plugin Development Introduction
Roadmap
Asynchronous Event Model
Naming Conventions
Getting Started
A Simple Plugin
Plugin Registration and Version Checking
Naming Conventions
Understanding Traffic Server Plugins
Building Plugins
Example Plugin Project
Plugin Configuration
Plugin Management
Settings and Statistics
Logging API
Actions
Hosts Lookup API
Hooks and Transactions
Adding Hooks
HTTP Sessions
HTTP Transactions
Intercepting HTTP Transactions
Initiate HTTP Connection
HTTP Alternate Selection
TLS User Agent Hooks
TLS Session Plugin API
Utility Functions
Example Use Case
Hooks
Continuations
Activating Continuations
Writing Handler Functions
Mutexes and Data
Mutexes
Locking Global Data
Protecting a Continuation’s Data
How to Associate a Continuation With Every HTTP Transaction
How to Add the New Continuation
How to Store Data Specific to Each HTTP Transaction
Using Locks
Special Case: Continuations Created for HTTP Transactions
IO
Net Vconnections
Transformations
VIOs
IO Buffers
Cache API
Vconnections
HTTP Headers
Traffic Server HTTP Header System
Header Functions
MIME Headers
Marshal Buffers
URLs
HTTP Transformations
Sample Null Transform Plugin
Append Transform Plugin
Sample Buffered Null Transform Plugin
Writing Content Transform Plugins
Remap Plugins
Initialization
Configuration
Runtime
Cleanup
New Protocol Plugins
About the Sample Protocol
Protocol Plugin Structure
Continuations in the Protocol Plugin
Event Flow
One Way to Implement a Transaction State Machine
Processing a Typical Transaction
Plugin Interfaces
TSfopen Family
Memory Allocation
Thrd Functions
Debugging Functions
Adding Statistics
Example Plugins
Basic Authorization Plugin
Denylist Plugin
Query Remap Plugin
TLS Bridge
Header-Based Plugin Examples
Apache Traffic Server
v: 10.1.0
Languages
Versions