You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/01/18 12:09:05 UTC

[GitHub] [couchdb] iilyak commented on a change in pull request #3332: Timeout transaction

iilyak commented on a change in pull request #3332:
URL: https://github.com/apache/couchdb/pull/3332#discussion_r559521950



##########
File path: src/chttpd/src/chttpd.erl
##########
@@ -1014,6 +1016,9 @@ error_info({request_entity_too_large, DocID}) ->
 error_info(transaction_too_large) ->
     {413, <<"transaction_too_large">>,
         <<"The request transaction is larger than 10MB" >>};
+error_info(transaction_timeout) ->
+    {413, <<"transaction_timeout">>,

Review comment:
       413 is Payload Too Large response. I think we need 408.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org