Syntect server: "server closed idle connection bug" error causes search results to not get loaded or highlighted
View options
- Truncate descriptions
Created by: attfarhan
Steps to reproduce:
- Execute a diff search
- When scrolling through the results, some don't get highlighted properly.
If you try refreshing or try searching for that specific result, the result usually shows up properly highlighted the next time. This could be due to our virtual list "viewed" logic. Will have to look into it more.
Locally, I see that the connection to the syntax highlighter is closed when the highlightCode
request is made:
"making request to http://localhost:9238/: Post http://localhost:9238/: http: server closed idle connection"
Expected behavior:
Every result gets highlighted.