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

pfalcon / micropython
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Repo Added 22 Jan 2017 12:37PM UTC
Files 246
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

LAST BUILD ON BRANCH ussl-axtls-nblock-reads
branch: ussl-axtls-nblock-reads
CHANGE BRANCH
x
Reset
  • ussl-axtls-nblock-reads
  • README-await
  • bytecode-get-loc
  • bytesio-cow
  • cc3200-bye-uos.sep
  • cmp-readbin-writebin
  • cmp-ustruct-stream
  • codeconv-docs
  • commit-real-name
  • cpp-coveralls-0.3.12
  • cross
  • decode_codestate_size
  • docs-cpy-3.5
  • docs-pfalcon-copyright
  • docs-pyboard-geninfo-hw
  • docs-single-index
  • docs-toc-drop-ind-tables
  • docs-ver-release-same
  • embed-readme
  • esp8266-ld-update
  • esp8266-plus-32K
  • extmod-moduselect-ipoll
  • extmod-rommap
  • float-cmp-fix
  • from_bytes-default-endian
  • frozen-sizes
  • gen-pend-throw
  • getsizeof
  • inplace-ops-fallback
  • ipoll
  • libaxtls-auto
  • lookup-attr-locals_dict
  • lookup-new
  • machine-signal
  • master
  • master-sizable
  • modlwip-multicast-add
  • modlwip-poll-peer-closed
  • mpy-cross-all
  • network-basenic-doc
  • obj-slots
  • obj-slots-revamp
  • obj.h-rom-consts
  • pfalcon
  • pfalcon-20180831
  • pfalcon-20180907
  • pfalcon-20180908
  • pfalcon-20181006
  • pin-docs-remove-call
  • pin-on-off
  • pyboard-exec-device
  • readme-contrib
  • res-stream2
  • resource_stream1
  • reverse-ops
  • run-tests-features
  • signal-subclass-pin-constructor
  • soft-reboot-friendly-repl
  • spec-meth-qstrs-byte
  • spec-methods-all
  • stream-read-writebin
  • test-ffi_float-skip
  • tests-ussl-conn
  • time-pulse-no-exc
  • tinytest-check-output
  • tools-bin2res
  • trav-stkless-always
  • travis-stackless
  • ucrypto
  • unary-op-bc
  • unix-minus-m-pkg
  • v1.10
  • v1.11
  • zephyr-1.13-updates
  • zephyr-build-test
  • zephyr-revamp-make
  • zephyr-socket
  • zephyr-socket2
  • zephyr-wip

pending completion
1016

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.

17415 of 17787 relevant lines covered (97.91%)

321853.66 hits per line

Relevant lines Covered
Build:
Build:
17787 RELEVANT LINES 17415 COVERED LINES
321853.66 HITS PER LINE
Source Files on ussl-axtls-nblock-reads
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1016 ussl-axtls-nblock-reads 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 st... push 29 Oct 2017 06:05PM UTC pfalcon travis-ci pending completion  
1015 ussl-axtls-nblock-reads 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 st... push 29 Oct 2017 04:18PM UTC pfalcon travis-ci pending completion  
See All Builds (864)
  • Repo on GitHub
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