Explore Enterprise Education Gitee Premium Gitee AI AI teammates
Fetch the repository succeeded.
forked from 呵大官人/fooking
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
Already have an account? Sign in
文件
master
Branches (1)
master
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
The license selected for the repository is subject to the license used by the main branch of the repository.
master
Branches (1)
master
Clone or Download
Clone/Download
Prompt
To download the code, please copy the following command and execute it in the terminal
To ensure that your submitted code identity is correctly recognized by Gitee, please execute the following command.
When using the SSH protocol for the first time to clone or push code, follow the prompts below to complete the SSH configuration.
1 Generate RSA keys.
2 Obtain the content of the RSA public key and configure it in SSH Public Keys
To use SVN on Gitee, please visit the usage guide
When using the HTTPS protocol, the command line will prompt for account and password verification as follows. For security reasons, Gitee recommends configure and use personal access tokens instead of login passwords for cloning, pushing, and other operations.
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # Private Token
master
Branches (1)
master
fooking
/
src
/
Worker.cpp
fooking
/
src
/
Worker.cpp
Worker.cpp 16.74 KB
Copy Edit Raw Blame History
呵大官人 authored 2015年06月26日 16:40 +08:00 . rename script handler name
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
#include <iostream>
#include <signal.h>
#include "Worker.h"
#include "Socket.h"
#include "Master.h"
#include "Router.h"
#include "Atomic.h"
#include "Log.h"
#include "Config.h"
NS_USING;
Worker::Worker(Master *master, int id):
nId(id),
pMaster(master),
pEventLoop(NULL),
nRouterReconnect(0),
bHeldAcceptLock(false)
{
//TODO
}
Worker::~Worker()
{
delete pEventLoop;
}
void Worker::createClient(int fd, const char *host, int port)
{
//创建session对像
Session sess(nPid, fd);
LOG("new client, fd=%d, host=%s, port=%d, sid=%s", fd, host, port, sess.getId());
//环镜变量
ClientData *pData = new ClientData();
char szPort[8];
int nPort = sprintf(szPort, "%d", port);
pData->session = sess;
pData->nrequest = 0;
Backend::makeParam(pData->params, "REMOTE_ADDR", sizeof("REMOTE_ADDR") - 1, host, strlen(host));
Backend::makeParam(pData->params, "REMOTE_PORT", sizeof("REMOTE_PORT") - 1, szPort, nPort);
Backend::makeParam(pData->params, "SESSIONID", sizeof("SESSIONID") - 1, sess.getId(), SID_LENGTH);
//创建连接对像
Connection *client = new Connection(pEventLoop, fd);
client->setHostAndPort(host, port);
client->setData(pData);
client->setMessageHandler(EV_CB(this, Worker::onMessage));
client->setCloseHandler(EV_CB(this, Worker::onClose));
//client->setWriteCompleteHandler(EL_CB(this, Worker::onWriteComplete));
arrClients[sess.getId()] = client;
//计数更新
pMaster->addClient(nId);
//Router通知
sendToRouter(ROUTER_MSG_CONN, SID_LENGTH, sess.getId(), 0, NULL);
//backend通知
Config *pConfig = Config::getInstance();
if(pConfig->bEventConnect){
Backend *backend = new Backend(pEventLoop, client, NULL);
backend->copyParam(pData->params);
backend->addParam("EVENT", sizeof("EVENT") - 1, "1", 1);
backend->setCloseHandler(EV_CB(this, Worker::onBackendClose));
backend->setResponseHandler(EV_CB(this, Worker::onBackendResponse));
if(backend->run()){
pData->backends[backend] = 1;
}else{
delete backend;
}
}
//lua通知
if(pMaster->pScript && pMaster->pScript->hasConnectProc()){
pMaster->pScript->procConnect(client);
}
}
void Worker::closeClient(Connection *client)
{
ClientData *pData = (ClientData*)client->getData();
std::string sid = pData->session.getId();
LOG("close client, fd=%d, sid=%s", client->getSocket().getFd(), sid.c_str());
//router通知
sendToRouter(ROUTER_MSG_CLOSE, SID_LENGTH, pData->session.getId(), 0, NULL);
//后端通知
Config *pConfig = Config::getInstance();
if(pConfig->bEventClose){
Backend *backend = new Backend(pEventLoop, NULL, NULL);
backend->copyParam(pData->params);
backend->addParam("EVENT", sizeof("EVENT") - 1, "2", 1);
backend->setCloseHandler(EV_CB(this, Worker::onBackendClose));
backend->setResponseHandler(EV_CB(this, Worker::onBackendResponse));
if(!backend->run()){
delete backend;
}
}
//释放后端请求
for(BackendList::const_iterator it = pData->backends.begin(); it != pData->backends.end(); ++it){
Backend *backend = it->first;
backend->setClient(NULL);
backend->shutdown();
}
//取消频道订阅
for(ChannelSet::const_iterator it2 = pData->channels.begin(); it2 != pData->channels.end(); ++it2){
const std::string &chname = it2->first;
ChannelList::iterator cit = arrChannels.find(chname);
if(cit != arrChannels.end()){
cit->second.erase(client);
if(cit->second.empty()){
sendToRouter(ROUTER_MSG_CH_UNSUB, chname.size(), chname.c_str(), 0, NULL);
arrChannels.erase(cit);
}
}
}
//计数更新
pMaster->delClient(nId);
//客户端列表更新
arrClients.erase(sid);
//lua更新
if(pMaster->pScript && pMaster->pScript->hasCloseProc()){
pMaster->pScript->procClose(client);
}
delete pData;
delete client;
}
void Worker::sendToRouter(uint_16 type, uint_16 slen, const char *sessptr, int len, const char *dataptr)
{
if(pRouter){
RouterMsg msg;
net::writeNetInt16((char*)&msg.type, type);
net::writeNetInt16((char*)&msg.slen, slen);
net::writeNetInt32((char*)&msg.len, len);
pRouter->send((char*)&msg, ROUTER_HEAD_SIZE);
if(slen){
pRouter->send(sessptr, slen);
}
if(len){
pRouter->send(dataptr, len);
}
}
}
void Worker::sendToClientRaw(Connection *conn, const char *data, int len)
{
if(len){
char hdr[4];
net::writeNetInt32(hdr, len);
conn->send(hdr, 4);
conn->send(data, len);
}
}
void Worker::sendToClientScript(Connection *conn, Buffer *msg)
{
ClientData *pData = (ClientData*)conn->getData();
Buffer resp;
int ret = pMaster->pScript->procWrite(conn, pData->nrequest, msg, &resp);
if(ret > 0){
if(!resp.empty()){
conn->send(resp.data(), resp.size());
}
}else if(ret == 0){
if(!msg->empty()){
sendToClientRaw(conn, msg->data(), msg->size());
}
}
}
void Worker::sendToClient(Connection *conn, Buffer *msg)
{
if(pMaster->pScript && pMaster->pScript->hasWriteProc()){
sendToClientScript(conn, msg);
}else if(!msg->empty()){
sendToClientRaw(conn, msg->data(), msg->size());
}
}
void Worker::sendToClient(Connection *conn, const char *data, int len)
{
if(pMaster->pScript && pMaster->pScript->hasWriteProc()){
Buffer msg(data, len);
sendToClientScript(conn, &msg);
}else if(len){
sendToClientRaw(conn, data, len);
}
}
void Worker::onChannel(int fd, int ev, void *data)
{
LOG("on channel");
ChannelMsg ch;
int n = recv(&ch);
if(n){
pEventLoop->removeEventListener(fd, EV_IO_ALL);
close(fd);
LOG_ERR("[worker]broken pipe");
return ;
}
switch(ch.type){
case CH_PIPE:
LOG("channel msg pipefd");
break;
case CH_RELOAD:
LOG("channel msg reload");
break;
case CH_EXIT:
LOG("channel msg exit");
break;
}
}
void Worker::onConnection(int fd, int ev, void *data)
{
//check maxclients
Config *pConfig = Config::getInstance();
if(pConfig->nMaxClients && pMaster->pGlobals->clients >= pConfig->nMaxClients){
LOG("Connection is full");
close(fd);
return ;
}
//ip and port
struct sockaddr_in *pAddr = (struct sockaddr_in*)data;
char ip[17];
int port = ntohs(pAddr->sin_port);
memset(ip, 0, sizeof(ip));
inet_ntop(AF_INET, &pAddr->sin_addr, ip, 16);
//create client
createClient(fd, ip, port);
//free accept lock
if(pMaster->bUseAcceptMutex &&
UnLockAcceptMutex(&pMaster->pGlobals->lock, nPid))
{
//LOG("unlock accept mutex");
bHeldAcceptLock = false;
pServer->stop();
}
}
void Worker::onClose(Connection *client)
{
closeClient(client);
}
void Worker::onMessage(Connection *client)
{
Buffer *pBuffer = client->getBuffer();
Config *pConfig = Config::getInstance();
ClientData *pData = (ClientData*)client->getData();
LOG("client message, fd=%d, len=%d", client->getSocket().getFd(), pBuffer->size());
//check recv buffer size
if(pConfig->nRecvBufferSize && pBuffer->size() > pConfig->nRecvBufferSize){
LOG_INFO("client recv buffer size less");
client->close();
return ;
}
while(pBuffer->size())
{
bool proc = false;
Buffer *msg = new Buffer();
//自定义协议处理
if(pMaster->pScript && pMaster->pScript->hasReadProc()){
int ret = pMaster->pScript->procRead(client, pData->nrequest, pBuffer, msg);
if(ret < 0){
delete msg;
return ;
}else if(ret > 0){
proc = true;
}
}
//原生协议处理
if(!proc){
//check head
size_t hdrSize = 4;
if(pBuffer->size() < hdrSize){
LOG("message head not enough");
delete msg;
return ;
}
//check body
size_t msgSize = net::readNetInt32(pBuffer->data());
if(pBuffer->size() < hdrSize + msgSize){
LOG("message body size not enough, msgSize=%d, buffSize=%d", msgSize, pBuffer->size());
delete msg;
return ;
}
msg->append(pBuffer->data() + hdrSize, msgSize);
pBuffer->seek(hdrSize + msgSize);
}
pData->nrequest++;
LOG("process message, fd=%d, reqid=%d, proc=%d, buffer size=%d, msg len=%d",
client->getSocket().getFd(),
pData->nrequest,
proc,
pBuffer->size(),
msg->size());
//create request
if(!msg->empty()){
Backend *backend = new Backend(pEventLoop, client, msg);
backend->copyParam(pData->params);
backend->setCloseHandler(EV_CB(this, Worker::onBackendClose));
backend->setResponseHandler(EV_CB(this, Worker::onBackendResponse));
if(backend->run()){
pData->backends[backend] = 1;
}else{
delete backend;
LOG_ERR("not found backend server");
}
}
}
}
void Worker::onBackendResponse(Backend *backend)
{
LOG("backend response");
Buffer &resp = backend->getResponse();
Connection *client = backend->getClient();
if(client && resp.size()){
sendToClient(client, &resp);
}
}
void Worker::onBackendClose(Backend *backend)
{
LOG("backend close, conn=%p", backend);
Connection *client = backend->getClient();
if(client){
ClientData *pClientData = (ClientData*)client->getData();
pClientData->backends.erase(backend);
}
delete backend;
}
void Worker::onRouterMessage(Connection *router)
{
Buffer *pBuffer = router->getBuffer();
while(pBuffer->size())
{
if(pBuffer->size() < ROUTER_HEAD_SIZE){
return ;
}
RouterMsg msg = Router::unpackMsg(pBuffer->data());
if(pBuffer->size() < ROUTER_HEAD_SIZE + msg.slen + msg.len){
return ;
}
RouterMsg *pMsg = (RouterMsg*)pBuffer->data();
pMsg->type = msg.type;
pMsg->slen = msg.slen;
pMsg->len = msg.len;
LOG("on router data,type=%d, slen=%d, len=%d", pMsg->type, pMsg->slen, pMsg->len);
switch(pMsg->type){
case ROUTER_MSG_KICK:
doKick(pMsg);
break;
case ROUTER_MSG_SEND_MSG:
doSendMsg(pMsg);
break;
case ROUTER_MSG_SEND_ALL:
doSendAllMsg(pMsg);
break;
case ROUTER_MSG_CH_ADD:
doChannelAdd(pMsg);
break;
case ROUTER_MSG_CH_DEL:
doChannelDel(pMsg);
break;
case ROUTER_MSG_CH_PUB:
doChannelPub(pMsg);
break;
default:
LOG("invalid type");
break;
}
pBuffer->seek(ROUTER_HEAD_SIZE + pMsg->slen + pMsg->len);
}
}
void Worker::onRouterClose(Connection *router)
{
int err = router->getError();
if(err){
LOG_ERR("router errno=%d, error=%s", err, strerror(err));
}else{
LOG_ERR("router close");
}
delete pRouter;
pRouter = NULL;
++nRouterReconnect;
LOG("reconnect router after %d seconds", nRouterReconnect * 3);
pEventLoop->setTimer(nRouterReconnect * 3000, EV_TIMER_CB(this, Worker::onRouterReconnect));
}
void Worker::onRouterReconnect(TimerId id, void *data)
{
initRouter();
}
void Worker::onRouterConnect(Connection *router)
{
LOG_INFO("router connected");
nRouterReconnect = 0;
//AUTH
Config *pConfig = Config::getInstance();
char id[10];
net::writeNetInt32(id, pConfig->nServerId);
sendToRouter(ROUTER_MSG_AUTH, 0, NULL, sizeof(int), id);
//sync session
int sidnum = 0;
std::string sidlist;
for(ClientList::const_iterator it = arrClients.begin(); it != arrClients.end(); ++it){
const std::string &sid = it->first;
sidnum++;
sidlist.append(sid);
}
if(sidnum){
sendToRouter(ROUTER_MSG_CONN, sidnum * SID_LENGTH, sidlist.c_str(), 0, NULL);
}
//sync channel
for(ChannelList::const_iterator it = arrChannels.begin(); it != arrChannels.end(); ++it){
const std::string &cname = it->first;
sendToRouter(ROUTER_MSG_CH_SUB, cname.size(), cname.c_str(), 0, NULL);
}
}
void Worker::doKick(RouterMsg *pMsg)
{
int pos = 0;
while(pos + SID_LENGTH <= pMsg->slen)
{
std::string sid(pMsg->data + pos, SID_LENGTH);
LOG("kick user, sid=%s", sid.c_str());
ClientList::const_iterator it = arrClients.find(sid);
if(it != arrClients.end()){
Connection *pClient = it->second;
pClient->close();
}
pos+= SID_LENGTH;
}
}
void Worker::doSendMsg(RouterMsg *pMsg)
{
int pos = 0;
while(pos + SID_LENGTH <= pMsg->slen)
{
std::string sid(pMsg->data + pos, SID_LENGTH);
ClientList::const_iterator it = arrClients.find(sid);
if(it != arrClients.end()){
Connection *pClient = it->second;
LOG("send msg, sid=%s", sid.c_str());
sendToClient(pClient, pMsg->data + pMsg->slen, pMsg->len);
}else{
LOG("not found client, sid=%s", sid.c_str());
}
pos+= SID_LENGTH;
}
}
void Worker::doSendAllMsg(RouterMsg *pMsg)
{
ClientList::const_iterator it;
int n = 0;
for(it = arrClients.begin(); it != arrClients.end(); ++it){
Connection *pClient = it->second;
sendToClient(pClient, pMsg->data, pMsg->len);
n++;
}
LOG("sendall msg n=%d", n);
}
void Worker::doChannelAdd(RouterMsg *pMsg)
{
//频道名称在data域
int pos = 0;
std::string chname(pMsg->data + pMsg->slen, pMsg->len);
ConnectionSet &clients = arrChannels[chname];
while(pos + SID_LENGTH <= pMsg->slen)
{
std::string sid(pMsg->data + pos, SID_LENGTH);
ClientList::const_iterator it = arrClients.find(sid);
if(it != arrClients.end()){
Connection *pClient = it->second;
ClientData *pClientData = (ClientData*)pClient->getData();
pClientData->channels[chname] = 1;
clients[pClient] = 1;
if(clients.size() == 1){
sendToRouter(ROUTER_MSG_CH_SUB, chname.size(), chname.c_str(), 0, NULL);
}
LOG("join channel name=%s, sid=%s", chname.c_str(), sid.c_str());
}
pos+= SID_LENGTH;
}
}
void Worker::doChannelDel(RouterMsg *pMsg)
{
//频道名称在data域
int pos = 0;
std::string chname(pMsg->data + pMsg->slen, pMsg->len);
ConnectionSet &clients = arrChannels[chname];
while(pos + SID_LENGTH <= pMsg->slen)
{
std::string sid(pMsg->data + pos, SID_LENGTH);
ClientList::const_iterator it = arrClients.find(sid);
if(it != arrClients.end()){
Connection *pClient = it->second;
ClientData *pClientData = (ClientData*)pClient->getData();
pClientData->channels.erase(chname);
clients.erase(pClient);
if(!clients.size()){
sendToRouter(ROUTER_MSG_CH_UNSUB, chname.size(), chname.c_str(), 0, NULL);
}
LOG("leave channel name=%s, sid=%s", chname.c_str(), sid.c_str());
}
pos+= SID_LENGTH;
}
}
void Worker::doChannelPub(RouterMsg *pMsg)
{
//频道名称在session域
std::string chname(pMsg->data, pMsg->slen);
ChannelList::const_iterator it = arrChannels.find(chname);
if(it == arrChannels.end()){
return ;
}
const ConnectionSet &clients = it->second;
ConnectionSet::const_iterator it2;
for(it2 = clients.begin(); it2 != clients.end(); ++it2){
Connection *pClient = it2->first;
ClientData *pClientData = (ClientData*)pClient->getData();
sendToClient(pClient, pMsg->data + pMsg->slen, pMsg->len);
LOG("send channel msg to: %s", pClientData->session.getId());
}
}
void Worker::loopBefore(void *data)
{
Config *pConfig = Config::getInstance();
if(pMaster->bUseAcceptMutex)
{
if(bHeldAcceptLock &&
UnLockAcceptMutex(&pMaster->pGlobals->lock, nPid))
{
//LOG("unlock accept mutex");
bHeldAcceptLock = false;
pServer->stop();
}else if(!bHeldAcceptLock &&
pMaster->pGlobals->workerClients[nId] <= static_cast<int>(pMaster->pGlobals->clients * 1.125 / pConfig->nWorkers) &&
LockAcceptMutex(&pMaster->pGlobals->lock, nPid))
{
//LOG("lock accept mutex");
bHeldAcceptLock = true;
pServer->start();
}
}
}
void Worker::initRouter()
{
//connect router
Config *pConfig = Config::getInstance();
pRouter = new Connection(pEventLoop);
pRouter->setTimeout(3000);
pRouter->setConnectHandler(EV_CB(this, Worker::onRouterConnect));
pRouter->setMessageHandler(EV_CB(this, Worker::onRouterMessage));
pRouter->setCloseHandler(EV_CB(this, Worker::onRouterClose));
pRouter->connectTcp(pConfig->sRouterHost.c_str(), pConfig->nRouterPort);
LOG_INFO("connect router server %s:%d",
pConfig->sRouterHost.c_str(),
pConfig->nRouterPort);
}
void Worker::proc()
{
Config *cfg = Config::getInstance();
//还原信号默认处理方式
signal(SIGTERM, NULL);
signal(SIGUSR1, NULL);
//set process title
utils::setProcTitle("fooking gateway worker");
//create loop
pEventLoop = new EventLoop();
pEventLoop->setMaxWaitTime(500);
pEventLoop->addEventListener(nPipefd, EV_IO_READ, EV_IO_CB(this, Worker::onChannel), NULL);
pEventLoop->setLoopBefore(EV_CB(this, Worker::loopBefore), NULL);
//listen server
pServer = new Server(pEventLoop, pMaster->pServer->getSocket().getFd());
pServer->setConnectionHandler(EV_IO_CB(this, Worker::onConnection));
if(!pMaster->bUseAcceptMutex){
pServer->start();
}
//init router
initRouter();
//backend env
char root[256];
char name[256];
int rootlen = sprintf(root, "%s/%s", cfg->sFastcgiRoot.c_str(), cfg->sFastcgiFile.c_str());
int namelen = sprintf(name, "/%s", cfg->sFastcgiFile.c_str());
Backend::addSharedParam("REQUEST_METHOD", strlen("REQUEST_METHOD"), "POST", strlen("POST"));
Backend::addSharedParam("SCRIPT_FILENAME", strlen("SCRIPT_FILENAME"), root, rootlen);
Backend::addSharedParam("SCRIPT_NAME", strlen("SCRIPT_NAME"), name, namelen);
Backend::addSharedParam("DOCUMENT_ROOT", strlen("DOCUMENT_ROOT"), cfg->sFastcgiRoot.c_str(), cfg->sFastcgiRoot.size());
//backend env from config.lua
FastcgiParams::const_iterator it;
for(it = cfg->arFastcgiParams.begin(); it != cfg->arFastcgiParams.end(); ++it){
std::string k = it->first;
std::string v = it->second;
Backend::addSharedParam(k.c_str(), k.size(), v.c_str(), v.size());
}
LOG("worker started, pipefd=%d", nPipefd);
pEventLoop->run();
}
Loading...
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Please select a report type
Cancel
Send
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

About

分布式游戏网关(php游戏网关, php游戏服务端)
Cancel

Releases

No release

Contributors

All

Activities

can not load any more
Edit
About
Homepage
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nmred/fooking.git
git@gitee.com:nmred/fooking.git
nmred
fooking
fooking
master
Going to Help Center

Search

Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register

AltStyle によって変換されたページ (->オリジナル) /