Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#667 closed defect (fixed)

Keepalive error with lighttpd

Reported by: eblot Owned by: eblot
Priority: minor Milestone: 0.6
Component: Build slave Version: dev
Keywords: Cc:
Operating System: BSD

Description

Slave side

[DEBUG   ] Sending POST request to 'http://server/trac/sdk/builds/37389/keepalive/'
[WARNING ] Server returned keepalive error 411: Length Required

Server side

[/var/log/lighttpd/error.log]
2011-03-03 18:57:32: (request.c.1141) POST-request, but content-length missing -> 411 

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by eblot

The following patch seems to keep lighttpd happy ;-)

  • bitten/slave.py

    diff --git a/bitten/slave.py b/bitten/slave.py
    index 733b3c8..158e1c6 100755
    a b class KeepAliveThread(threading.Thread): 
    146146        body = None
    147147        shutdown = False
    148148        headers = {
    149             'Content-Type': 'application/x-bitten+xml'
     149            'Content-Type': 'application/x-bitten+xml',
     150            'Content-Length': '0'
    150151            }
    151152           
    152153        log.debug('Sending %s request to %r', method, url)

comment:2 Changed 13 years ago by osimons

  • Milestone changed from 0.6.1 to 0.6
  • Owner set to eblot

Thanks. Committed in [970:971].

comment:3 Changed 13 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

... and closing.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain eblot.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.