diff options
| author | Haishan <[email protected]> | 2019-04-19 00:16:01 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-04-19 00:17:06 +0800 |
| commit | e68f4ce9664f8164fd6aab284feb9ebed9f2ecdb (patch) | |
| tree | 3e94f49e44daebfb35089152b89cc2f02f3cfdcb /src/components/Config.module.css | |
| parent | 54646e8fe650334aaccb5d0a0efeca21c203e54d (diff) | |
fix(streaming): split and join JSON string chunks correctly
for #13
Sometimes in Safari, in one "pump" you can get the content below(decoded
text string):
'{"up":0,"down":38589}\n{"up":0,"down":59928}'
and then JSON.parse will throw
Diffstat (limited to 'src/components/Config.module.css')
0 files changed, 0 insertions, 0 deletions
