Skip to content
Snippets Groups Projects
Closed Syntect server: "server closed idle connection bug" error causes search results to not get loaded or highlighted
  • View options
  • Syntect server: "server closed idle connection bug" error causes search results to not get loaded or highlighted

  • View options
  • Closed Issue created by Warren Gifford

    Created by: attfarhan

    Steps to reproduce:

    1. Execute a diff search
    2. 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.

    Actual behavior:

    image

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first