| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Use ls-hpack's fast Huffman decoder for HPACK/QPACK strings (#13259) When the home-grown Huffman codec was replaced with vendored LiteSpeed ls-hpack code (#12357), only the conservative 4-bit FSM decoder (lshpack_dec_huff_decode_full) was ported — although huff-tables.h has carried the 64K-entry table for upstream's fast decoder all along. This PR ports the fast decoder (lshpack_dec_huff_decode, from ls-hpack v2.3.5) and switches huffman_decode() to it. The fast decoder consumes 16 bits of input per table lookup and emits up to 3 bytes, falling back to the FSM decoder for the rare codes longer than 16 bits. HPACK and QPACK share the wrapper through xpack_decode_string(), so both HTTP/2 and HTTP/3 header decoding benefit. No new memory footprint: the hdecs table has been compiled into the binary since the original vendoring. | 2 个月前 | |
Cripts: Adds some certificate introspection (#12320) * Cripts: Adds some certificate introspection * Use the Cripts mixin string_view type * Fixes autest for Cripts, and adds some more tests | 1 年前 | |
Add bcc tool to observe pthread trylock (#11803) * Add bcc tool to observe pthread trylock * Cleanup | 1 年前 | |
Adds a simple tool to generate new escape tables (#8783) * Adds a simple tool to generate new escape tables * Removed trailing whitespace from the README. * Some review suggestions: 1. Add the binary to gitignore 2. Add a NOTE requesting changies to LogUtils.cc codes_to_escape to update the tool. 3. Convert escape_mapper to C++. Co-authored-by: Brian Neradt <brian.neradt@gmail.com> | 4 年前 | |
Add in a vendor copy of Google Highway (#13228) | 2 个月前 | |
Support JSON error response bodies (#13415) ATS cannot reliably emit JSON error responses through header rewrite: literal bodies cannot select a MIME type, HRW4U treats JSON braces as interpolation, fetched bodies lose their Content-Type, and conditional local files are unavailable. Body factory error pages are also hardcoded to HTML. This adds optional Content-Type arguments to set-body and set-body-from, preserves fetched response types, adds configuration-time local file bodies, and teaches HRW4U literal JSON braces and MIME-aware forms. It also adds body-factory Content-Type metadata and clears stale MIME state for empty fabricated bodies. Network set-body-from remains READ_RESPONSE-only because remap hooks cannot suspend for its asynchronous fetch. This covers remap-time errors with literal or file-backed bodies instead. This incorporates Bryan Call's body-factory work from #12947. Related: #10893 Fixes: #13393 Fixes: #11480 Co-authored-by: Bryan Call <bcall@apache.org> | 7 天前 | |
Add dockerfile for building h3 tools for testing (#9357) * Add dockerfile for building h3 tools for testing * trailing whitespace * move dockerfile * pinned tags for clones and add args for -j makefile option * Use system nproc to set job count --------- Co-authored-by: Chris McFarlen <cmcfarlen@apple.com> | 3 年前 | |
Fix potential buffer overflow in http_load snprintf calls (#12723) The snprintf function returns the number of characters that would have been written if the buffer was large enough, not the number actually written. This could cause hdr_bytes and req_bytes to increment beyond the buffer size, leading to out-of-bounds writes in subsequent snprintf calls. Fixed by: - Checking snprintf return value before incrementing offset - Only incrementing if return value is positive and less than remaining space - Applied to all snprintf calls that use += pattern in read_url_file() - Using braces for all conditional statements | 8 个月前 | |
Removes the tsxs command line tool (#10790) | 2 年前 | |
Fix convert2yaml.py to handle files without trailing newline (#12784) The script was using value[:-1] to strip the trailing newline, which incorrectly truncates the last character if the file doesn't end with a newline. Changed to value.rstrip('\n') which properly handles both cases. Added test case for config files without trailing newlines. | 7 个月前 | |
remap_action_to_add: helper script for new ACL actions (#11583) This helper script converts 9.2.x @action=allow and @action=deny to @action=add_allow and @action=add_deny in a provided input remap.config filename. This prepares a 9.2.x remap.config file to be compatible with the new 10.x ACL action behavior. | 2 年前 | |
Removed spaces at the end of the line on all files | 9 年前 | |
tools: Add traffic_grapher for real-time ATS metrics visualization (#12848) * Add traffic_grapher.py, a Python tool that displays real-time graphs of RPS, latency, cache hit rate, and connections via JSONRPC Unix socket. Supports 1-4 hosts with multi-host comparison. * Renders matplotlib charts inline in iTerm2 via imgcat with dark theme. Optional GUI mode with keyboard navigation (h/l or arrows) across 4 metric pages. * Auto-discovers JSONRPC socket path on target hosts. Configurable refresh interval and history window. | 5 个月前 | |
W means a fresh Read While Write cache hit (#10924) | 2 年前 | |
Update H3 dependency build scripts (#13190) The Fedora 44 staged image now uses the proxy-verifier H3 library set and upstream OpenSSL with native QUIC. The ATS helper scripts still constructed their OpenSSL stack from quictls and had hard-coded H3 library tags, so the controller would build a different toolchain than the one just validated for CI. This updates the helper defaults to OpenSSL 3.5.5, nghttp3 1.15.0, ngtcp2 1.21.0, and nghttp2 1.68.0, while keeping the BoringSSL revision untouched. This also makes the BoringSSL CMake warning flags conditional for newer GCC and points curl at the native OpenSSL QUIC configuration. | 3 个月前 | |
Update H3 dependency build scripts (#13190) The Fedora 44 staged image now uses the proxy-verifier H3 library set and upstream OpenSSL with native QUIC. The ATS helper scripts still constructed their OpenSSL stack from quictls and had hard-coded H3 library tags, so the controller would build a different toolchain than the one just validated for CI. This updates the helper defaults to OpenSSL 3.5.5, nghttp3 1.15.0, ngtcp2 1.21.0, and nghttp2 1.68.0, while keeping the BoringSSL revision untouched. This also makes the BoringSSL CMake warning flags conditional for newer GCC and points curl at the native OpenSSL QUIC configuration. | 3 个月前 | |
Update H3 dependency build scripts (#13190) The Fedora 44 staged image now uses the proxy-verifier H3 library set and upstream OpenSSL with native QUIC. The ATS helper scripts still constructed their OpenSSL stack from quictls and had hard-coded H3 library tags, so the controller would build a different toolchain than the one just validated for CI. This updates the helper defaults to OpenSSL 3.5.5, nghttp3 1.15.0, ngtcp2 1.21.0, and nghttp2 1.68.0, while keeping the BoringSSL revision untouched. This also makes the BoringSSL CMake warning flags conditional for newer GCC and points curl at the native OpenSSL QUIC configuration. | 3 个月前 | |
Remove jtest tool and its minions (#11509) The JTest tool for ATS performance stress testing has been superceded by our other tests and utilities. | 2 年前 | |
Add in a vendor copy of Google Highway (#13228) | 2 个月前 | |
Add in a vendor copy of Google Highway (#13228) | 2 个月前 | |
Adds a little wrapper script to build inside vscode | 7 年前 | |
Add Perltidy configuration and build target Also does an initial run. | 7 年前 | |
Fixes spelling in miscellaneous files in configs, contrib, doc, example and tools | 7 年前 | |
yapf.sh: run on non-.py tools/ scripts (#11476) This updates our yapf.sh script to run yapf on Python files in the tools directory that don't have the .py extension. | 2 年前 | |
Add Perltidy configuration and build target Also does an initial run. | 7 年前 | |
gdb-helpers.py: Add tunnel events to the history parser (#12322) This adds the HTTP_TUNNEL_EVENT_* events to the history parser in gdb-helpers.py | 1 年前 | |
Updated gdb mutex script to get process file for Fedora 32 (#7133) | 5 年前 | |
Add command line utility to help convert remap plugin usage to ATS9. (#7426) | 5 年前 | |
tools/install_cmake.sh (#10970) This adds tools/install_cmake.sh which installs a recent version of CMake. | 2 年前 | |
Add mkheader convenience script. | 10 年前 | |
Add: Server-side TLS handshake milestones and timing fixes (#12860) Add TS_MILESTONE_SERVER_TLS_HANDSHAKE_START/END to capture origin-side TLS handshake timing, complementing the existing client-side milestones. Capture server TLS timing in HttpSM::state_http_server_open() for both H2 multiplexed and H1 direct connection paths. Fix the missing _record_tls_handshake_end_time() call for outbound connections and fix difference_msec() to check both start and end for 0. Rename slow log field tls_handshake to ua_tls_handshake for clarity and add server_tls_handshake. Use pre-remap URL in slow log output. | 5 个月前 | |
Convert old sni configuration file in lua to yaml | 6 年前 | |
Program to test if multiple URLs can be cached and generates a report on the cache headers. | 7 年前 | |
Fixes spelling in miscellaneous files in configs, contrib, doc, example and tools | 7 年前 | |
Updates links to trafficserver.apache.org to https | 6 年前 | |
Fix a bug in tspush that pushes corrupted content to cache (#7696) | 5 年前 | |
cmake format target: add whitespace correction (#12696) Our format target does formatting of C++ and Python files via clang-format and yapf. Annoyingly, it hasn't done some extra whitespace checks that CI does. So a PR can be made that passes `format` locally but then CI will reject it for trailing whitespace, or DOS line endinds. This adds a new tools/whitespace-format.sh script that automatically fixes trailing whitespace and DOS carriage returns, matching the checks performed by CI. This script is then integrated into the `format` cmake target so it gets run for that. I verified that the script works on both Linux and Mac. | 9 个月前 | |
Migrate from Pipenv to uv (#12781) uv has garnered a lot of Python community support recently, consolidating and replacing virtualenv, Pipenv, pip, etc. In addition to consolidating a variety of tools under one interface, it is faster and, at this point, I feel is more recognizable than Pipenv. This commit transitions us from Pipenv to uv. | 7 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 2 个月前 | ||
| 7 天前 | ||
| 3 年前 | ||
| 8 个月前 | ||
| 2 年前 | ||
| 7 个月前 | ||
| 2 年前 | ||
| 9 年前 | ||
| 5 个月前 | ||
| 2 年前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 2 年前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 7 年前 | ||
| 7 年前 | ||
| 7 年前 | ||
| 2 年前 | ||
| 7 年前 | ||
| 1 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 10 年前 | ||
| 5 个月前 | ||
| 6 年前 | ||
| 7 年前 | ||
| 7 年前 | ||
| 6 年前 | ||
| 5 年前 | ||
| 9 个月前 | ||
| 7 个月前 |