From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 10 May 2018 21:10:41 +0300 From: Konstantin Osipov Subject: Re: [tarantool-patches] [PATCH v2 01/10] yaml: don't throw OOM on any error in yaml encoding Message-ID: <20180510181041.GA30593@atlas> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com List-ID: * Vladislav Shpilevoy [18/04/20 16:25]: > OOM is not single possible error. Yaml library during dump can > raise such errors as YAML_MEMORY_ERROR, YAML_WRITER_ERROR, > YAML_EMITTER_ERROR. And each of them can contain any error > message that is skipped now, because Tarantool YAML does not > provide such API, that can lead to a non-OOM error. I pushed this patch. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov