未收到与LT;政策性文件的请求/>开弦从闪存安全套接字时 [英] Not receiving <policy-file-request/> string when opening a secure socket from flash

查看:163
本文介绍了未收到与LT;政策性文件的请求/>开弦从闪存安全套接字时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序试图打开一个Web服务器上的安全套接字连接。我主持了一个小的code表示服务器端口843作为是为了使套接字连接所需的Flash Player中的策略文件。但我不接受指定的字符串<政策性文件的请求/> ,代替它我得到在安全发送到端口443的第一个字符串套接字连接。

I have an app that is trying to open a secure socket connection on a web server. I hosted a small code that servers the policy file on port 843 as is required by flash player in order to make the socket connection. But i am not receiving the specified string <policy-file-request/>, in place of it i am getting the first string that is sent to port 443 during secure socket connection.

该卡插槽策略服务器正在采取更多的时间比实际开发过程中。 请提供一些线索。

This flash socket policy server is taking more time than actual development process. Please shed some light.

推荐答案

它看起来像,以服务策略文件,以确保插座必须打开服务器端安全套接字,一个正常的TCP套接字不会帮助。虽然我仍然不知道为什么我们还要为通过SSL策略文件,它只是一种方法来检查是否允许连接。无论如何,如果你被卡住继续前进,实现对服务器端的安全套接字。

it looks like in order to serve a policy file to secure socket you have to open secure socket on server side, a normal tcp socket wont help. Although i still have no idea why do we have to serve the policy file over SSL, it's just a way to check if the connection is allowed. anyway if you are stuck go ahead and implement a secure socket on server side.

这篇关于未收到与LT;政策性文件的请求/&GT;开弦从闪存安全套接字时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆