tanhakabir / rest-book

REST Book is a Visual Studio Code extension that allows you to perform REST calls in a Notebook interface.
https://marketplace.visualstudio.com/items?itemName=tanhakabir.rest-book
MIT License
249 stars 24 forks source link

Using User-Agent hangs the extention #142

Open SwankyLynx opened 6 months ago

SwankyLynx commented 6 months ago

Type: Bug

Working on local with server at localhost:3000 (via vercel dev):

GET localhost:3000/api/path?with=param
User-Agent: anything
Authorization: Bearer ***tOkEN*****

Even stop button doesn't work. It just takes 20% of CPU load.

And this example works:

GET localhost:3000/api/path?with=param
Authorization: Bearer ***tOkEN*****

Extension version: 6.2.1 VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.92GB (6.87GB free)| |Process Argv|--crash-reporter-id cdcbe255-cfd2-403a-8e98-0e5a1866957f| |Screen Reader|no| |VM|0%|