Commit Graph

42 Commits

Author SHA1 Message Date
66e40155a9 add http/https scheme for log of ghttp.Server; add transport setting to ignore tls cert for ghttp.Client; version updates 2019-05-06 09:35:39 +08:00
f258b5bf1c change logging level from error to debug in route regitsry for struct for ghttp package; handle possible overrange usage of r.URL.Path in ghttp.Server 2019-03-31 20:52:30 +08:00
6a58bfc574 add stdout printing support for ghttp.Server logging 2019-03-28 09:34:16 +08:00
975da97b4a fix issue in empty check for nil attribute of struct in package 'empty';add set-cookie support for 302 status in ghttp.Server 2019-03-05 17:06:37 +08:00
9797701881 remove Search/InArray functions from gstr package; update custom http status handling logics of web server 2019-02-18 16:12:59 +08:00
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
be1f6cfbae Merge branch 'master' of https://gitee.com/johng/gf into develop 2019-02-01 00:02:17 +08:00
f4773ef1e4 add func ghttp.Group.Common for common http methods(GET/PUT/POST/DELETE) binding; fix issue #IRHB3,#IRHSJ; add more unit test cases for gvalid 2019-01-29 23:01:14 +08:00
141ea7cc2d ghttp updates 2019-01-24 13:50:26 +08:00
a4ad301b44 fulfil logics of Exit* funcs of ghttp 2019-01-16 20:27:58 +08:00
018853e976 optimize WebServer in hook priority handler and request exit mechanism 2019-01-13 00:43:36 +08:00
d604d198ab hot fix 2019-01-04 15:43:56 +08:00
2cff10e0d2 fix issue in controller interface definition 2018-12-26 10:17:24 +08:00
51e70be04d Add rewrite feature to WebServer; Add Unique for un sorted array of garray; Fix map conversion issue of gjson. 2018-12-10 20:24:20 +08:00
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
5e7e1077a1 性能改进 2018-11-23 09:20:45 +08:00
c89482c3d6 WebServer性能细节改进 2018-11-17 11:17:02 +08:00
b190ee9fe6 初步完成第一阶段的性能改进 2018-11-17 02:39:23 +08:00
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
61bc9dbd92 改进ghttp.Request.Exit,使得调用该方法时立即退出业务执行,开发者无需调用Exit方法时再使用return返回;glog模块增加To链式操作方法,执行下一次写入的writer 2018-11-06 18:53:25 +08:00
c4ef89eda3 改进gfile在开发环境下的main包绝对路径获取方式;ghttp.Request增加idFileServe属性 2018-10-29 13:59:06 +08:00
0c2679ae1f 修复glog.SetDebug失效问题,关闭ghttp.Server的日志信息终端显示 2018-09-18 21:29:31 +08:00
01c9c165ee 改进gcache/gqueue,提高执行效率,并完善相应的基准测试用例 2018-09-15 16:40:13 +08:00
f5ca1ab1a9 完善日志中的内容大小记录;模板引擎新增Config内置变量 2018-09-04 23:40:16 +08:00
a74c9c090c 改进cookie,去掉锁机制 2018-08-27 23:00:47 +08:00
d46b17f673 gspath改进 2018-08-26 21:36:39 +08:00
032d73d016 ghttp.Server/gspath包静态文件检索改进 2018-08-26 20:29:28 +08:00
53c86966d9 ghttp.Server静态文件处理改进,增加AddSearchPath方法,可添加自定义的静态文件w搜索路径 2018-08-26 19:42:30 +08:00
19530a0ed7 ghttp.Server修复hook与serve方法的路由影响,并新增跳转方法 2018-08-24 14:57:49 +08:00
453d8fd374 修复ghttp.Request获取参数问题 2018-08-23 10:24:14 +08:00
684e6d2940 改进Web Server静态文件与服务的优先级判断 2018-08-23 00:31:14 +08:00
13d6fc00a2 ghttp gzip特性开发中 2018-08-22 19:56:01 +08:00
7ce4f02533 增加gfcache包,改进gcfg/gview包 2018-08-21 21:18:56 +08:00
85157c8708 ghttp对象路由注册增加Init&Shut自动回调方法;ghttp增加重复路由注册检测功能;gfsnotify增加默认递归Add/Remove特性 2018-08-19 11:25:15 +08:00
1b69184999 up 2018-08-17 19:01:49 +08:00
2337b86815 改进 2018-08-16 18:17:47 +08:00
cb1c54d843 完成事件回调注册功能的改进 2018-08-03 15:22:31 +08:00
19606b8638 ghttp路由功能改进中 2018-07-29 22:01:29 +08:00
b2c4336a4a 完成ghttp.Server对WebSocket的支持,并完成测试以及对应示例 2018-06-02 23:47:16 +08:00
0f76fc932c 改进ghttp.Server静态文件检索设计,增加开发环境时的main包源码目录查找机制;改进gcfg/gview的main包源码目录查找机制 2018-05-31 12:07:31 +08:00
d8bd344b66 完成ghttp.Server热重启特性开发以及测试工作 2018-05-13 14:23:14 +08:00
7d91986931 改进ghttp包文件命名,增加gbase64示例,ghttp.Server热重启特性开发中 2018-05-06 22:35:08 +08:00