User Tag List

Results 1 to 4 of 4

Thread: Lacewing::Webserver::Request.Finish() not working

  1. #1
    uonder
    Guest

    Lacewing::Webserver::Request.Finish() not working

    Lacewing::Webserver::Request.Finish() does not seem to work properly.

    I downloaded Lacewing 0.1.0 source from http://lacewing-project.org/ and build it with MSVS 2010 (both x86 and x64)

    I opened web server with Manual Finish Request enabled (Webserver.EnableManualRequestFinish()).

    In onGet() function I simply send an image with Request.SendFile(), and Request.Finish().

    It sends the image, but does not disconnect after send complete.

    What is wrong with it?
    Here is my netstat output...
    ----------------------------------------------------
    C:\Users\uonder>netstat

    Active Connections

    Proto Local Address Foreign Address State
    TCP 127.0.0.1:81 activate:5800 ESTABLISHED
    TCP 127.0.0.1:81 activate:5801 ESTABLISHED
    -----------------------------------------------------
    Note: since there is an apache web server on my local system bound to 80, I placed my lacewing to port 81.
    (It is not a problem since http://127.0.0.1:81/ works fine with any browsers)

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing::Webserver::Request.Finish() not working

    This is HTTP/1.1 - the server has to keep the connection open, and the browser decides when to disconnect.

    Finishing just finishes the current request, not the whole connection.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing::Webserver::Request.Finish() not working

    It's called keep-alive, and it means that the client can request more pages without the overhead/delay of establishing a new connection to the server.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Lacewing::Webserver::Request.Finish() not working

    On a different note, it's probably better to use the issue tracker at github for liblacewing-related questions. This forum is more about the Lacewing integration in Clickteam products.

Similar Threads

  1. [Request] Could someone finish the Active Voxel Extension?
    By happygreenfrog in forum Extension Development
    Replies: 4
    Last Post: 11th April 2013, 12:53 AM
  2. Lacewing chatroom not working on mac. Please HELP!
    By Davidkr in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th March 2013, 03:18 AM
  3. Can't get lacewing working in flash
    By marat in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 16th September 2012, 11:54 AM
  4. Lacewing Webserver question
    By Pharanygitis in forum Lacewing
    Replies: 1
    Last Post: 17th July 2012, 01:12 AM
  5. Lacewing not working on browser
    By Mephistus in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 24th April 2012, 08:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •