A proxy is a device or program that stands between two or more interconnected programs or devices. Reasons for a proxy include one or more connected parties only wanting the other to access specific data. A proxy provides a method for this.
1
vote
0answers
59 views
Nginx SSL proxy to squarespace.com site
I'm using SSL proxying to my squarespace.com site since they don't allow SSL. I was previously setting the HSTS header so I have some browsers that won't go to an HTTP version of my page. I need to ...
0
votes
0answers
36 views
Virtual host, apache2, mod_rewrite
I wrote this piece of code some months ago. Now, before touching it again, I would ask you if it can be improved.
Here's my code, which is in the sites-available folder
...
3
votes
1answer
225 views
Getting HTTP Status Code
I have code that take in a URL (via URL or String) and returns the status code. I am new to web development, so it is very possible that I may be taking a poor approach at this. One thing I don't ...
2
votes
0answers
53 views
Proxy pattern for supporting '… = ob[idx]->someObjMember = …' type access
I've finally got a working Proxy pattern. The original task is presented here. My test case is on coliru.
It appears to flow through the correct pathways, however I am grateful for feedback and ...
12
votes
1answer
179 views
Use of Mediator Pattern or Proxy Pattern for a game
When a Wizard casts the Monster Summoning spell, all of the summoned monsters shall follow his command. Should the Wizard interact with his summoned monsters ...
3
votes
0answers
137 views
Python proxy class
I've coded my own proxy class in python. The aim is to have a different type() but otherwise behave as identical to the underlying object as possible. I'm wondering ...
1
vote
1answer
310 views
Make a “Web-Proxy” - step-by-step
My problem with links is solved. Text challenge is to copy pictures on remote page to my own host, then replace the links in source code. Any idea?
I started creating a web proxy.
I decided to ...
5
votes
2answers
448 views
Proxy using socket, doubts on multithreading and connection closing
I'm trying to make a simple proxy server in Python using the socket library, mostly to understand how it works. I'm a noob both at programming and networking, so please be nice if my questions are ...
6
votes
1answer
688 views
HTTP Get with proxy
The code is implemented to perform HTTP get with HTTP proxy.
Future object is adopted to avoid blocking in current thread.
I'm not quite sure about the usage of HTTP connection pooling manager
and ...
8
votes
1answer
458 views
A program to proxy MDNS requests to the DNS server
I wrote a program to proxy MDNS requests in a local network to the DNS server. This is useful because in some private networks, host names ending in ".local" are configured in the DNS server. But ...
2
votes
1answer
416 views
Creating Proxy classes for immutable objects
As a bit of a learning project, I decided to take the concept of proxying objects a bit further and extend it to creating proxy classes which create proxy'd objects. I originally found the idea of ...
2
votes
1answer
213 views
Generated Code Proxy
In my library Transfuse I use a code generator to build a handful of classes that look up resources. Each of these look up classes are proxied by a static utility class so they may be referenced ...
3
votes
2answers
3k views
Casting to less generic types
The source code, or rather the concept I'd like to get reviewed is what now allows me to do the following during reflection:
...
10
votes
3answers
5k views
Ruby Koans Proxy Project
I've just finished the Ruby Koans and one of the last projects was creating a Proxy class that sends methods to another class. I was wondering whether you would change anything about my solution (if ...
2
votes
1answer
488 views
Refactor for using ChannelFactory
I use VS 2008 and .NET 3.5
I have this code using CustomChannelFactory and Proxy ServiceReference. I would like refactor using lambdas, Action, ...
any suggestions ?
...
2
votes
1answer
1k views
Hibernate proxy converter for GWT
Here's a class that converts Hibernate proxies to normal classes. This is useful with GWT for example, when sending objects loaded from database to the GWT client.
Please review it.
...
7
votes
3answers
1k views
Windows service for monitoring network interface changes
I'm currently working on several projects for my company to help reduce the amount of calls we have to deal with so we can focus on higher priority task, such as server resource reduction, etc.
The ...