wvfeng

Results 5 issues of wvfeng

| Q | A | ------------------- | ----- | Bug report? | yes | Feature request? | no | Swoft version | 2.0.9 | Swoole version | 4.5.0 | PHP...

bug: waiting fix
swoft: db
swoft: rpc

使用POST请求的时候如果没有请求体,则没有填充content-length这个请求头,有些服务器会响应```HTTP Error 411. The request must be chunked or have a content length.```导致请求失败,手动添加content length值为0可以正常请求。

@tonyqus 版本:2.5.5 经过测试,该问题一直存在,并且我这里可以提供一个可以复现的案例,以及修复方案。 测试文件中删除通过NPOI删除A1单元格(或尝试其他类型的修改)可以复现该问题。 修复方案我这里贴出删除单元格代码进行参考,实际上需要考虑其他情况造成的单元格改变 在NPOI组件没有修复该问题前,遇到该问题的人可以通过下面的示例解决类似的问题 ``` public static class CellExt { public static void Remove(this XSSFCell cell) { cell.ClearFormula(); cell.Row.RemoveCell(cell); } public static void ClearCell(this XSSFCell cell) { cell.ClearFormula();...

need-investigation

It seems that stream_get_contents() on STDOUT blocks infinitly under Windows when STDERR is filled under some circumstances. reference: https://www.php.net/manual/zh/function.proc-open.php#97012

依赖的组件`jaeger/querylist-phantomjs`在某些windows下会出现无限阻塞的情况,已经提交了[Pull requests](https://github.com/jonnnnyw/php-phantomjs/pull/293),但是目标仓库已经三年没有更新了,改动较小,有需要的可以根据PR记录修改本地程序