question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fibers strategy doesn't work for embeddedHttpServer

See original GitHub issue

The simple http server code given in the example:

Stereotypes.def.embeddedHttpServer(8080, new Stereotypes.HttpStringWorker("/", ex -> "Hello world!"));

works, but if I change def to fibers, it doesn’t work. The client connects, but no response is received from the server.

Tested on latest loom EA build: 16-loom+4-56

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hrjcommented, Aug 31, 2020

Thanks for the fix! Will try it out later.

Just another request: can you please create a release on Github whenever a new version is tagged? Those who are “watching for releases” will get a notification automatically from Github.

1reaction
lucav76commented, Aug 30, 2020

Now the version on GitHub should work. As soon as I can I will publish version 2.2 on Maven Central. Thank you again for submitting the bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

lucav76/Fibry: The first Java Actor System supporting fibers ...
Fibry is the first Java Actor System using fibers (now called Virtual Threads) from Project Loom, however it also works with threads using...
Read more >
Project Loom: Java With a Stronger Fiber - DZone
Project Loom introduces continuations (co-routines) and fibers (a type of green threads), allowing you to choose between threads and fibers.
Read more >
What is a good strategy to queue incoming queries (posting to ...
Yes, I am running them on the same database, and you are right in your above comment that I want to run them...
Read more >
Practical network security: experiences with ntop - ScienceDirect
Ntop is an open-source web-based traffic measurement and monitoring ... This means that they do not provide network/subnet detection/protection nor do they ...
Read more >
EMC NetWorker Administration Guide - Dell
The EMC NetWorker Data Domain Boost Integration Guide provides detailed information about setting up DD Boost deduplication devices to work ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found