This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#165 closed defect (fixed)

HTTP(s) connections with timeout under Python 2.6

Reported by: dmartinc Owned by: dmartinc
Priority: low Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

When trying to create a MCU conference from my development machine, which runs Python2.6 (as forced by last Ubuntu version), there is a low-level error in the HTTP connection.

In Python 2.4 and 2.5 there's no "timeout" argument for HTTP and XML-RPC connections and this is why we had to subclass the Python classes to allow it. A timeout is necessary in case a remote server is hanging to avoid having a forever-sleeping python process in our server.

These custom classes seem to pose a problem in Python 2.6.

Change History (4)

comment:1 Changed 6 years ago by pferreir

  • Milestone set to v0.97

comment:2 Changed 6 years ago by dmartinc

  • Status changed from new to accepted

comment:3 Changed 6 years ago by david.martin.clavo@…

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

commit 768d5692fb4a9bd3adce107e9c4dadf48bb2e3ce
Author: David Martín Clavo <david.martin.clavo@…>
Date: Tue Jan 26 18:35:48 2010 +0100

[FIXED] HTTP(S) connections with timeout py2.6


-Fixed a bug that prevented creation of
videoconferences in the MCU with python2.6,
among others.
-fixes #165

comment:4 Changed 5 years ago by David Martín Clavo <david.martin.clavo@…>

In [768d5692fb4a9bd3adce107e9c4dadf48bb2e3ce]:

[FIXED] HTTP(S) connections with timeout py2.6

-Fixed a bug that prevented creation of
videoconferences in the MCU with python2.6,
among others.
-fixes #165

Note: See TracTickets for help on using tickets.