Git Product home page Git Product logo

nanode's Issues

Ethershield_webserver: Timing bug breaks request handling

The Ethershield_webserver example works fine, but occasionally won't respond to requests. Once I added debug logging to trace the execution this problem vanished; which makes me believe it's a timing bug where something isn't waiting as long as it should before proceeding.

To reproduce:

  • start Ethershield_webserver example, ensure it serves requests
  • make multiple requests (either manually or with apache ab: ab -n 10 <ip>
  • expected result: all requests get handled fine
  • actual result: some requests time out

To "fix":

  • add a Serial.println(...) command after dat_p=es.ES_packetloop_icmp_tcp(buf,plen); in line 172
  • re-run the test above
  • result: all requests get handled fine

Ethershield_webserver: DHCP won't work after reset or power cycle

DHCP works fine in the Ethershield_webserver example directly after uploading the binary. However if the board is reset (via the reset push-button) or power cycled (unplug power source, plug back in) DHCP discovery will start but never yield an IP address.

It will work again after uploading a new binary; but again only once.

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.