Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
xMlex
php_trochilidae
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
optimizations, hooks
- #4
#4
Closed
xMlex
wants to merge 60 commits into
main
xMlex/php_trochilidae:main
from
pre-release
xMlex/php_trochilidae:pre-release
Copy head branch name to clipboard
Conversation
Commits
60
(60)
Checks
Files changed
Closed
optimizations, hooks
#4
xMlex
wants to merge 60 commits into
main
xMlex/php_trochilidae:main
from
pre-release
xMlex/php_trochilidae:pre-release
Copy head branch name to clipboard
Commits
Commits on Jul 1, 2026
refactor: migrate to Zend Memory API, add comprehensive tests, fix strtok bug
Show description for 53f8d62
xMlex
committed
53f8d62
View commit details
Copy full SHA for 53f8d62
Browse repository at this point
Remove unnecessary <zend.h> include from tr_network.h
Show description for b8996c1
xMlex
committed
b8996c1
View commit details
Copy full SHA for b8996c1
Browse repository at this point
Add php.h stub for standalone unit tests
Show description for ae8c889
xMlex
committed
ae8c889
View commit details
Copy full SHA for ae8c889
Browse repository at this point
Update README: mark request_id as done, remove local path
xMlex
committed
d951282
View commit details
Copy full SHA for d951282
Browse repository at this point
Rewrite README: build instructions, function reference, quick start
xMlex
committed
94a3665
View commit details
Copy full SHA for 94a3665
Browse repository at this point
Add install test script and fix Dockerfile
Show description for 1324db0
xMlex
committed
1324db0
View commit details
Copy full SHA for 1324db0
Browse repository at this point
Add overflow checks in tr_array ensure_capacity and init
xMlex
committed
5acbd4d
View commit details
Copy full SHA for 5acbd4d
Browse repository at this point
Update README: add INI config, how-it-works, remove TODO and .travis.yml
xMlex
committed
b35199b
View commit details
Copy full SHA for b35199b
Browse repository at this point
add opencode
xMlex
committed
678eb1b
View commit details
Copy full SHA for 678eb1b
Browse repository at this point
Fix size tracking in tr_array write helpers after set_position
xMlex
committed
4037b4e
View commit details
Copy full SHA for 4037b4e
Browse repository at this point
Add tests for size tracking after set_position + writes
xMlex
committed
3e097ce
View commit details
Copy full SHA for 3e097ce
Browse repository at this point
Fix NULL/overflow safety in parse_domain_port_pairs
xMlex
committed
fa9d4d3
View commit details
Copy full SHA for fa9d4d3
Browse repository at this point
Fix docs and install test for trochilidae_timer_get_info()
Show description for 8b5c752
xMlex
committed
8b5c752
View commit details
Copy full SHA for 8b5c752
Browse repository at this point
Fix memory leaks and unsafe patterns
Show description for baa8f30
xMlex
committed
baa8f30
View commit details
Copy full SHA for baa8f30
Browse repository at this point
Add UDP test server for E2E integration testing
Show description for 6ca0f9e
xMlex
committed
6ca0f9e
View commit details
Copy full SHA for 6ca0f9e
Browse repository at this point
Generate random request_id for CLI mode
xMlex
committed
328ab3c
View commit details
Copy full SHA for 328ab3c
Browse repository at this point
Use uint64_t for generate_random_ulong and seed srand fallback
xMlex
committed
76b9349
View commit details
Copy full SHA for 76b9349
Browse repository at this point
Add internal hooks system for curl_exec and SoapClient->__soapCall
Show description for bedd581
xMlex
committed
bedd581
View commit details
Copy full SHA for bedd581
Browse repository at this point
Add trochilidae.chunk_size INI (default 65507, clamps to MAX_CHUNK_SIZE)
Show description for 149eb69
xMlex
committed
149eb69
View commit details
Copy full SHA for 149eb69
Browse repository at this point
Add docs/protocol.md with wire format specification
xMlex
committed
09c98b1
View commit details
Copy full SHA for 09c98b1
Browse repository at this point
Add protocol TODO section to README.md
xMlex
committed
d5b14bd
View commit details
Copy full SHA for d5b14bd
Browse repository at this point
Update TODO: add code stability/scalability items alongside protocol items
xMlex
committed
93d35f2
View commit details
Copy full SHA for 93d35f2
Browse repository at this point
Commits on Jul 2, 2026
S1: Move setsockopt SO_SNDBUF to init, set to 256KB
xMlex
committed
21da586
View commit details
Copy full SHA for 21da586
Browse repository at this point
S2: Replace gethostbyname with getaddrinfo (thread-safe DNS)
xMlex
committed
459eeb9
View commit details
Copy full SHA for 459eeb9
Browse repository at this point
S6: Fix DNS refresh guard condition
xMlex
committed
e0aab17
View commit details
Copy full SHA for e0aab17
Browse repository at this point
S11: Mark as by design — totalSentSize counts wire bytes
xMlex
committed
101c871
View commit details
Copy full SHA for 101c871
Browse repository at this point
S9: Heap-allocate chunk packet instead of stack
xMlex
committed
42ef668
View commit details
Copy full SHA for 42ef668
Browse repository at this point
S7: Replace fprintf(stderr)/perror with php_error_docref
xMlex
committed
022e333
View commit details
Copy full SHA for 022e333
Browse repository at this point
S8: Use client->chunk_count in error message
xMlex
committed
af4526e
View commit details
Copy full SHA for af4526e
Browse repository at this point
S3+S4: Non-blocking sendto with drop counter
xMlex
committed
03118af
View commit details
Copy full SHA for 03118af
Browse repository at this point
Add chunking test (004_chunking)
xMlex
committed
dbd92b2
View commit details
Copy full SHA for dbd92b2
Browse repository at this point
S5: Replace strcpy/strncpy with strlcpy/bounded memcpy
xMlex
committed
e54de32
View commit details
Copy full SHA for e54de32
Browse repository at this point
P1+P3+P6: Magic+version and payload_len in chunk header (reusing reserved padding)
xMlex
committed
9ee5338
View commit details
Copy full SHA for 9ee5338
Browse repository at this point
Update protocol.md: chunk header now has magic+version+payload_len
xMlex
committed
bfe87fa
View commit details
Copy full SHA for bfe87fa
Browse repository at this point
update readme
xMlex
committed
5e998b6
View commit details
Copy full SHA for 5e998b6
Browse repository at this point
fix build and tests
xMlex
committed
72d0b33
View commit details
Copy full SHA for 72d0b33
Browse repository at this point
fix build and tests
xMlex
committed
3c9309b
View commit details
Copy full SHA for 3c9309b
Browse repository at this point
fix: revert tr_network.c to system allocator, fix stubs and instructions
xMlex
committed
9935a9b
View commit details
Copy full SHA for 9935a9b
Browse repository at this point
refactor: replace tests/stubs/php.h with trochilidae/compat.h
Show description for 68a562a
xMlex
committed
68a562a
View commit details
Copy full SHA for 68a562a
Browse repository at this point
add e2e test instructions to .opencode/instructions.md
xMlex
committed
96f38a9
View commit details
Copy full SHA for 96f38a9
Browse repository at this point
fix build and tests
xMlex
committed
8cb92c0
View commit details
Copy full SHA for 8cb92c0
Browse repository at this point
Commits on Jul 20, 2026
fix alpine build
xMlex
committed
00f06b0
View commit details
Copy full SHA for 00f06b0
Browse repository at this point
fix alpine build
xMlex
committed
f501065
View commit details
Copy full SHA for f501065
Browse repository at this point
run tests on alpine
xMlex
committed
8c33bda
View commit details
Copy full SHA for 8c33bda
Browse repository at this point
[alpine] fix ./trochilidae/tr_timer.h:17:5: error: unknown type name 'uint'; did you mean 'int'?
xMlex
committed
611267c
View commit details
Copy full SHA for 611267c
Browse repository at this point
fix collector lifecycle and chunk send failure handling
Show description for 6e1d79d
xMlex
and
cursoragent
committed
6e1d79d
View commit details
Copy full SHA for 6e1d79d
Browse repository at this point
fix timestamp serialization and defensive request metrics encoding
Show description for 1ce78dd
xMlex
and
cursoragent
committed
1ce78dd
View commit details
Copy full SHA for 1ce78dd
Browse repository at this point
harden network host checks and align protocol validation
Show description for 9de6f08
xMlex
and
cursoragent
committed
9de6f08
View commit details
Copy full SHA for 9de6f08
Browse repository at this point
restore patched handlers during module shutdown
Show description for 39223bf
xMlex
and
cursoragent
committed
39223bf
View commit details
Copy full SHA for 39223bf
Browse repository at this point
fix fpm request lifecycle memory handling and add repro coverage
Show description for 8e06f14
xMlex
and
cursoragent
committed
8e06f14
View commit details
Copy full SHA for 8e06f14
Browse repository at this point
add alpine-based cli/fpm stress and debug test harness
Show description for 3035f10
xMlex
and
cursoragent
committed
3035f10
View commit details
Copy full SHA for 3035f10
Browse repository at this point
add problematic send metric to phpinfo output
Show description for 0c7952a
xMlex
and
cursoragent
committed
0c7952a
View commit details
Copy full SHA for 0c7952a
Browse repository at this point
[alpine] fix hooks
xMlex
committed
5243cd1
View commit details
Copy full SHA for 5243cd1
Browse repository at this point
[alpine] fix rm: can't remove '/tmp/tmp.AFKNdC/php-fpm.pid': No such file or directory
xMlex
committed
cf0d328
View commit details
Copy full SHA for cf0d328
Browse repository at this point
Commits on Aug 14, 2026
Fix chunk_size INI ordering and document build/test workflow.
Show description for 17c1d50
xMlex
committed
17c1d50
View commit details
Copy full SHA for 17c1d50
Browse repository at this point
Fix hooks test on PHP 7.4 where json is not loaded by run-tests.
Show description for 6887dd2
xMlex
committed
6887dd2
View commit details
Copy full SHA for 6887dd2
Browse repository at this point
Commits on Sep 17, 2026
Fix request data string leak on repeated trochilidae_reset
xMlex
committed
5fcd8a2
View commit details
Copy full SHA for 5fcd8a2
Browse repository at this point
fix
xMlex
committed
4e04945
View commit details
Copy full SHA for 4e04945
Browse repository at this point
Commits on Sep 18, 2026
composer for pie
xMlex
committed
ec97ffd
View commit details
Copy full SHA for ec97ffd
Browse repository at this point
composer for pie
xMlex
committed
d112142
View commit details
Copy full SHA for d112142
Browse repository at this point
You can’t perform that action at this time.