Results 1 to 3 of 3

Thread: QNetworkAccessManager::post() never returns

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Posts
    22
    Thanked 1 Time in 1 Post

    Default QNetworkAccessManager::post() never returns

    I have a problem with QNetworkAccessManager that after a network failure (plug pulled out for example), any requests made after the connection is restored result in a WSAEISCONN error from the QNativeSocketEngine layer and they never fire send the request or fire the finished() signal.

    Should the QNetworkAccessManager be deleted and recreated after the failure? I would think that after a WSAECONNRESET error that the connection would be dead and so reconnection would not be a problem but that doesn't seem to be the case here.
    Last edited by danc81; 20th October 2009 at 22:42.

Similar Threads

  1. QSslSocke::supportSsl() returns false
    By oscar in forum Qt Programming
    Replies: 1
    Last Post: 9th September 2008, 19:51
  2. connect() returns true but slot not called
    By OriginalCopy in forum Qt Programming
    Replies: 6
    Last Post: 4th November 2007, 19:54
  3. QSvgRenderer::boundsOnElement returns incorrect QRectF
    By lfranchi in forum Qt Programming
    Replies: 8
    Last Post: 1st August 2007, 10:49
  4. Replies: 4
    Last Post: 8th July 2007, 15:26
  5. no record returns from stored procedure
    By mandal in forum Qt Programming
    Replies: 0
    Last Post: 26th April 2007, 15:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.