Skip to content

Bugs of HELLO command #202

@longfar-ncy

Description

@longfar-ncy

Is this a regression?

Yes

Description

HELLO 命令的问题:

  1. client名称不能有空格,但是hello命令没有检验名称空格问题,因此下图tcl测试失败:

Image

  1. client 的实现里,参数处理有问题:捕捉关键字 SETNAME 和其参数后,next_arg 应该 +2,而不是 +1;捕捉关键字 AUTH 后,需要提取用户和密码,然后 next_arg 应该 +3:

Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions