Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

twisted static.file

Hi all,
I am in the process of developing a twisted  based web app which will be deployed in the form of a winnt service.
my problem is that when i try to serve a file using static.file the app seems to hang indefinitely, any suggestion as to what mignt be causing this behaviour

TIA
0
tristan625
Asked:
tristan625
1 Solution
 
defc0n1Commented:
Without a look at your code its really hard to tell what is causing your script to hang but I would recommend to put all potential blocking operations in a separete thread.

See the Python documentation about threads here: http://www.python.org/doc//current/library/threading.html?
0
 
James MurrellProduct SpecialistCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now