Repository navigation
Commit 8c5c5c9
committed
Add connection timeout and socket abandonment to prevent hung WebSocket handshakes
├── apps
│ ├── browser
│ │ ├── README.md
│ │ └── src
│ │ ├── background
│ │ │ ├── keep-alive.ts
│ │ │ ├── main.ts
│ │ │ ├── message-handler.ts
│ │ │ └── websocket.ts
│ │ └── manifest.json
│ └── editor
│ ├── src
│ │ ├── extension.ts
│ │ ├── i18n
│ │ │ └── translations
│ │ │ └── services
│ │ │ └── websocket-manager.ts
│ │ ├── services
│ │ │ ├── websocket-manager.ts
│ │ │ └── websocket-server-process.ts
│ │ ├── utils
│ │ │ └── shared-token.ts
│ │ └── views
│ │ └── prompt
│ │ └── backend
│ │ └── prompt-view-provider.ts
│ └── webpack.config.ts
├── docs
│ └── privacy.mdx
└── packages
└── shared
└── src
├── constants
│ └── websocket.ts
└── types
└── websocket-message.ts1 parent dcb654c commit 8c5c5c9
1 file changed
Lines changed: 27 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
54 | 67 | | |
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
| |||
111 | 122 | | |
112 | 123 | | |
113 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
114 | 132 | | |
| 133 | + | |
115 | 134 | | |
116 | 135 | | |
117 | 136 | | |
| |||
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
| 158 | + | |
139 | 159 | | |
140 | 160 | | |
141 | 161 | | |
| |||
0 commit comments