Skip to content

LSP messages are not parsed properly if the http header and json payload are received separately#10215

Closed
yegappan wants to merge 1 commit intovim:masterfrom
yegappan:lsp
Closed

LSP messages are not parsed properly if the http header and json payload are received separately#10215
yegappan wants to merge 1 commit intovim:masterfrom
yegappan:lsp

Conversation

@yegappan
Copy link
Member

Collapse all the received data before parsing the LSP messages.

@chrisbra
Copy link
Member

Hi Yegappan, could that also fix the issue from the vim-win32-installer repository?

@vim-ml
Copy link

vim-ml commented Apr 17, 2022 via email

@vim-ml
Copy link

vim-ml commented Apr 17, 2022 via email

@codecov
Copy link

codecov bot commented Apr 18, 2022

Codecov Report

Merging #10215 (5209831) into master (53e8f3f) will decrease coverage by 0.06%.
The diff coverage is 88.88%.

❗ Current head 5209831 differs from pull request most recent head bd62374. Consider uploading reports for the commit bd62374 to get more accurate results

@@            Coverage Diff             @@
##           master   #10215      +/-   ##
==========================================
- Coverage   81.01%   80.94%   -0.07%     
==========================================
  Files         161      161              
  Lines      185331   185500     +169     
  Branches    41845    41931      +86     
==========================================
+ Hits       150149   150160      +11     
- Misses      22630    22787     +157     
- Partials    12552    12553       +1     
Flag Coverage Δ
huge-clang-none 82.40% <88.88%> (-0.01%) ⬇️
linux 82.40% <88.88%> (-0.01%) ⬇️
mingw-x64-HUGE 0.00% <0.00%> (?)
mingw-x64-HUGE-gui 77.20% <88.88%> (+<0.01%) ⬆️
windows 75.99% <88.88%> (-1.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/channel.c 83.60% <88.88%> (-0.03%) ⬇️
src/locale.c 75.43% <0.00%> (-1.35%) ⬇️
src/profiler.c 83.14% <0.00%> (-1.13%) ⬇️
src/os_win32.c 57.11% <0.00%> (-0.89%) ⬇️
src/os_mswin.c 50.97% <0.00%> (-0.68%) ⬇️
src/if_python3.c 72.54% <0.00%> (-0.68%) ⬇️
src/gui_dwrite.cpp 45.82% <0.00%> (-0.56%) ⬇️
src/gui_w32.c 34.95% <0.00%> (-0.33%) ⬇️
src/gui.c 72.92% <0.00%> (-0.27%) ⬇️
src/term.c 72.56% <0.00%> (-0.25%) ⬇️
... and 45 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53e8f3f...bd62374. Read the comment docs.

@vim-ml
Copy link

vim-ml commented Apr 21, 2022 via email

@vim-ml
Copy link

vim-ml commented Apr 21, 2022 via email

@chrisbra
Copy link
Member

Now, It finally worked. I'll keep an eye on that to see if this happens more often.

@vim-ml
Copy link

vim-ml commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants