FastDFS upload 和 download大概流程,
流程分析
upload分析
download分析
服务器之间的消息头分析
upload消息头
1 upload file
1.1 相tracker server查询有关storage server的信息
1.1.1 connect to tracker server
1.1.2 send message to tracker server
#define FDFS_PROTO_PKG_LEN_SIZE 8
#define TRACKER_PROTO_CMD_SERVICE_QUERY_STORE_WITHOUT_GROUP_ALL 106
typedef struct
{
char pkg_len[FDFS_PROTO_PKG_LEN_SIZE]; //body length, not including hea