)]}'
{
  "commit": "67ebe63e08b18f2a58f111559a5a5cdb90061c7b",
  "tree": "a44aa50c82c58cf7cf90084e7e32b982be521411",
  "parents": [
    "ca4416d0f85b928a2e9afcc3d488c9192dda2956"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Wed May 19 03:13:15 2021 +0300"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Wed May 19 03:13:15 2021 +0300"
  },
  "message": "Mail: fixed handling of invalid SMTP commands split between reads.\n\nPreviously, if an invalid SMTP command was split between reads, nginx failed\nto wait for LF before returning an error, and interpreted the rest of the\ncommand received later as a separate command.\n\nThe sw_invalid state in ngx_mail_smtp_parse_command(), introduced in\n04e43d03e153, did not work, since ngx_mail_smtp_auth_state() clears\ns-\u003estate when returning an error due to NGX_MAIL_PARSE_INVALID_COMMAND.\nAnd not clearing s-\u003estate will introduce another problem: the rest\nof the command would trigger duplicate error when rest of the command is\nreceived.\n\nFix is to return NGX_AGAIN from ngx_mail_smtp_parse_command() until full\ncommand is received.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2c2cdffa1179e8862b501a5deed4191a855f5954",
      "old_mode": 33188,
      "old_path": "src/mail/ngx_mail_parse.c",
      "new_id": "0712ad5dc49530f9fd6de38aa9a2152b2d8e7e60",
      "new_mode": 33188,
      "new_path": "src/mail/ngx_mail_parse.c"
    }
  ]
}
