Repository navigation
Commit 7fdad36
committed
Bound the serve GET's error body read in time
The error body is only shown in the message, so read it under a 64 KiB
cap (or the caller's, if smaller) and the attempt's body timeout; a
longer or stalled body is dropped and the status alone is reported.
Assisted-by: Claude Code:claude-opus-5-51 parent 90d4d40 commit 7fdad36
1 file changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1732 | 1732 | | |
1733 | 1733 | | |
1734 | 1734 | | |
1735 | | - | |
1736 | | - | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
1740 | 1746 | | |
1741 | 1747 | | |
1742 | 1748 | | |
| |||
2922 | 2928 | | |
2923 | 2929 | | |
2924 | 2930 | | |
2925 | | - | |
2926 | | - | |
| 2931 | + | |
| 2932 | + | |
2927 | 2933 | | |
2928 | 2934 | | |
2929 | 2935 | | |
| |||
0 commit comments