Commit Graph

27 Commits

Author SHA1 Message Date
世界
5ddaf78fdc Fix missing with_gvisor build tag for tailscale 2026-03-09 20:18:28 +08:00
Oleg Artyomov
14eb5395b3 service/ccm: strip Accept-Encoding before forwarding to avoid untracked usage
When clients (e.g. Node.js Anthropic SDK) explicitly set Accept-Encoding: gzip,
Go's http.Transport does not transparently decompress the response body, because
it only does so when it added the header itself. This causes CCM's json.Unmarshal
to receive raw gzip bytes, silently failing to parse usage data and leaving the
usage counter unchanged.

Fix: remove Accept-Encoding from the outgoing proxy request. Transport adds it
automatically and transparently decompresses response.Body before CCM reads it.

Wire compression (CCM→Anthropic) is preserved — Transport still negotiates gzip.
Only CCM→localhost path is affected; compression on loopback has no practical
benefit.
2026-03-09 20:06:34 +08:00
世界
acc3d774cb platform: Improve OOM killer for iOS 2026-02-27 14:58:06 +08:00
世界
8436c06718 platform: Improve iOS OOM killer 2026-02-26 14:13:32 +08:00
世界
847cbcdae8 service/ccm,ocm: Fixes and improvements 2026-02-26 13:36:46 +08:00
世界
f085917d8c Fix DNS transports 2026-01-17 05:48:41 +08:00
世界
c657f995cf Update tailscale to v1.92.4 2026-01-17 05:48:28 +08:00
世界
984e328839 Fix missing RootPoolFromContext and TimeFuncFromContext in HTTP clients 2026-01-17 05:48:16 +08:00
世界
0fd51633f4 Add OpenAI Codex Multiplexer service 2026-01-17 05:47:42 +08:00
世界
40ccecb341 Update pricing for CCM service 2026-01-17 05:47:42 +08:00
世界
0b6fe45fb9 platform: Refactoring libbox to use gRPC-based protocol 2026-01-17 05:47:32 +08:00
世界
6d4e1d333f Fix read credentials for ccm service 2026-01-17 05:46:24 +08:00
世界
e354670c36 Add claude code multiplexer service 2026-01-17 05:46:23 +08:00
世界
e7c387b49b Update WireGuard and Tailscale 2026-01-17 05:46:02 +08:00
世界
47392e55a2 Add support for kTLS
Reference: https://gitlab.com/go-extension/tls
2026-01-17 05:44:42 +08:00
世界
0f5810c43c Fix missing RootPoolFromContext and TimeFuncFromContext in HTTP clients 2025-12-22 13:50:57 +08:00
世界
61c33e6db4 ssm-api: Fix save cache 2025-11-04 11:00:43 +08:00
世界
2efdd4dd7c Deprecate common/atomic 2025-08-25 19:49:12 +08:00
世界
98a8acf3ce Fix resolved service 2025-08-16 00:09:29 +08:00
世界
bc03fb71d8 Fix ssm-api 2025-08-15 15:05:37 +08:00
世界
8d5f1ad310 Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
世界
8afe9f4428 Fix ssm-api 2025-07-28 08:01:52 +08:00
世界
56e94d454f Add cache support for ssm-api 2025-07-08 13:14:44 +08:00
世界
ebdae18a7e Fix missing home for derp service 2025-07-08 13:14:43 +08:00
世界
f8f282633b Add SSM API service 2025-07-08 13:14:42 +08:00
世界
ca912aa72f Add resolved service and DNS server 2025-07-08 13:14:41 +08:00
世界
167547f95f Add DERP service 2025-07-08 13:14:41 +08:00