Skip to content
Commits on Jul 31, 2012
  1. @drahosp

    Merge from unstable

    drahosp committed
  2. @drahosp

    New CMake macros

    drahosp committed
Commits on May 2, 2012
  1. @davidm

    cmake: add automated test.

    davidm committed
    Following work on luasocket issue#1.
Commits on May 1, 2012
  1. @davidm

    Merge branch 'upstream'

    davidm committed
  2. @diegonehab
  3. @diegonehab
Commits on Apr 29, 2012
  1. @Florob

    Update method list in tests

    Florob committed
  2. @Florob
  3. @Florob
Commits on Apr 26, 2012
  1. @sam-github

    :shutdown() errors on all invalid argument strings

    sam-github committed
    It used to error only on invalid argument strings that started with 's',
    'r', or 'b'.
  2. @diegonehab
  3. @davidm
Commits on Apr 23, 2012
  1. @diegonehab

    Fixed getpeername/getsockname situation

    diegonehab committed
    - Added IPv6 support to getsockname
    - Simplified getpeername implementation
    - Added family to return of getsockname and getpeername
    and added modification to the manual to describe
Commits on Apr 22, 2012
  1. @diegonehab
  2. @diegonehab
  3. @diegonehab

    Making progress toward a release

    diegonehab committed
    Documented headers.lua
    Update copyright date everywhere
    Remove RCSID from files
    Move version back to 2.1 rather than 2.1.1
    Fixed url package to support ipv6 hosts
    Changed "domain" to "family" in tcp and udp structures
    Implemented getfamily methods
Commits on Apr 19, 2012
  1. @davidm
Commits on Apr 16, 2012
  1. @diegonehab

    First stab at documenation

    diegonehab committed
    Update Lua and Luasocket version in samples and in documentation
    Documented ipv5_v6only default option being set
    Documented tcp6 and udp6
    Documented dns.getaddrinfo
    Documented zero-sized datagram change?
    Documented getoption
  2. @diegonehab
Commits on Apr 11, 2012
  1. @sam-github

    Merge branch 'git-sam' into diego-sam-mwild-integration

    sam-github committed
    Conflicts in options.c were just due to independent small functions
    being close to each other.
    
    unix.c in mwild was broken, it wasn't using LUASOCKET_API.
    
    serial.c needed luaL_reg renamed, and to use LUASOCKET_API.
    
    makefile didn't respect standard DESTDIR and prefix makefile
    variables, and didn't allow LUAV variable to select lua version to build
    against.
    
    I've tested the top-level install-both target builds and installs
    against both lua5.1 and lua5.2, but not done further testing.
    
    Conflicts:
    	README
    	config
    	gem/ltn012.tex
    	makefile
    	src/makefile
    	src/options.c
    	src/options.h
    	src/tcp.c
    	src/usocket.c
  2. @sam-github
  3. @sam-github

    Add Wurldtech note to README.

    sam-github committed
  4. @sam-github

    Correct luasocket version in v2.0.2 readme.

    sam-github committed
    v2.0.2 was released with a README saying it was v2.0.1.
  5. @sam-github
  6. @sam-github

    Bounds check the argument to FD_SET

    sam-github committed
    Failing to check the FD_SET argument against FD_SETSIZE causes
    undefined behaviour (segfaults, for example).
  7. @sam-github

    socket_strerror() sometimes maps errno, instead of its argument

    sam-github committed
    Looks like a historical bug. Its err argument is an error number, but
    if it isn't using a custom error message for it, it just calls
    strerror() with the errno global, effectively ignoring its argument
    and returning a semi-random string.
  8. @sam-github

    Fix links to home.html, they should be to index.html.

    sam-github committed
    home.html doesn't exist, index.html does.
  9. @sam-github

    mime: Remove io dependency

    root committed with sam-github
    This dependency was spuriously added, maybe for debug reasons,
    as confirmed to me by Diego Nehab by mail.
    Some systems based in Lua (e.g. Ginga) prohibit the use of
    io module for security reasons, so this dependency makes
    mime unusable; even worse this makes other modules, based
    on mime, unusable too (e.g. html).
  10. @sam-github
  11. @sam-github
  12. @sam-github
  13. @sam-github

    testsrvr asserts when test finishes successfully.

    sam-github committed
    When the test client finishes, the test server asserts with a "closed" message.
    After looking carefully at this, I think the tests are running
    successfully and passing. Since it appears to be a test failure, I
    modified the server to allow the client to close the control connection.
  14. @sam-github
  15. @sam-github

    Use poll by default for socket.connect(), instead of select().

    sam-github committed
    Connect timeouts are implemented by waiting on the new socket
    descriptor. When select() is used for this, it imposes an arbitrary
    limit on the number of connections that can be made, usually 1024-3.
    Using poll() removes this limit on the number of simultaneous TCP
    connections can be made using luasocket. The previous default
    implementation using select() is available by defining SOCKET_SELECT.
    Note that using socket.select() always uses select(), so it isn't
    possible to wait on an arbitrary number of connections at once.
  16. @sam-github

    Receive of zero for UDP is now possible.

    sam-github committed
    Previously, receive of zero was considered to be "closed", but that
    is only true for stream-based protocols, like TCP.
Something went wrong with that request. Please try again.