Giter VIP home page Giter VIP logo

Comments (4)

aoh avatar aoh commented on August 22, 2024 1

Great. I'll have a look when I have some spare hacking time. That is coming from https://github.com/aoh/owl-lisp/blob/master/owl/io.scm#L693 . I/O code got updated in owl some time ago, and radamsa here ends up using it with timeouts in a way that hasn't been tested and fully implemented yet, for which case there is a warning print to stderr.

from radamsa.

aoh avatar aoh commented on August 22, 2024 1

I/o alarm removal on input error added to owl, so the fix will be in next radamsa version. A test is needed also in owl, but I didn't find a way to test for an i/o error portably yet.

Thanks for the bug! With bad luck the issue might break nondeterminism (read from port with timeout where connection is broken and i/o timeout is signaled when the same fd is used by another connect), and the print was annoying :)

from radamsa.

aoh avatar aoh commented on August 22, 2024

Hi,

Cool, a bug. I don't recall seeing that . Have you been able to reproduce it? Do you recall if it happens always in file, TCP, stdout or some particular input or output combination?

from radamsa.

vah13 avatar vah13 commented on August 22, 2024

yes, this is a request input parameter
radamsa.exe req.txt req2.txt -n 1000000 -s 1111 -o 192.168.72.142:1111

req.txt

GET / HTTP/1.1
Host: 127.0.0.1:1111
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4

req2.txt

POST / HTTP/1.1
Host: 127.0.0.1:1111
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4

aaaa


from radamsa.

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.