Giter Site home page Giter Site logo

sgissinger / jabbernet-2010 Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 10.0 12.74 MB

A VS2010 compliancy fork of jabber-net library aiming at supporting Jingle and Jingle ICE

Home Page: http://code.google.com/p/jabber-net/

License: Other

Shell 0.01% C# 97.93% Perl 1.22% Visual Basic 0.84%

jabbernet-2010's People

Contributors

sgissinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jabbernet-2010's Issues

Does it support X-MESSENGER-OAUTH2 and X-FACEBOOK-PLATFORM Mechanisms?

Hi,
regards for the good work!
I have a question:
Is there any plan to add the following SASL mechanisms to the library?

X-MESSENGER-OAUTH2 ( for live messsenger OAuth authentication)
and X-FACEBOOK-PLATFORM ( for facebook OAuth authentication)

I think it could be a great improve to the library
thanks in advance

InvalidTokenException when intensive data exchange

When one client exchange data with approximately 500 clients consistently observed this exception. I can not understand whether it is in the library is something wrong, or Openfire sends bad packets.

Example data from log:

Recieved packet:

<iq type="r52ult" id="JN_555" from="plg">b.srv-wp" to="kropadmin@srv-wp/XPMUser"/><iq id="JN_309" type="set" from="35215401@srv-wp/client" to="kropadmin@srv-wp/XPMUser"ame>clientupdate_334_4.pack</papp:updat

Exception:

jabber.protocol.AsynchElementStream+XMLParseException: Parsing exception ---> OFFSET: 168 TYPE: 0 xpnet.InvalidTokenException: "xpnet.InvalidTokenException". в xpnet.Encoding.scanAtts(Int32 nameStart, Byte[] buf, Int32 off, Int32 end, ContentToken token) в xpnet.Encoding.scanLt(Byte[] buf, Int32 off, Int32 end, ContentToken token) в xpnet.Encoding.tokenizeContent(Byte[] buf, Int32 off, Int32 end, ContentToken token) в jabber.protocol.AsynchElementStream.Push(Byte[] buf, Int32 offset, Int32 length) в jabber.connection.SocketStanzaStream.bedrock.net.ISocketEventListener.OnRead(BaseSocket sock, Byte[] buf, Int32 offset, Int32 length)
Context:
Outer element: <iq from="plg" type="r52ult" id="JN_555">b.srv-wp" to="kropadmin@srv-wp/XPMUser"/&gt;</iq> New text (note: it's normal to see what looks like extra close tags here): <iq type="r52ult" id="JN_555" from="plg">b.srv-wp" to="kropadmin@srv-wp/XPMUser"/><iq id="JN_309" type="set" from="35215401@srv-wp/client" to="kropadmin@srv-wp/XPMUser"ame>clientupdate_334_4.pack</papp:updat

Сomments:

Where
'r52ult' should be 'result',
'from="plg">b.srv-wp' should be 'from="pubsub.srv-wp'
'to="kropadmin@srv-wp/XPMUser"' should be 'to="kropadmin@srv-wp/User"',
also strange 'ame' and strfnge ending of packet '</papp:updat'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.