资源简介
vue+ivew管理系统vue+ivew管理系统vue+ivew管理系统vue+ivew管理系统vue+ivew管理系统
代码片段和文件信息
/**
* Flash Socket Policy Apache Module.
*
* This module provides a flash socket policy file on the same port that
* serves HTTP on Apache. This can help simplify setting up a server that
* supports cross-domain communication with flash.
*
* Quick note about Apache memory handling: Data is allocated from pools and
* is not manually returned to those pools. The pools are typically considered
* short-lived and will be cleaned up automatically by Apache.
*
* @author Dave Longley
*
* Copyright (c) 2010 Digital Bazaar Inc. All rights reserved.
*/
#include “httpd.h“
#include “http_config.h“
#include “http_core.h“
#include “ap_compat.h“
#include
// length of a policy file request
#define PFR_LENGTH 23
// declare main module
module AP_MODULE_DECLARE_DATA fsp_module;
// configuration for the module
typedef struct fsp_config
{
// the cross-domain policy to serve
char* policy;
apr_size_t policy_length;
} fsp_config;
// filter state for keeping track of detected policy file requests
typedef struct filter_state
{
fsp_config* cfg;
int checked;
int found;
} filter_state;
// for registering hooks filters etc.
static void fsp_register_hooks(apr_pool_t *p);
static int fsp_pre_connection(conn_rec *c void *csd);
// filter handler declarations
static apr_status_t fsp_input_filter(
ap_filter_t* f apr_bucket_brigade* bb
ap_input_mode_t mode apr_read_type_e block apr_off_t nbytes);
static int fsp_output_filter(ap_filter_t* f apr_bucket_brigade* bb);
/**
* Registers the hooks for this module.
*
* @param p the pool to allocate from if necessary.
*/
static void fsp_register_hooks(apr_pool_t* p)
{
// registers the pre-connection hook to handle adding filters
ap_hook_pre_connection(
fsp_pre_connection NULL NULL APR_HOOK_MIDDLE);
// will parse a policy file request to be added in pre_connection
ap_register_input_filter(
“fsp_request“ fsp_input_filter
NULL AP_FTYPE_CONNECTION);
// will emit a cross-domain policy response to be added in pre_connection
ap_register_output_filter(
“fsp_response“ fsp_output_filter
NULL AP_FTYPE_CONNECTION);
}
/**
* A hook that is called before a connection is handled. This function will
* get the module configuration and add the flash socket policy filters if
* a cross-domain policy has been specified in the configuration.
*
* @param c the connection.
* @param csd the connection socket descriptor.
*
* @return OK on success.
*/
static int fsp_pre_connection(conn_rec* c void* csd)
{
// only install filters if a policy was specified in the module config
fsp_config* cfg = ap_get_module_config(
c->base_server->module_config &fsp_module);
if(cfg->policy != NULL)
{
// allocate filter state
filter_state* state = apr_palloc(c->pool sizeof(filter_state));
if(state != NULL)
{
// initialize state
state->cfg = cfg;
state->checked = state->found = 0;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 72 2017-12-14 15:00 .babelrc
文件 147 2017-12-14 15:00 .editorconfig
文件 127 2017-12-14 15:00 .gitignore
目录 0 2018-01-08 15:35 assets\
目录 0 2018-02-07 09:17 assets\css\
文件 1604 2018-01-31 11:13 assets\css\login.css
文件 943 2018-02-07 09:17 assets\css\main.css
文件 93 2017-12-29 16:44 assets\css\menu.css
文件 584 2018-02-06 15:48 assets\css\projectList.css
目录 0 2018-02-07 09:17 assets\img\
文件 3717 2017-12-25 15:31 assets\img\favicon.png
文件 1193 2018-02-06 15:48 assets\img\Gis.png
文件 1415 2018-02-06 15:48 assets\img\Gis1.png
文件 702179 2017-12-25 15:44 assets\img\loginbg.png
文件 3170 2017-12-25 15:34 assets\img\logo.png
文件 1862 2018-01-10 11:41 assets\img\noImg.png
文件 834 2018-02-06 15:48 assets\img\plan.png
文件 1066 2018-01-31 11:13 assets\img\qqIcon.png
文件 29923 2018-02-07 09:17 assets\img\u30.png
文件 880 2018-01-31 11:13 assets\img\wechat.png
文件 130902 2018-02-06 15:48 assets\img\工程特性表.jpg
文件 126193 2018-02-06 15:48 assets\img\投资估算表.png
文件 50531 2018-01-18 10:21 BIMWeb.njsproj
目录 0 2018-01-09 10:32 dist\
文件 366750 2018-01-11 13:55 dist\build.js
文件 1770725 2018-01-11 13:55 dist\build.js.map
文件 2886 2018-01-11 13:55 dist\collapse.png
文件 2894 2018-01-11 13:55 dist\expand.png
文件 3717 2018-01-11 13:55 dist\favicon.png
文件 303717 2018-01-11 13:55 dist\iconfont.svg
文件 701 2018-01-11 13:55 dist\loading.gif
............此处省略15696个文件信息
相关资源
- 前端Vue+Node+MongoDB高级全栈开发
- vue实现导出Excel的两个js文件-Blob+Exp
- Blob.js+Export2Excel.js
- 关于Vue组件库开发详析
- reportdesign基于lodop的vue简单打印设计工
- SpringBoot +vue 框架项目.zip
- springboot+vue.js搭建图书管理系统开源项
- springboot+mybatis后台vue.js实现前端的音
- 基于vue20构建的在线电影网film
- vuekanban一个基于vue的可拖放kanbanboar
- vue26elementUI汽车管理系统demo
- 基于vue实现一个社交网站开发
- Vue25仿去哪儿网
- 一个以vuejs为前端框架的问卷调查平台
- vue高仿知乎日报单页面应用技术栈v
- 基于vue20的微商城
- SystemVue仿真指导
- SysemVue Examples (SystemVue )
- 银行Logo银行列表银行名称银行编码
- Vue2.x 全家桶+Vant 搭建大型单页面电商
- 用vue写的公众号
- vue.js 快速入门(申思维) 配套源代码
- 2018尚硅谷10月最新全套打包视频网盘
- SpringBoot整合Vue最佳实践
- Vue2电影站源码
- 基于Vue的仓库管理前端工程
- Systemvue系统仿真技术应用讲义.pdf
- Fullstack Vue The Complete Guide to Vue.js 源码
- VueCli3.0全栈项目-资金管理系统带权限
- 最新尚硅谷全套,包含VUE.JS
评论
共有 条评论