All Questions
Real Time Updates hard

According to RFC 6455, why must clients Mask (XOR) the payload of frames sent to the server?

  1. A To compress the data.
  2. B To encrypt the data against hackers.
  3. C To prevent 'Cache Poisoning' attacks on intermediate proxies. If a proxy sees cleartext looks like an HTTP response inside a WS frame, it might cache it incorrectly.
  4. D To increase transmission speed.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions