diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2012-01-12 20:09:11 +0000 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2012-01-12 20:09:11 +0000 |
commit | 7f007410b0029044ff67082cc8d8bcefa0412050 (patch) | |
tree | 0b7cdab99902c7ec4bcae7aa8fca69f72dc34457 | |
parent | 0fa69a673287cca1a4a759ee9f8171e1799a4489 (diff) | |
download | pysendfile-7f007410b0029044ff67082cc8d8bcefa0412050.tar.gz |
update README
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | README | 21 |
2 files changed, 12 insertions, 11 deletions
@@ -38,4 +38,4 @@ Version 1.2.2 - 2008-03-29 (Ben Woolley) -## First release including support for Linux, FreeBSD and Dragonfly platforms. +## First release including support for Linux, FreeBSD and DragonflyBSD platforms. @@ -45,7 +45,7 @@ while 1: try: sent = sendfile(sock.fileno(), file.fileno(), offset, 4096) except OSError, err: - if err.errno == errno.EAGAIN: # retry + if err.errno == (errno.EAGAIN, errno.EBUSY): # retry continue raise else: @@ -57,18 +57,19 @@ while 1: Authors ======= -pysendfile was originally written by Ben Woolley including Linux and FreeBSD -support. +pysendfile was originally written by Ben Woolley including Linux , FreeBSD +and DragonflyBSD support. Later on Niklas Edmundsson took over maintenance and added AIX support. It's been completely rewritten by Giampaolo Rodola' (g.rodola@gmail.com) who took over maintenance and added support for: -- Python 3 -- OSX -- SunOS -- FreeBSD flag argument -- large files -- Linux header/trailer support via TCP_CORK socket option -- non-blocking sockets + * Python 3 + * non-blocking sockets + * large files support + * Mac OSX + * Sun OS + * FreeBSD flag argument + * a simple benchmark suite + * unit tests |