Proxy server with dynamic memory buffer
AssigneeLightspeed Solutions, LLC
InventorKevin SANDERS
Life of this patent
Estimating the term…
Abstract
Aspects of this disclosure improve modification of requested web content by utilizing an expanded memory buffer of a proxy server. A method may include receiving, by a proxy, web content requested by an application of a user device; initializing, by the proxy, a memory buffer of a first size to store a header of the web content; determining, by the proxy, a set of filtering rules associated with the user of the user device; determining, by the proxy, modified web content in accordance with the set of filtering rules, wherein the determining comprises, when the filtering rules specify modification of body content of the web content, performing operations comprising: expanding the memory buffer to a second size larger than the first size. Other aspects are also disclosed.
Claims21
(canceled)
A method, comprising:
- receiving, by a proxy server, web content requested by an application of a user device;
- initializing, by the proxy server, a memory buffer of a first size, wherein the memory buffer of the first size stores a header of the web content;
- determining, by the proxy server, a set of filtering rules associated with a user of the user device;
- determining, by the proxy server, whether to modify body content of the web content based on the set of filtering rules;
- expanding, by the proxy server in response to determining that the body content of the web content is to be modified, the memory buffer to a second size larger than the first size;
- modifying, by the proxy server, in the memory buffer after expanding the memory buffer to the second size, the body content based on the set of filtering rules, without injecting a script into the body content, to form modified body content;
- and
- delivering, by the proxy server, modified web content comprising the modified body content and the header to the application of the user device.
An apparatus, comprising:
- a memory storing processor-readable code;
- at least one processor coupled to the memory, the at least one processor configured to execute the processor-readable code to cause the at least one processor to performing operations including:
- receiving, by a proxy server, web content requested by an application of a user device;
- initializing, by the proxy server, a memory buffer of a first size, wherein the memory buffer of the first size stores a header of the web content;
- determining, by the proxy server, a set of filtering rules associated with a user of the user device;
- determining, by the proxy server, whether to modify body content of the web content based on the set of filtering rules;
- expanding, by the proxy server in response to determining that the body content of the web content is to be modified, the memory buffer to a second size larger than the first size;
- modifying, by the proxy server, in the memory buffer after expanding the memory buffer to the second size, the body content based on the set of filtering rules, without injecting a script into the body content, to form modified body content;
- and
- delivering, by the proxy server, modified web content comprising the modified body content and the header to the application of the user device.
A computer program product, comprising:
- a non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising:
- receiving, by a proxy server, web content requested by an application of a user device;
- initializing, by the proxy server, a memory buffer of a first size, wherein the memory buffer of the first size stores a header of the web content;
- determining, by the proxy server, a set of filtering rules associated with a user of the user device;
- determining, by the proxy server, whether to modify body content of the web content based on the set of filtering rules;
- expanding, by the proxy server in response to determining that the body content of the web content is to be modified, the memory buffer to a second size larger than the first size;
- modifying, by the proxy server, in the memory buffer after expanding the memory buffer to the second size, the body content based on the set of filtering rules, without injecting a script into the body content, to form modified body content;
- and
- delivering, by the proxy server, modified web content comprising the modified body content and the header to the application of the user device.
Dependencies are inferred from the claim text.