diff options
| author | Diego Nehab <diego@impa.br> | 2013-06-14 19:12:44 +0800 |
|---|---|---|
| committer | Diego Nehab <diego@impa.br> | 2013-06-14 19:12:44 +0800 |
| commit | ea812a755e6b834505ebbe304d4845df24017515 (patch) | |
| tree | 7eda49604b22f162de9882491f207f8731c4fe8f /doc | |
| parent | 2cc51443c21a6f764361147bf9b9361b3eb40c92 (diff) | |
| download | luasocket-ea812a755e6b834505ebbe304d4845df24017515.tar.gz luasocket-ea812a755e6b834505ebbe304d4845df24017515.tar.bz2 luasocket-ea812a755e6b834505ebbe304d4845df24017515.zip | |
Update NEW file and section
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/index.html | 23 | ||||
| -rw-r--r-- | doc/ltn12.html | 8 |
2 files changed, 27 insertions, 4 deletions
diff --git a/doc/index.html b/doc/index.html index b8f8798..14b2fe9 100644 --- a/doc/index.html +++ b/doc/index.html | |||
| @@ -155,6 +155,29 @@ IPv6 addresses, and return the socket family as a third value; | |||
| 155 | <li> Improved: Hidden all internal library symbols; | 155 | <li> Improved: Hidden all internal library symbols; |
| 156 | <li> Improved: Better error messages; | 156 | <li> Improved: Better error messages; |
| 157 | <li> Improved: Better documentation of socket options. | 157 | <li> Improved: Better documentation of socket options. |
| 158 | <li> Fixed: manual sample of HTTP authentication now uses correct | ||
| 159 | "authorization" header (Alexandre Ittner); | ||
| 160 | <li> Fixed: failure on bind() was destroying the socket (Sam Roberts); | ||
| 161 | <li> Fixed: receive() returns immediatelly if prefix can satisfy | ||
| 162 | bytes requested (M Joonas Pihlaja); | ||
| 163 | <li> Fixed: multicast didn't work on Windows, or anywhere | ||
| 164 | else for that matter (Herbert Leuwer, Adrian Sietsma); | ||
| 165 | <li> Fixed: select() now reports an error when called with more | ||
| 166 | sockets than FD_SETSIZE (Lorenzo Leonini); | ||
| 167 | <li> Fixed: manual links to home.html changed to index.html | ||
| 168 | (Robert Hahn); | ||
| 169 | <li> Fixed: mime.unb64() would return an empty string on results that started | ||
| 170 | with a null character (Robert Raschke); | ||
| 171 | <li> Fixed: HTTP now automatically redirects on 303 and 307 (Jonathan Gray); | ||
| 172 | <li> Fixed: calling sleep() with negative numbers could | ||
| 173 | block forever, wasting CPU. Now it returns immediately (MPB); | ||
| 174 | <li> Improved: FTP commands are now sent in upper case to | ||
| 175 | help buggy servers (Anders Eurenius); | ||
| 176 | <li> Improved: known headers now sent in canonic | ||
| 177 | capitalization to help buggy servers (Joseph Stewart); | ||
| 178 | <li> Improved: Clarified tcp:receive() in the manual (MPB); | ||
| 179 | <li> Improved: Decent makefiles (LHF). | ||
| 180 | <li> Fixed: RFC links in documentation now point to IETF (Cosmin Apreutesei). | ||
| 158 | </ul> | 181 | </ul> |
| 159 | 182 | ||
| 160 | <!-- old ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 183 | <!-- old ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
diff --git a/doc/ltn12.html b/doc/ltn12.html index 7e2f49a..54e66fb 100644 --- a/doc/ltn12.html +++ b/doc/ltn12.html | |||
| @@ -224,8 +224,8 @@ local ltn12 = require("ltn12") | |||
| 224 | 224 | ||
| 225 | -- copy a file | 225 | -- copy a file |
| 226 | ltn12.pump.all( | 226 | ltn12.pump.all( |
| 227 | ltn12.source.file(io.open("original.png")), | 227 | ltn12.source.file(io.open("original.png", "rb")), |
| 228 | ltn12.sink.file(io.open("copy.png")) | 228 | ltn12.sink.file(io.open("copy.png", "wb")) |
| 229 | ) | 229 | ) |
| 230 | </pre> | 230 | </pre> |
| 231 | 231 | ||
| @@ -379,8 +379,8 @@ local ltn12 = require("ltn12") | |||
| 379 | 379 | ||
| 380 | -- copy a file | 380 | -- copy a file |
| 381 | ltn12.pump.all( | 381 | ltn12.pump.all( |
| 382 | ltn12.source.file(io.open("original.png")), | 382 | ltn12.source.file(io.open("original.png", "rb")), |
| 383 | ltn12.sink.file(io.open("copy.png")) | 383 | ltn12.sink.file(io.open("copy.png", "wb")) |
| 384 | ) | 384 | ) |
| 385 | </pre> | 385 | </pre> |
| 386 | 386 | ||
