GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - coderbradlee/webSocket-Server-debug

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
CMakeFiles
CMakeFiles
 
 
doc/html
doc/html
 
 
modp_base64
modp_base64
 
 
test
test
 
 
Makefile
Makefile
 
 
base64.cpp
base64.cpp
 
 
base64.h
base64.h
 
 
client_ws.hpp
client_ws.hpp
 
 
client_wss.hpp
client_wss.hpp
 
 
config.ini
config.ini
 
 
crypto.hpp
crypto.hpp
 
 
readme.txt
readme.txt
 
 
renesolalog.cpp
renesolalog.cpp
 
 
renesolalog.h
renesolalog.h
 
 
serverResource.hpp
serverResource.hpp
 
 
serverResources.hpp
serverResources.hpp
 
 
server_ws.hpp
server_ws.hpp
 
 
server_wss.hpp
server_wss.hpp
 
 
websocket.cpp
websocket.cpp
 
 
websocket.service
websocket.service
 
 
wss_examples.cpp
wss_examples.cpp
 
 

Repository files navigation

1、增加异常处理try catch
2、增加日志
3、定义接口,文件存放目录及是否需要权限问题
4、ie不兼容需要找人改写



1、增加配置
nfs挂载目录
文件名字有重复时是覆盖写还是追加写
try catch
更改root用户为websocket不可行,设置nfs写文件为nfsnobody用户

2、日志

client:{"filename":"1332.png","size":302779,"type":"base64","parameters":[]}
server:
"{\"type\":\"STOR\",\"message\":\"Upload initialized. Wait for data\",\"code\": 200}"

"{\"type\":\"STOR\",\"message\":\"init file failed\",\"code\": 500}";

client:发送文件内容,当内容发送完时关闭连接
server:
"{\"type\":\"DATA\",\"code\": 200,\"bytesRead\":1024}";

"{\"type\":\"DATA\",\"code\": 500,\"bytesRead\":0}";


{
   "action":"DELETE_FILES",
"transfer":"base64",
   "data":{
      "files":[{
         "file":"/test.pdf"
},{
         "file":"/test.png"
},{
         "file":"/test.jpeg"
}],
"deleteDir":false
   },
   "ts":"2015-07-31 08:00:10"
}

{"action":"RENAME_FILE","transfer":"base64","data":{
			  				"oldFile":"/vs_community.exe","newFile" : "/vs.exe"},
													"ts" : "2015 - 07 - 31 08 : 00 : 30"}

ws://172.18.100.72:8080/upload
ws://172.18.100.72:8080/rename
ws://172.18.100.72:8080/delete
ws://172.18.100.72:8080/list

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.