3 Repos
Implementation of protocol rules using techniques like finite state machines to parse requests and responses.
Distinct from HTTP Protocols: Focuses on the actual parsing logic implementation rather than general protocol specifications or educational resources.
Explore 3 awesome GitHub repositories matching web development · Protocol Parsing. Refine with filters or upvote what's useful.
Sylar is a high-performance C++ asynchronous server framework and event-driven network library. It functions as a coroutine scheduler and HTTP server implementation designed to build network services using non-blocking I/O. The project distinguishes itself through a system call interceptor that hooks blocking socket and sleep APIs, transforming synchronous operations into non-blocking asynchronous events. It employs a user-space threading system to distribute lightweight tasks across a worker thread pool to maximize CPU utilization. The framework covers a broad range of networking and system
Employs finite state machine based parsing of HTTP protocols and URIs to handle requests and responses.
Sozu ist ein hochperformanter, speichersicherer Reverse Proxy und Load Balancer, der in Rust geschrieben wurde. Er ist darauf ausgelegt, HTTP-, TCP- und UDP-Traffic durch eine Multi-Prozess-Architektur zu verwalten, die isolierte Worker-Prozesse nutzt, um Fehlertoleranz und eine effiziente Ressourcennutzung auf Multi-Core-Hardware sicherzustellen. Das Projekt zeichnet sich durch einen Fokus auf kontinuierliche Verfügbarkeit und dynamische Kontrolle aus. Es bietet einen einzigartigen Mechanismus für binäres Hot-Reloading und eine Unix-Socket-basierte Control-Plane, die es Administratoren ermöglicht, Proxy-Konfigurationen zu aktualisieren, Listener-Einstellungen zu modifizieren und sogar die Proxy-Binärdatei zu ersetzen, ohne aktive Client-Verbindungen zu trennen oder den Dienst zu unterbrechen. Dieses Design stellt sicher, dass die Infrastruktur während Updates und Laufzeitanpassungen reaktionsfähig und sicher bleibt. Über seine Kern-Routing-Fähigkeiten hinaus bietet der Proxy eine umfassende Suite an Tools für Edge-Security und Traffic-Management. Er handhabt TLS-Terminierung, setzt Zugriffskontrollrichtlinien durch und mindert protokollbasierte Flood-Angriffe, insbesondere für HTTP/2-Traffic. Das System enthält zudem umfangreiche Observability-Funktionen, die Echtzeit-Performance-Monitoring, verteilte Trace-Propagation und strukturiertes Audit-Logging für alle Konfigurationsänderungen und Systemereignisse bieten.
Exercises frame parsing logic against arbitrary inputs to detect memory safety issues and vulnerabilities in header and body processing.
This project is a library for establishing bidirectional, real-time communication channels between clients and servers using the WebSocket protocol. It provides a foundational toolkit for managing persistent network connections and processing data frames in accordance with the RFC 6455 standard. The library distinguishes itself through its focus on low-level control and network efficiency. It utilizes an asynchronous, event-driven architecture to manage multiple concurrent connections without requiring dedicated threads for each session. Developers can fine-tune data transmission through manu
Uses state-machine-based parsing to process incoming byte streams into structured WebSocket frames.