GithubHelp home page GithubHelp logo

Comments (4)

nobody-famous avatar nobody-famous commented on July 20, 2024

I'm able to recreate the issue, so that's a plus. When I run it, it's getting a socket error because of some non-blocking issue but then something is blowing up trying to send the debugger request. I see the message being sent in the lsp code, but not in the vscode trace, so I'm thinking something is causing the message to get formatted wrong. I'm still trying to figure out what's going on there.

from alive.

madkins23 avatar madkins23 commented on July 20, 2024

I was trying to duplicate this on Ubuntu Linux but it seems to be working for me:

(ql:quickload :drakma)
To load "drakma":
  Load 1 ASDF system:
    drakma
; Loading "drakma"
................
(drakma)

(drakma:http-request "http://lisp.org")
<html>
<head><title>308 Permanent Redirect</title></head>
<body>
<center><h1>308 Permanent Redirect</h1></center>
<hr><center>nginx</center>
</body>
</html>

I tested this with Alive 0.4.1 / SBCL 2.3.2 first and then realized the latest Linux version was SBCL 2.3.8 so I loaded that and tested again with the same result. Checking back, it looks like SBCL 2.3.2 is the latest Windows version.

If I'm not testing this properly let me know and I'll try to get it fail. My original goal was to use my lsp-tester to grab the actual traffic between Alive and Alive LSP and add it here just in case that shed some light on the issue.

from alive.

nobody-famous avatar nobody-famous commented on July 20, 2024

I now have a theory. It's not generating the headers correctly for the packet. For no good reason, it's not putting \r\n line endings, it's only putting \n. It's not doing that for anything else, only the debugger request for the drakma call. I'm going to switch how I generate the packets and see if I can get it to stop doing that. With any luck, that'll fix it.

It's not too surprising that it might be working correctly on Linux. SBCL on Windows is known to be flaky.

from alive.

nobody-famous avatar nobody-famous commented on July 20, 2024

OK, that fixed it. It should go into the debugger now instead of crashing the server.

from alive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.