ondra-novak opened a new issue #985: _changes since=now doesn't send response 
headers till the first output
URL: https://github.com/apache/couchdb/issues/985
 
 
   I found this after migration from 1.6. Now to request _changes on the 
database **since=now** no response headers are returned till the first change 
or heartbeat happen. This  makes some things complicated for me. During the 
first 1 minute, the connection looks dead. Please flush the output buffers when 
the connection starts to listen changes 
   
   
   ## Expected Behaviour
   To send http response (headers) before the connection starts to listen 
changes
   
   
   ## Current Behaviour
   Connection looks dead until the first result or heartbeat  happen
   
   ## Possible Solution
   - Flush output buffers.
   - Send headers
   - Send the first heartbeat immediately 
   
   
   ## Steps to Reproduce (for bugs)
   
    GET /XXXX/_changes?since=now&feed=continuous&heartbeat=true   - where XXXX 
is ANY database
   Use the wireshark to monitor behaviour of the connection.
   
   ## Context
   
   ## Your Environment
   Linux Ubuntu 17
   CouchDb 2.1.1
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to