fix(tts): remove Unix socket half-close that broke Kokoro TTS #4
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_agent!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_kokoro_tts_halfclose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
writer.shutdown()sending a TCP FIN (half-close) before reading the responsetokio::io::split()in favor of usingmut streamdirectly withConnection: closeheader/uipath for voice TTSRelated Issue
Closes #3
Changes
crates/hero_agent_server/src/routes.rs:hero_voice_tts_unix(): removedtokio::io::split()andwriter.shutdown(), usemut streamdirectlyConnection: closeHTTP header to signal end-of-request without socket shutdownchat()andvoice_tts()/uipath to voice TTS aibroker fallback URLTest Results
Thanks.