04.10.2017 11:42, Pavel Cisar pci...@ibphoenix.cz [firebird-support] wrote:
> Until stdin is fully transmited service may need another 
> chunk, but reply to application is blocked until stdout buffer (eof 
> request) is full, so everything gets stuck (service will not ask for 
> further input because there is not enough output to send the request).

   Actually I see the contrary: output buffer is empty, but no request for 
input is sent.
Output from my test program which send { isc_info_svc_stdin, isc_info_svc_line 
} looks 
like that:

> query piece 0
> isc_info_svc_stdin 262144
> isc_info_svc_line 0:
> isc_info_data_not_ready
> query piece 512
> isc_info_svc_stdin 262144
> isc_info_svc_line 0:
> isc_info_data_not_ready

   Notice that it always gets isc_info_data_not_ready.
   But if I change request to {isc_info_svc_stdin } (because I know that no 
data is ever 
returned), I get this:

> query piece 0
> isc_info_svc_stdin 0
> isc_info_end
........ about 40 times the same ..........
> query piece 0
> isc_info_svc_stdin 0
> isc_info_end
> query piece 0
> isc_info_svc_stdin 262144
> isc_info_end
> query piece 512
> isc_info_svc_stdin 262144
> isc_info_end

   I.e. server just wasting network throughput requesting no data from client 
as if 
request timeout is by default set to zero instead of infinity.
   Is it intended behavior?

   Besides, my whole test backup size is 512 bytes, but server asks for more 
data even 
when got it all.
   What else must I send to it?
   Now I forcefully disconnect after sending of whole backup and it seems to 
work. But is 
it right way?

-- 
   WBR, SD.


------------------------------------

------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-support-dig...@yahoogroups.com 
    firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
    https://info.yahoo.com/legal/us/yahoo/utos/terms/

  • [firebird-... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
    • RE: [... 'Sabbagh, Nariman' nariman.sabb...@delta.com [firebird-support]
      • R... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
    • Re: [... Pavel Cisar pci...@ibphoenix.cz [firebird-support]
      • R... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
      • R... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
        • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
        • ... Pavel Cisar pci...@ibphoenix.cz [firebird-support]
          • ... Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
            • ... Pavel Cisar pci...@ibphoenix.cz [firebird-support]

Reply via email to