Code Monkey home page Code Monkey logo

fdfs_client's Issues

UploadByFilename no connPool can be use

check client.conf

use_connection_pool=true

如果use_connection_pool = true

connection_pool_max_idle_time = 3600

这样连接池就会保持3600s时间,这样会导致连接无法释放

有个问题请教下

API server listening at: 127.0.0.1:49703
TrackerTask RecvHeader recv resp status 28 != 0
Debugger finished with exit code 0

请问这个报错是什么问题

UploadByFilename no connPool can be use

在Windows平台调用读取配置文件,配置文件貌似必须用utf-8才能被读取到,还有个问题请教教下,我在Windows平台使用报这个错误:API server listening at: 127.0.0.1:53055
UploadByFilename no connPool can be use ,我调试看了下。
line, err := reader.ReadString('\n')
line = strings.TrimSuffix(line, "\n")

这里是不是应该用\r\n呢

fdfs client.conf文件中字段提取有问题

conn_pool.go中会判断client.conf中maxConns的值,实际上该字段并不存在,导致下面的判断成立,返回error信息
if maxConns < MAXCONNS_LEAST {
return nil, fmt.Errorf("too little maxConns < %d", MAXCONNS_LEAST)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.