FIX 1.3 KB

12345678910111213141516171819202122232425262728
  1. http was preserving old host header during redirects
  2. fix smtp.send hang on source error
  3. add create field to FTP and SMTP and fix HTTP ugliness
  4. clean timeout argument to open functions in SMTP, HTTP and FTP
  5. eliminate globals from namespaces created by module().
  6. url.absolute was not working when base_url was already parsed
  7. http.request was redirecting even when the location header was empty
  8. tcp{client}:shutdown() was checking for group instead of class.
  9. tcp{client}:send() now returns i+sent-1...
  10. get rid of a = socket.try() in the manual, except for protected cases. replace it with assert.
  11. get rid of "base." kludge in package.loaded
  12. check all "require("http")" etc in the manual.
  13. make sure sock_gethostname.* only return success if the hp is not null!
  14. change 'l' prefix in C libraries to 'c' to avoid clash with LHF libraries
  15. don't forget the declarations in luasocket.h and mime.h!!!
  16. setpeername was using udp{unconnected}
  17. fixed a bug in http.lua that caused some requests to fail (Florian Berger)
  18. fixed a bug in select.c that prevented sockets with descriptor 0 from working (Renato Maia)
  19. fixed a "bug" that caused dns.toip to crash under uLinux
  20. fixed a "bug" that caused a crash in gethostbyname under VMS
  21. DEBUG and VERSION became _DEBUG and _VERSION
  22. send returns the right value if input is "". Alexander Marinov