tatsuhiro-t/spdylay
FreeThe experimental SPDY protocol version 2, 3 and 3.1 implementation in C
About tatsuhiro-t/spdylay
Spdylay is an experimental C library implementing Google's SPDY protocol versions 2, 3, and 3.1. It provides a framing layer without performing any I/O operations, relying on application-provided callback functions. The library does not include event polling, allowing applications to choose their own event handling mechanisms. It is designed to be SSL-library agnostic (example programs require OpenSSL 1.0.1+). The project also provides SPDY client, server, and reverse proxy (shrpx) implementations built on top of the library. Currently, most SPDY/2, SPDY/3, and SPDY/3.1 features are implemented; direct server-push support is not yet available but can be achieved via low-level APIs.
Key Features
Pros & Cons
- Lightweight and focused on framing layer, giving developers full control
- Flexible callback architecture separates protocol handling from I/O
- Supports multiple SPDY versions (2, 3, 3.1)
- Comes with working example programs for quick testing
- Open source under MIT license (from COPYING file)
- Experimental status may indicate unstable or incomplete implementation
- Direct server-push support is missing; requires low-level APIs
- SPDY protocol is deprecated in favor of HTTP/2, limiting long-term relevance
- Example programs depend on OpenSSL, which may be heavy for some use cases
- Not actively maintained (last commit appears historical)