• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pfalcon / micropython / 1015
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 29 Oct 2017 04:18PM UTC
Jobs 1
Files 223
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1015

push

travis-ci

pfalcon
extmod/modussl_axtls: socket_read: Handle EAGAIN.

If SSL_EAGAIN is returned (which is a feature of MicroPython's axTLS fork),
return EAGAIN.

Original axTLS returns SSL_OK both when there's no data to return to user
yet and when the underlying stream returns EAGAIN. That's not distinctive
enough, for example, original module code works well for blocking stream,
but will infinite-loop for non-blocking socket with EAGAIN. But if we fix
non-blocking case, blocking calls to .read() will return few None's initially
(while axTLS progresses thru handshake).

Using SSL_EAGAIN allows to fix non-blocking case without regressing the
blocking one.

Note that this only handles case of non-blocking reads of application data.
Initial handshake and writes still don't support non-blocking mode and must
be done in the blocking way.

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1015.1 29 Oct 2017 04:18PM UTC 0
0.0
Travis Job 1015.1
Source Files on build 1015
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1015
  • 453687f6 on github
  • Next Build on ussl-axtls-nblock-reads (#1016)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc