Skip to content
Commits on Dec 25, 2013
  1. @drahosp
Commits on Dec 14, 2013
  1. @drahosp

    Merge pull request #1 from azukiapp/master

    Adding option LUASOCKET_UNIX to install unix domain sockets.
    drahosp committed Dec 14, 2013
Commits on Dec 12, 2013
  1. @nuxlli
Commits on Dec 4, 2013
  1. @drahosp

    Minor MinGW32 tweak

    drahosp committed Dec 4, 2013
Commits on Jun 14, 2013
  1. @drahosp

    Fix dependency range

    drahosp committed Jun 14, 2013
  2. @drahosp

    Updated to 3.0-rc1

    drahosp committed Jun 14, 2013
  3. Change link to github page.

    Diego Nehab committed Jun 14, 2013
  4. Add files to distribution.

    Diego Nehab committed Jun 14, 2013
  5. Change 2.1 to 3.0

    Diego Nehab committed Jun 14, 2013
  6. Change 2.1 to 3.0-rc1

    Diego Nehab committed Jun 14, 2013
  7. Update NEW file and section

    Diego Nehab committed Jun 14, 2013
Commits on Jun 13, 2013
  1. Download archive with https rather than git scheme

    Diego Nehab committed Jun 13, 2013
  2. Fix version in rockspec.

    Diego Nehab committed Jun 13, 2013
  3. Fix path for rockspec in travis file.

    Diego Nehab committed Jun 13, 2013
  4. Merging moteus suggestions for rockspec and travis

    Diego Nehab committed Jun 13, 2013
Commits on Jun 12, 2013
  1. Fix makefile and test_socket_error.lua

    Diego Nehab committed Jun 12, 2013
  2. @diegonehab

    Merge pull request #58 from mascarenhas/master

    New rockspec that uses LuaRocks to build instead of the makefile
    diegonehab committed Jun 12, 2013
Commits on Jun 11, 2013
  1. @mascarenhas
  2. Changing from 2.1-rc1 to 3.0-rc1.

    Diego Nehab committed Jun 11, 2013
  3. Fix unix export marker.

    Diego Nehab committed Jun 11, 2013
Commits on Jun 5, 2013
  1. Export global table only if "module()" is defined.

    Diego Nehab committed Jun 5, 2013
Commits on Jun 4, 2013
  1. No need for inet_pton.

    Diego Nehab committed Jun 4, 2013
Commits on May 30, 2013
  1. @diegonehab

    Merge pull request #49 from moteus/moteus-ftp-get-2xx

    Fix. recive 2xx while ftp.get cause timeout error
    diegonehab committed May 30, 2013
  2. Unix domain tests still broken.

    Diego Nehab committed May 30, 2013
  3. @diegonehab
  4. Leaving if in src/ but out of build for now.

    Diego Nehab committed May 30, 2013
  5. @moteus

    Fix. recive 2xx while ftp.get cause timeout error

    In this example:
    >Client send: MDTM test.txt
    >Server response: 213 20120824120909
    Because FTP server do not open new channel (2XX response)
    and LuaSocket try open new channel we get timeout.
    
    ```lua
    local ftp   = require "socket.ftp"
    local ltn12 = require "ltn12"
    local url   = require("socket.url")
    
    local URL = "ftp://USER:TEST@127.0.0.1";
    local CMD = 'MDTM test.txt';
    
    -- get timeout
    ftp.get{
      url = URL;
      command = CMD;
      sink = ltn12.sink.table{};
    }
    
    -- or we can use ftp.command
    ftp.command{
      url = URL;
      command = URL,
      check = function(...)
        local status, data = ...
        return true
      end;
    }
    ```
    moteus committed May 30, 2013
Commits on May 29, 2013
  1. @diegonehab

    Merge pull request #43 from moteus/moteus-getopt-error

    Add. Allow get `error` option to socket.
    diegonehab committed May 29, 2013
  2. @moteus
  3. @diegonehab
  4. Export global only if LUA_COMPAT_MODULE defined.

    Diego Nehab committed May 29, 2013
Commits on May 28, 2013
  1. @moteus
  2. @diegonehab
Commits on May 27, 2013
  1. Typo fixed.

    Diego Nehab committed May 28, 2013
  2. @diegonehab

    Fixed inet_pton and a new Winsock UDP bug.

    inet_pton was copying the entire sockaddr_in struct,
    rather than just the sin_addr field...
    
    I am a bit unsure about the UDP fix, because it may affect
    TCP as well. On UDP sockets, when a sendto fails, the next
    receive/receivefrom fails with CONNRESET. I changed
    sock_recv/sock_recvfrom in wsocket.c to skip the CONNRESET
    from the recv/recvfrom, hoping that if the socket is TCP,
    sock_waitfd will get the CONNRESET again. The tests pass,
    but this should be tested more thoroughly.
    diegonehab committed May 28, 2013
Something went wrong with that request. Please try again.